:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(20, 20, 30, 0.8);
    --neon-cyan: #00ffff;
    --neon-purple: #ff00ff;
    --neon-pink: #ff0080;
    --neon-blue: #0080ff;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 128, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.95) 0%, rgba(10, 10, 15, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    gap: 2rem;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

/* Header Social Links */
.header-social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.header-social-link:hover {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.header-social-link svg {
    width: 18px;
    height: 18px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sponsor Grid */
.sponsors-grid {
    margin-top: 2rem;
}

.grid-row {
    margin-bottom: 3rem;
}

.row-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.row-title::before,
.row-title::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), transparent);
    transform: translateY(-50%);
    flex: 1;
}

.row-title::before {
    left: 0;
    right: calc(50% + 100px);
    background: linear-gradient(90deg, transparent, var(--neon-purple));
}

.row-title::after {
    left: calc(50% + 100px);
    right: 0;
    background: linear-gradient(270deg, transparent, var(--neon-purple));
}

.sponsors-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sponsors-row.cols-1 { grid-template-columns: repeat(1, 1fr); }
.sponsors-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
.sponsors-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.sponsors-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.sponsors-row.cols-5 { grid-template-columns: repeat(5, 1fr); }
.sponsors-row.cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Sponsor Card */
.sponsor-card {
    background: rgba(10, 10, 20, 0.8);
    border: 2px solid;
    border-radius: 12px;
    padding: 1.2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    backdrop-filter: blur(5px);
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.sponsor-card:hover::before {
    opacity: 1;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    filter: brightness(1.1);
}

.sponsor-card[style*="00ffff"] {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.sponsor-card[style*="00ffff"]:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

.sponsor-card[style*="ff00ff"] {
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.sponsor-card[style*="ff00ff"]:hover {
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.5);
}

.sponsor-card[style*="ff0080"] {
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.3);
}

.sponsor-card[style*="ff0080"]:hover {
    box-shadow: 0 0 25px rgba(255, 0, 128, 0.5);
}

.sponsor-card[style*="0080ff"] {
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.3);
}

.sponsor-card[style*="0080ff"]:hover {
    box-shadow: 0 0 25px rgba(0, 128, 255, 0.5);
}

.sponsor-card[style*="ffd700"] {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.sponsor-card[style*="ffd700"]:hover {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

.sponsor-card[style*="ff4500"] {
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
}

.sponsor-card[style*="ff4500"]:hover {
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.5);
}

.sponsor-card[style*="00ff00"] {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.sponsor-card[style*="00ff00"]:hover {
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
}

.sponsor-logo {
    width: 100%;
    max-width: 140px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 0.8rem;
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

.sponsor-card:hover .sponsor-logo {
    filter: brightness(1.3);
}

.sponsor-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sponsor-bonus {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}


/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-right {
    display: flex;
    align-items: center;
}

.copyright-text {
    color: var(--text-secondary);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--neon-cyan);
    transform: translateY(-3px);
    filter: drop-shadow(0 5px 15px rgba(0, 255, 255, 0.5));
}

/* Frog Media Credit */
.frog-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.frog-credit:hover {
    color: var(--neon-cyan);
    transform: translateX(-5px);
}

.frog-logo {
    height: 30px;
    width: auto;
    filter: invert(100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.frog-credit:hover .frog-logo {
    opacity: 1;
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 255, 255, 0.1);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 0;
    }
    
    /* Logo at the top */
    .logo {
        order: 1;
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    /* Navigation in the middle */
    .header-nav {
        order: 2;
        flex: unset;
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }
    
    /* Social links at the bottom */
    .header-social-links {
        order: 3;
        display: flex;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .header-social-link {
        width: 32px;
        height: 32px;
    }
    
    .header-social-link svg {
        width: 16px;
        height: 16px;
    }
    
    /* Keep exact grid columns on mobile */
    .sponsors-row {
        gap: 0.8rem;
    }
    
    /* Make sponsor cards smaller on mobile to fit */
    .sponsor-card {
        padding: 0.6rem 0.4rem;
        min-height: 70px;
    }
    
    .sponsor-logo {
        max-height: none;
        height: 100%;
        width: 100%;
        max-width: 100%;
    }
    
    .sponsor-name {
        font-size: 0.75rem;
        margin-top: 0.3rem;
    }
    
    .sponsor-bonus {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        margin-top: 0.3rem;
    }
    
    .footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    
    .footer-left {
        align-items: center;
        order: 2;
    }
    
    .footer-right {
        width: 100%;
        justify-content: center;
        order: 1;
        margin-bottom: 0.5rem;
    }
    
    .copyright-text {
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    .frog-credit {
        font-size: 0.85rem;
    }
    
    .frog-logo {
        height: 25px;
    }
}

/* Advertisement Button Styles */
.ad-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.ad-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
}

.ad-button-text {
    position: relative;
    z-index: 1;
}

.ad-button-icon {
    font-size: 18px;
    animation: bounce 1s infinite;
}

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

.nav-menu li {
    display: flex;
    align-items: center;
}

.header-ad-button {
    margin-left: 0;
}

.footer-ad-container {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer-ad-button {
    font-size: 16px;
    padding: 12px 24px;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
    }
    
    .nav-menu li {
        flex: 0 0 auto;
    }
    
    .header-ad-button {
        margin: 0;
        font-size: 12px;
        padding: 6px 12px;
        display: inline-flex;
    }
    
    .ad-button-text {
        display: inline; /* Keep text visible on mobile */
        font-size: 11px;
    }
    
    .ad-button-icon {
        font-size: 14px;
    }
}