* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-bg: #050505;
    --secondary-bg: #0a0a0a;
    --card-bg: #151515;
    --accent-gold: #FF8C00;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #2a2a2a;
    --gradient-primary: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    --gradient-card: linear-gradient(145deg, #151515 0%, #0a0a0a 100%);
    --shadow-main: 0 20px 60px rgba(0, 0, 0, 0.6);
}

body {
    background: linear-gradient(135deg, 
        #000000 0%, 
        #0a0a0a 25%, 
        #1a1a1a 50%, 
        #2a2a2a 75%, 
        #1a1a1a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 15px 0 0 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 140, 0, 0.3);
    z-index: 1000;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 900;
    color: #FF8C00;
    letter-spacing: 3px;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.navbar-menu {
    display: flex;
    gap: 30px;
    padding: 5px 0 15px 0;
}

.navbar-link {
    color: #999999;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.navbar-link:hover {
    color: #cccccc;
}

.navbar-link.active {
    color: #FF8C00;
}

.coin-rain-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    perspective: 1200px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.falling-coin {
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
    will-change: transform;
    z-index: 0;
}

.coin-3d {
    position: relative;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
}

.coin-side {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        #fff6a5 0%, #ffd700 15%, #ffed4e 30%, #ffd700 45%, 
        #daa520 60%, #b8860b 80%, #8b6914 100%);
    border: 1px solid #8b6914;
    box-shadow: 
        inset 0 0 8px rgba(255, 140, 0, 0.7),
        inset -3px -3px 8px rgba(139, 105, 20, 0.3),
        0 3px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #654321;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    backface-visibility: hidden;
}

.coin-front { transform: translateZ(1px); }
.coin-back { transform: translateZ(-1px) rotateY(180deg); }

.size-tiny { width: 12px; height: 12px; }
.size-tiny .coin-side { font-size: 6px; opacity: 0.4; }
.size-small { width: 18px; height: 18px; }
.size-small .coin-side { font-size: 9px; opacity: 0.5; }
.size-medium { width: 25px; height: 25px; }
.size-medium .coin-side { font-size: 12px; opacity: 0.6; }
.size-large { width: 35px; height: 35px; }
.size-large .coin-side { font-size: 16px; opacity: 0.7; }
.size-huge { width: 45px; height: 45px; }
.size-huge .coin-side { font-size: 22px; opacity: 0.8; }

.main-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.bonuses-section {
    padding: 160px 0 60px 0;
    background: rgba(17, 17, 17, 0.4);
    min-height: calc(100vh - 120px);
}

.section-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stats-timeline {
    display: none;
    background: rgba(26, 26, 26, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: var(--shadow-main);
    border: 1px solid rgba(255, 140, 0, 0.1);
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 50px;
}

.timeline-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.timeline-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

.horizontal-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 12px;
    right: 12px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-point {
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-point:hover {
    transform: translateY(-5px);
}

.timeline-point.expanded .point-details {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
    margin-top: 10px;
}

.point-details {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 0;
}

.current-point .point-total-box .total-amount {
    color: var(--accent-gold);
    font-style: italic;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.breakdown-item:last-child {
    margin-bottom: 0;
}

.platform-name {
    color: var(--text-secondary);
}

.platform-amount {
    color: var(--accent-gold);
    font-weight: 600;
}

.point-marker {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-point:hover .point-marker {
    width: 32px;
    height: 32px;
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.current-point .point-marker {
    animation: pulse-glow 2s infinite;
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 140, 0, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.8);
        transform: scale(1.1);
    }
}

.point-year {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    white-space: nowrap;
}

.point-total-box {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 10px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 80px;
    max-width: 100px;
}

.point-total-box:hover {
    border-color: var(--accent-gold);
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
}

.total-amount {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.expand-arrow {
    font-size: 0.6rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    display: block;
}

.timeline-point.expanded .expand-arrow {
    transform: rotate(180deg);
}



.bonuses-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(26, 26, 26, 0.4);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-main);
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.bonus-card {
    background: var(--gradient-card);
    border-radius: 12px;
    padding: 25px 18px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 120px;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.bonus-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2);
}

.bonus-card:hover::before {
    transform: scaleX(1);
}

.bonus-logo {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.bonus-card:hover .bonus-logo {
    border-color: var(--accent-gold);
}

.bonus-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonus-content {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-grow: 1;
}

.bonus-requirements, .bonus-rewards {
    flex: 1;
}

.bonus-requirements h4, .bonus-rewards h4 {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-weight: 800;
}

.bonus-requirements-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.requirement-tag {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.rewards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rewards-list li {
    color: var(--text-primary);
    font-size: 0.8rem;
    margin-bottom: 2px;
    line-height: 1.2;
}

.bonus-action {
    flex-shrink: 0;
    margin-left: auto;
}

.bonus-button {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.bonus-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.bonus-button-disabled {
    background: linear-gradient(135deg, #666666 0%, #555555 100%);
    color: #999999;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.no-bonuses-container {
    text-align: center;
    padding: 40px 20px;
    background: rgba(26, 26, 26, 0.3);
    border-radius: 20px;
    box-shadow: var(--shadow-main);
    border: 1px solid rgba(255, 140, 0, 0.1);
}


@media (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
    }

    .navbar-menu {
        gap: 15px;
        justify-content: center;
    }

    .navbar-link {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .section-container {
        padding: 0 20px;
    }

    .bonuses-section {
        padding: 140px 0 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline-title {
        font-size: 1.5rem;
    }

    .timeline-subtitle {
        font-size: 1rem;
    }

    .stats-timeline {
        padding: 25px;
        margin-top: 20px;
    }

    .horizontal-timeline {
        flex-direction: column;
        gap: 30px;
        padding: 20px 0;
    }

    .timeline-line {
        display: none;
    }

    .timeline-point {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 20px;
        background: var(--gradient-card);
        border-radius: 15px;
        border: 1px solid var(--border-color);
        position: relative;
    }

    .timeline-point:hover {
        transform: translateY(-2px);
        border-color: var(--accent-gold);
    }

    .timeline-point.active {
        border-color: var(--accent-gold);
    }

    .timeline-point.expanded .point-details {
        max-height: 200px;
        opacity: 1;
        margin-top: 10px;
    }

    .point-total-box {
        width: 100%;
        margin-top: 10px;
    }

    .point-marker {
        position: static;
        margin-bottom: 10px;
    }

    .point-year {
        position: static;
        transform: none;
        margin-bottom: 5px;
    }

    .point-amount {
        margin-top: 0;
    }

    .bonuses-grid {
        padding: 15px;
    }

    .bonus-card {
        padding: 18px;
        flex-direction: column;
        gap: 15px;
    }

    .bonus-logo {
        width: 50px;
        height: 50px;
    }

    .bonus-content {
        flex-direction: column;
        gap: 15px;
    }

    .bonus-action {
        margin-left: 0;
        justify-content: center;
    }

    .bonus-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .coin-side {
        opacity: 0.3 !important;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
