/* Stake Leaderboard Styles */

/* SEO Content - Hidden but readable by search engines */
.seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    position: relative;
}

/* Logo - Fixed */
.logo {
    position: fixed;
    top: 20px;
    right: 90px;
    width: 80px;
    height: 80px;
    z-index: 1000;
    transition: transform 0.3s ease;
    display: block;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 80px;
}

.title {
    font-size: 80px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Tabs Navigation */
.tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tab-btn.active {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

/* Tab Content */
.tab-content {
    margin-top: 40px;
}

.tab-panel {
    text-align: center;
}

.tab-panel h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.tab-panel p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
}

.code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 16px;
    border-radius: 4px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    margin: 0 4px;
}

.highlight {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 16px 0 !important;
}

.small-text {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

.signup-btn {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 24px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signup-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Winner Cards */
.winners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.winner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
}

.winner-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

/* Big Numbers */
.winner-number {
    font-size: 72px;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    line-height: 1;
    margin-bottom: 12px;
}

.rank-1 {
    color: #FFD700;
    text-shadow: 
        0 0 20px #FFD700,
        0 0 40px #FFD700,
        0 0 60px #FFD700,
        3px 3px 0px rgba(0, 0, 0, 0.5);
}

.rank-2 {
    color: #C0C0C0;
    text-shadow: 
        0 0 20px #C0C0C0,
        0 0 40px #C0C0C0,
        0 0 60px #C0C0C0,
        3px 3px 0px rgba(0, 0, 0, 0.5);
}

.rank-3 {
    color: #CD7F32;
    text-shadow: 
        0 0 20px #CD7F32,
        0 0 40px #CD7F32,
        0 0 60px #CD7F32,
        3px 3px 0px rgba(0, 0, 0, 0.5);
}

.winner-rank {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.winner-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
}

.winner-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

/* Leaderboard */
.leaderboard-container {
    margin-top: 80px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -1px;
}

.leaderboard-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 32px;
    letter-spacing: -1px;
}

