/* Mobile Styles (Max-width: 767px) */

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1020;
    width: 100%;
}

/* Hero Alignment */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Alignment */
    align-items: center;
    /* Alignment */
    min-height: 85vh;
    /* Sizing */
    padding: 1rem;
}

/* Toast Adjustments for Mobile */
.toast-container-custom {
    top: 10px;
    right: 10px;
    left: 10px;
    /* Full width feel or constrained */
    align-items: center;
    /* Center them visually */
}

.toast-theme {
    min-width: 0;
    /* Override default 300px */
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.toast-icon {
    font-size: 1.25rem;
    margin-right: 8px;
}

/* Spacing */

.card-premium,
.card-theme {
    width: 100%;
    margin: 0 auto;
}

.home-hero {
    justify-content: flex-start;
    padding-top: 60px;
    /* Move card up on mobile */
    align-items: center;
}

/* Profile Stats Mobile Adjustment */
.stat-box .h4 {
    font-size: 1.0rem !important;
    /* Targeting class .h4, reduced to 1rem */
}

/* Navbar Logo Size */
.navbar-brand img {
    height: 35px;
    /* Sizing */
}

/* Mobile Bottom Nav Layout */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* Gradient applied inline in layout.ejs, fallback here */
    background-color: #690d41;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 1000;
}

.nav-item-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    text-decoration: none;
}

.nav-icon {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

/* Dropdown override for mobile bottom nav */
.bottom-nav .dropdown-menu {
    bottom: 100%;
    top: auto;
    margin-bottom: 0.5rem;
}

.dropdown-toggle-no-caret::after {
    display: none !important;
}

/* Join Card Mobile Overrides */
.join-card {
    padding: 6px 6px 6px 16px;
    margin-bottom: 2rem;
}

.join-label {
    font-size: 0.9rem;
    margin-right: 12px;
}

.join-input {
    padding: 6px 12px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.join-input::placeholder {
    letter-spacing: 1px;
}

.btn-join-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
}