/* Landing Page Specific Styles */

/* BMaC Banner */
.bmac-banner {
    background: linear-gradient(90deg, #4752c4, #5865f2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    width: 100%;
    z-index: 1002;
}

.bmac-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
}

.bmac-emoji {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bmac-banner p {
    margin: 0;
    font-size: 0.85rem;
    white-space: nowrap;
}

.bmac-banner a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bmac-banner a:hover {
    color: #c7d0ff;
}

.bmac-banner-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    opacity: 0.7;
    margin-left: 0.5rem;
}

.bmac-banner-close:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px;
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
}

.hero.hero-compact {
    padding: 50px 20px;
    min-height: auto;
}

.hero-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #5865f2 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(88, 101, 242, 0.3);
    white-space: nowrap;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Sections */
.about-section {
    padding: 60px 20px;
    width: 100%;
}

.about-section > .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #5865f2 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Category Sections */
.category-section {
    margin-bottom: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    padding: 12px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-primary);
    position: relative;
    width: 100%;
}

.category-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #5865f2 0%, #7c3aed 100%);
    border-radius: 2px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--border-color);
    z-index: -1;
}

/* Features Grid — even rows, centered; max-width set per-grid by JS */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.features-grid .feature-card {
    flex: 0 0 230px;
    max-width: 250px;
    text-align: center;
}

/* Force exactly 4 cards per row */
.features-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
}
.features-grid-4col .feature-card {
    flex: unset;
    max-width: unset;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-card-link {
    text-decoration: none;
}

.feature-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, #5865f2 0%, #7c3aed 100%);
    color: #ffffff;
}

.feature-badge.coming-soon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.feature-badge.disabled {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Disabled/Coming Soon Cards */
.feature-card-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.feature-card-disabled:hover {
    transform: none;
    border-color: var(--border-color);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card-disabled h3 {
    color: var(--text-secondary);
}

/* Supporter Stickers */
.supporter-stickers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.supporter-sticker {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    backdrop-filter: blur(6px);
    animation: sticker-float var(--float-duration, 4s) ease-in-out var(--float-delay, 0s) infinite;
    pointer-events: auto;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.6s ease, border-color 0.15s, background 0.15s;
}

.supporter-sticker:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.5);
}

.supporter-sticker.visible {
    opacity: 1;
}

.sticker-coffee {
    font-size: 1rem;
    flex-shrink: 0;
}

.sticker-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sticker-name {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.sticker-label {
    font-size: 0.6rem;
    color: #fbbf24;
    opacity: 0.8;
    letter-spacing: 0.02em;
}

.sticker-count {
    color: #f97316;
    font-size: 0.72rem;
    font-weight: 600;
}

@keyframes sticker-float {
    0%, 100% { transform: translateY(0px) rotate(var(--float-tilt, 0deg)); }
    50% { transform: translateY(-8px) rotate(var(--float-tilt, 0deg)); }
}


/* Mobile */
@media (max-width: 768px) {
    .bmac-banner p {
        font-size: 0.75rem;
        white-space: normal;
        line-height: 1.4;
    }

    .supporter-stickers {
        display: none;
    }

    .hero {
        padding: 40px 20px;
        height: auto;
        min-height: calc(100vh - 60px);
    }

    .hero-tagline {
        font-size: 2rem;
        white-space: normal;
        line-height: 1.25;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid .feature-card {
        flex: 0 1 calc(50% - 15px);
        max-width: none;
    }
    .features-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    .category-section {
        margin-bottom: 36px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 15px;
        height: auto;
        min-height: calc(100vh - 60px);
    }

    .hero-tagline {
        font-size: 1.5rem;
        white-space: normal;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .features-grid .feature-card {
        flex: 0 1 calc(50% - 10px);
        max-width: none;
    }

    .features-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        padding: 16px 12px;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .feature-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .about-section {
        padding: 40px 12px;
    }

    .category-title {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }
}
