@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Ubuntu:wght@300;400;500;700&family=Russo+One&display=swap');

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

:root {
  --primary: #D3FF5F;
  --secondary: #7AFFB0;
  --accent: #00B894;
  --background-dark: #121212;
  --text-white: #FFFFFF;
  --text-muted: #A0A0A0;
  --transition-speed: 0.5s;
}

body, html {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    font-family: 'Russo One', sans-serif;
    color: var(--text-white);
    position: relative;
    margin: 0;
    padding: 0;
}

html {
    height: auto;
    overflow-y: auto;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.loading-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    z-index: 2;
}

/* Menu Toggle */
.menu-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.8rem 1.5rem;
    font-family: 'Russo One', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    z-index: 100;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-toggle:hover {
    background: var(--primary);
    color: var(--background-dark);
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.98) 0%, rgba(0, 24, 38, 0.98) 100%);
    backdrop-filter: blur(10px);
    z-index: 99;
    transition: top var(--transition-speed) ease-in-out;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-menu.active {
    top: 0;
}

.menu-container {
    display: flex;
    max-width: 1400px;
    width: 100%;
    gap: 4rem;
    padding: 2rem;
}

/* Left Menu */
.menu-left {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 4rem;
}

.menu-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-left .menu-item {
    display: block;
    color: var(--text-white);
    text-decoration: none;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0.8rem 0;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
    opacity: 0.9;
    line-height: 1.2;
}

.menu-left .menu-item:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateX(10px);
}

.menu-left .menu-item.active {
    color: var(--primary);
    opacity: 1;
}

.menu-left .menu-item.active:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateX(10px);
}

.leaderboard-item > .menu-item {
    pointer-events: none;
}

.leaderboard-item > .menu-item:hover {
    transform: none !important;
    cursor: default;
}

.leaderboard-item {
    margin-top: 1.5rem;
}

.partner-logos {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
    padding-left: 0.5rem;
}

.partner-logo {
    display: inline-block;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 2px 5px var(--primary);
}

.partner-logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* Right Menu */
.menu-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 4rem;
}

.menu-section {
    margin-bottom: 1.5rem;
}

.menu-right .menu-item {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.2rem;
}