.leaderboard {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 80px 1fr 200px 200px;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 1px;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 80px 1fr 200px 200px;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.rank {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.player {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
}

.player-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.wager, .prize {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* Mirror Sites */
.mirror-subtitle {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 32px !important;
}

.mirror-table {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mirror-header {
    display: grid;
    grid-template-columns: 1fr 120px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mirror-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
}

.mirror-row:last-child {
    border-bottom: none;
}

.mirror-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mirror-col-site {
    text-align: left;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.mirror-row:hover .mirror-col-site {
    color: #ffffff;
}

.mirror-col-status {
    text-align: center;
}

.status-online {
    color: #00ff41;
    font-weight: 600;
    font-size: 14px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Referral Section */
.bonuses-section {
    margin: 80px 0;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.bonus-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.free-bonus {
    border-color: rgba(76, 175, 80, 0.4);
}

.free-bonus:hover {
    border-color: rgba(76, 175, 80, 0.6);
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.2);
}

.deposit-bonus {
    border-color: rgba(33, 150, 243, 0.4);
}

.deposit-bonus:hover {
    border-color: rgba(33, 150, 243, 0.6);
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.2);
}

.referral-bonus {
    border-color: rgba(255, 215, 0, 0.4);
}

.referral-bonus:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.bonus-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bonus-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.bonus-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.bonus-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.bonus-features {
    margin-bottom: 24px;
    text-align: left;
}

.feature {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature:last-child {
    border-bottom: none;
}

.bonus-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.bonus-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.twitter-btn {
    background: rgba(29, 161, 242, 0.1);
    color: #1DA1F2;
    border: 2px solid #1DA1F2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.twitter-btn:hover {
    background: rgba(29, 161, 242, 0.2);
}

.bonuses-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.bonuses-note svg {
    flex-shrink: 0;
}

.referral-section {
    margin: 80px 0 60px;
}

.referral-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.referral-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.referral-icon {
    font-size: 64px;
    margin-bottom: 24px;
    animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.referral-title {
    font-size: 36px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.referral-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.twitter-handle {
    color: #1DA1F2;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(29, 161, 242, 0.1);
}

.twitter-handle:hover {
    background: rgba(29, 161, 242, 0.2);
    text-shadow: 0 0 10px rgba(29, 161, 242, 0.5);
}

.referral-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.referral-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.referral-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-4px);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.referral-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.referral-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.referral-btn.primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

.referral-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.6);
}

.referral-btn.secondary {
    background: rgba(29, 161, 242, 0.1);
    color: #1DA1F2;
    border: 2px solid #1DA1F2;
}

.referral-btn.secondary:hover {
    background: rgba(29, 161, 242, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 161, 242, 0.3);
}

.referral-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.referral-note svg {
    flex-shrink: 0;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Loading animation */
.winner-card .winner-name,
.winner-card .stat-value {
    transition: opacity 0.3s ease;
}

.winner-card[data-loading="true"] .winner-name,
.winner-card[data-loading="true"] .stat-value {
    opacity: 0.3;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Mobile */
@media (max-width: 968px) {
    .container {
        padding: 40px 16px;
    }

    .logo {
        width: 60px;
        height: 60px;
        top: 15px;
        right: 15px;
    }

    .title {
        font-size: 56px;
        padding-right: 70px;
    }

    .subtitle {
        font-size: 14px;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 8px;
    }

    .tab-btn {
        font-size: 12px;
        padding: 12px 20px;
        flex: 1 1 45%;
        text-align: center;
        min-width: 140px;
    }

    .tab-panel h3 {
        font-size: 20px;
    }

    .tab-panel p {
        font-size: 14px;
    }

    .code {
        font-size: 16px;
        padding: 4px 12px;
    }

    .highlight {
        font-size: 22px !important;
    }

    .signup-btn {
        font-size: 14px;
        padding: 14px 32px;
        width: 100%;
        max-width: 300px;
    }

    .winners {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }

    .winner-card {
        padding: 32px 24px;
    }

    .winner-number {
        font-size: 56px;
    }

    .winner-name {
        font-size: 20px;
    }

    .stat-value {
        font-size: 16px;
    }

    .countdown {
        gap: 16px;
        flex-wrap: wrap;
    }

    .countdown-item {
        flex: 1 1 40%;
        min-width: 80px;
    }

    .countdown-value {
        font-size: 36px;
    }

    .countdown-label {
        font-size: 10px;
    }

    .leaderboard-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 40px 1fr 85px 85px;
        padding: 14px 12px;
        font-size: 13px;
        gap: 8px;
    }

    .leaderboard-header {
        font-size: 10px;
        padding: 16px 12px;
    }

    .rank {
        font-size: 15px;
        font-weight: 800;
    }

    .avatar {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .player {
        gap: 8px;
    }

    .player-name {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wager {
        font-size: 12px;
        text-align: right;
    }

    .prize {
        font-size: 12px;
        font-weight: 700;
        text-align: right;
    }

    .mirror-subtitle {
        font-size: 14px !important;
    }

    .mirror-table {
        border-radius: 8px;
    }

    .mirror-header,
    .mirror-row {
        padding: 14px 16px;
        font-size: 14px;
    }

    .mirror-header {
        font-size: 12px;
    }

    .mirror-col-site {
        font-size: 14px;
    }

    .status-online {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 8px;
    }

    .logo {
        width: 50px;
        height: 50px;
        top: 12px;
        right: 12px;
    }

    .title {
        font-size: 42px;
        padding-right: 60px;
    }

    .subtitle {
        font-size: 12px;
    }

    .tab-btn {
        font-size: 11px;
        padding: 10px 12px;
        flex: 1 1 100%;
        min-width: auto;
    }

    .tab-panel h3 {
        font-size: 18px;
    }

    .code {
        font-size: 14px;
    }

    .highlight {
        font-size: 20px !important;
    }

    .signup-btn {
        font-size: 13px;
        padding: 12px 24px;
    }

    .winner-number {
        font-size: 48px;
    }

    .winner-name {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .countdown-value {
        font-size: 32px;
    }

    .leaderboard-section {
        margin: 0 -8px;
    }

    .leaderboard {
        border-radius: 8px;
        overflow-x: auto;
    }

    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 35px 1fr 70px 70px;
        padding: 12px 8px;
        font-size: 12px;
        gap: 6px;
    }

    .leaderboard-header {
        font-size: 9px;
        padding: 14px 8px;
    }

    .rank {
        font-size: 13px;
    }

    .avatar {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .player {
        gap: 6px;
        min-width: 0;
    }

    .player-name {
        font-size: 11px;
    }

    .wager {
        font-size: 10px;
    }

    .prize {
        font-size: 11px;
        font-weight: 800;
    }

    .mirror-col-site {
        font-size: 13px;
    }
    
    .referral-section {
        margin: 60px 0 40px;
    }
    
    .referral-card {
        padding: 32px 20px;
        border-radius: 16px;
    }
    
    .referral-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .referral-title {
        font-size: 28px;
    }
    
    .referral-description {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .referral-steps {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .referral-step {
        padding: 20px 16px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .step-title {
        font-size: 16px;
    }
    
    .step-desc {
        font-size: 13px;
    }
    
    .referral-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .referral-btn {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 14px 24px;
    }
    
    .referral-note {
        font-size: 12px;
        text-align: left;
    }
    
    .bonuses-section {
        margin: 60px 0 40px;
    }
    
    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bonus-card {
        padding: 28px 20px;
    }
    
    .bonus-icon {
        font-size: 48px;
    }
    
    .bonus-title {
        font-size: 20px;
    }
    
    .bonus-description {
        font-size: 13px;
    }
    
    .bonus-btn {
        font-size: 13px;
        padding: 12px 20px;
    }
    
    .bonuses-note {
        flex-direction: column;
        text-align: left;
        font-size: 12px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .leaderboard-container {
        margin-top: 60px;
    }
}

/* Loading Screen - COMPLETELY DISABLED */
.loading-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.loading-spinner,
.loading-text {
    display: none !important;
}

/* Mobile Logo Fix */
@media (max-width: 768px) {
    .logo {
        width: 60px;
        height: 60px;
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 50px;
        height: 50px;
        top: 12px;
        right: 12px;
    }
}

/* UI Overlap Fixes */
.header {
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
    padding-top: 20px;
}

.bonuses-section {
    position: relative;
    z-index: 1;
    clear: both;
    margin-top: 60px;
    margin-bottom: 60px;
}

.leaderboard-container {
    position: relative;
    z-index: 1;
    clear: both;
}

.winners {
    position: relative;
    z-index: 2;
    margin: 60px 0;
}

.winner-card {
    position: relative;
    z-index: 1;
}

.leaderboard-section {
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

/* Prevent Text Overlap */
.section-title {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.bonus-grid {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.bonus-card {
    position: relative;
    z-index: 1;
}

/* Clear Floats */
.bonuses-section::after,
.leaderboard-container::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 768px) {
    .header {
        margin-bottom: 60px;
    }
    
    .bonuses-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .winners {
        margin: 40px 0;
    }
}

/* 모바일 로고 위치 조정 */
@media (max-width: 768px) {
    .logo {
        width: 60px;
        height: 60px;
        top: 16px;
        right: 70px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 50px;
        height: 50px;
        top: 12px;
        right: 60px;
    }
}

/* 보너스 그리드 완전 수정 */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.bonus-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.bonus-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.bonus-badge.free-bonus { background: rgba(0, 255, 0, 0.2); color: #00ff00; }
.bonus-badge.deposit-bonus { background: rgba(255, 215, 0, 0.2); color: #FFD700; }
.bonus-badge.referral-bonus { background: rgba(0, 136, 204, 0.2); color: #0088cc; }

.bonus-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.bonus-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.bonus-features {
    margin-bottom: 24px;
    text-align: left;
}

.feature {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature:last-child {
    border-bottom: none;
}

.bonus-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.bonus-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.bonus-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.bonus-actions .bonus-btn {
    margin-top: 0;
}

.telegram-btn {
    background: rgba(0, 136, 204, 0.2) !important;
    color: #0088cc !important;
    border: 2px solid #0088cc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.telegram-btn:hover {
    background: rgba(0, 136, 204, 0.3) !important;
}

.code {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bonus-card {
        padding: 28px 24px;
    }
}

/* Sign Up Button */
.signup-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.signup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .signup-btn {
        padding: 14px 40px;
        font-size: 15px;
    }
}

/* 배지 제거 후 여백 조정 */
.bonus-card {
    padding-top: 32px;
}

.bonus-badge {
    display: none !important;
}


body {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}