.menu-right .menu-item:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.disclaimer {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.disclaimer strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 1rem 0 0.8rem 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    padding: 8px;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(211, 255, 95, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.social-icon:hover .social-svg {
    filter: brightness(0) invert(0.8) sepia(1) saturate(5) hue-rotate(30deg);
}

.credits {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.design-credits {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.credit-link {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.credit-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.credit-link:hover::after {
    width: 100%;
}

/* Responsive Design for Menu */
@media (max-width: 1200px) {
    .menu-container {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .menu-left .menu-item {
        font-size: 2.8rem;
    }
}

@media (max-width: 1024px) {
    .menu-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .menu-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0 0 1.5rem 0;
        margin: 0 0 1.5rem 0;
        width: 100%;
    }
    
    .menu-right {
        padding-left: 0;
        width: 100%;
    }
    
    .menu-left .menu-item {
        font-size: 2.2rem;
        margin: 0.5rem 0;
    }
    
    .disclaimer {
        max-width: 100%;
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .social-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .menu-container {
        padding: 1rem 1rem 4rem 1rem;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .menu-left .menu-item {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .menu-right .menu-item {
        font-size: 1.4rem;
    }
    
    .partner-logos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .partner-logo {
        width: calc(50% - 0.5rem);
        padding: 0.8rem;
        margin: 0;
    }
    
    .partner-logo img {
        height: 50px;
        width: auto;
        max-width: 100%;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .credits {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .fullscreen-menu {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 70px;
    }
    
    .menu-container {
        padding: 0.5rem 0.8rem 4rem 0.8rem;
        margin: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .menu-left .menu-item {
        font-size: 1.5rem;
        margin: 0.4rem 0;
    }
    
    .menu-right .menu-item {
        font-size: 1.2rem;
    }
    
    .partner-logos {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .partner-logo {
        width: 100%;
        max-width: 180px;
        padding: 0.6rem;
    }
    
    .partner-logo img {
        height: 40px;
    }
    
    .disclaimer {
        font-size: 0.75rem;
        padding: 0.7rem;
        margin: 0.5rem 0;
    }
    
    h3 {
        font-size: 1rem;
        margin: 0.5rem 0;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .credits {
        text-align: center;
        font-size: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .design-credits {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        margin-top: 0.5rem;
    }
    
    @media (max-width: 360px) {
        .fullscreen-menu {
            padding-top: 60px;
        }
        
        .menu-left .menu-item {
            font-size: 1.4rem;
        }
        
        .menu-right .menu-item {
            font-size: 1.1rem;
        }
        
        .partner-logo {
            max-width: 160px;
        }
        
        .social-icon {
            width: 30px;
            height: 30px;
        }
    }
}

/* Social Icons */
.social-icons-container {
    position: fixed;
    left: 30px;
    top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 50;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 10px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .social-icons-container {
        left: 10px;
        top: 20px;
        padding: 10px 6px;
        gap: 12px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon img {
        width: 18px;
        height: 18px;
    }
}

/* Live Stream Indicator */
.live-stream-container {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.live-indicator {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 15px 8px 8px;
    color: white;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.live-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.live-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    transition: all 0.3s ease;
}

.live-indicator.live .status-icon {
    filter: brightness(0) saturate(100%) invert(77%) sepia(48%) saturate(633%) hue-rotate(41deg) brightness(103%) contrast(101%);
}

.live-indicator.offline .status-icon {
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(332deg) brightness(101%) contrast(100%);
}

.status-text {
    line-height: 1.2;
}

.status-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.status-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toggle-stream {
    background: none;
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    transform: rotate(0deg);
}

.toggle-stream:hover {
    opacity: 1;
}

.toggle-stream.active {
    transform: rotate(180deg);
}

.stream-player {
    position: fixed;
    right: 30px;
    bottom: 80px;
    width: 350px;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    z-index: 999;
}

.stream-player.active {
    height: 200px;
    opacity: 1;
    transform: translateY(0);
}

.stream-embed {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.stream-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-stream {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.close-stream:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .live-stream-container {
        right: 15px;
        bottom: 15px;
    }
    
    .stream-player {
        right: 15px;
        width: calc(100% - 30px);
        max-width: 350px;
    }
    
    .stream-player.active {
        height: 180px;
    }
}

/* Main Content */
.main-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Main Logo */
.main-logo {
    margin-bottom: 2rem;
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
}

.main-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(211, 255, 95, 0.5));
}

/* Animated Title */
.animated-title {
    margin-bottom: 2rem;
    overflow: hidden;
}

.title-line {
    display: block;
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-weight: 300;
}

.title-rotator {
    min-height: 4.5rem;
    position: relative;
    display: inline-block;
}

.rotating-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-shadow: 0 0 15px rgba(211, 255, 95, 0.7);
    display: inline-block;
    white-space: nowrap;
    animation: fadeIn 0.5s ease-in-out;
}

/* Description */
.main-description {
    font-size: 1.3rem;
    color: var(--text-white);
    max-width: 700px;
    line-height: 1.6;
    margin: 0 auto 3rem;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(211, 255, 95, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 255, 95, 0.5);
    background-color: #e8ff9e;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border-color: var(--primary);
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: rgba(211, 255, 95, 0.1);
    transform: translateY(-3px);
}

.btn-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-logo {
        max-width: 150px;
    }
    
    .title-line {
        font-size: 1.8rem;
    }
    
    .rotating-text {
        font-size: 2.5rem;
    }
    
    .main-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-icon {
        width: 16px;
        height: 16px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .loading-text {
        font-size: 2.5rem;
    }
    
    .content-overlay h1 {
        font-size: 2.5rem;
    }
    
    .content-overlay p {
        font-size: 1.2rem;
    }
    
    .fullscreen-menu ul li a {
        font-size: 2rem;
    }
}