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

:root {
    /* Fortnite Colors - Cartoon Style */
    --fortnite-blue: #00A8FF;
    --fortnite-purple: #9D4EDD;
    --fortnite-pink: #FF006E;
    --fortnite-orange: #FF6B35;
    --fortnite-yellow: #FFD60A;
    --fortnite-green: #06FFA5;
    --fortnite-brown: #8B4513;
    --fortnite-beige: #F4E4BC;
    
    /* League of Legends Colors - Royal/Gold Theme */
    --lol-gold: #C8AA6E;
    --lol-gold-dark: #785A28;
    --lol-gold-light: #F0E6D2;
    --lol-blue: #0AC8B9;
    --lol-dark: #0A1428;
    --lol-bronze: #CD7F32;
    
    /* Valorant Colors */
    --valorant-red: #FF4655;
    --valorant-dark: #0F1923;
    --valorant-light: #ECE8E1;
    
    /* Base Colors */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: rgba(30, 30, 30, 0.95);
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Roboto Condensed', 'Oswald', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
}

/* Gaming Background */
.gaming-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bg-layer-1 {
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 168, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    animation: bgMove1 20s ease-in-out infinite;
}

.bg-layer-2 {
    background: 
        radial-gradient(circle at 50% 20%, rgba(200, 170, 110, 0.08) 0%, transparent 50%);
    animation: bgMove2 15s ease-in-out infinite;
}

@keyframes bgMove1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

@keyframes bgMove2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 20px) scale(1.05); }
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

/* Content */
.content {
    text-align: center;
    max-width: 1400px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

/* Logo Section */
.logo-section {
    margin-bottom: 3rem;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--fortnite-blue), var(--lol-gold), var(--fortnite-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 168, 255, 0.3);
    animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.logo-badge {
    position: absolute;
    top: -10px;
    right: -60px;
    background: linear-gradient(135deg, var(--fortnite-orange), var(--fortnite-pink));
    color: white;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: badgeFloat 3s ease-in-out infinite;
}

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

.tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 300;
}

/* Hero Section */
.hero-section {
    margin-bottom: 4rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-main {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lol-gold);
    text-shadow: 
        0 0 10px rgba(200, 170, 110, 0.5),
        0 0 20px rgba(200, 170, 110, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.5);
    animation: titleGlow 2s ease-in-out infinite;
}

.title-sub {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--fortnite-blue);
    opacity: 0.8;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(200, 170, 110, 0.5), 0 0 20px rgba(200, 170, 110, 0.3); }
    50% { text-shadow: 0 0 20px rgba(200, 170, 110, 0.8), 0 0 30px rgba(200, 170, 110, 0.5); }
}

/* Games Section */
.games-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--bg-card);
    border: 3px solid;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0.6;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Fortnite Card */
.fortnite-card {
    border-color: var(--fortnite-blue);
    color: var(--fortnite-blue);
}

.fortnite-card::before {
    background: linear-gradient(90deg, transparent, var(--fortnite-blue), transparent);
}

.fortnite-card:hover {
    box-shadow: 0 12px 40px rgba(0, 168, 255, 0.3);
}

/* League of Legends Card */
.lol-card {
    border-color: var(--lol-gold);
    color: var(--lol-gold);
}

.lol-card::before {
    background: linear-gradient(90deg, transparent, var(--lol-gold), transparent);
}

.lol-card:hover {
    box-shadow: 0 12px 40px rgba(200, 170, 110, 0.3);
}

/* Valorant Card */
.valorant-card {
    border-color: var(--valorant-red);
    color: var(--valorant-red);
}

.valorant-card::before {
    background: linear-gradient(90deg, transparent, var(--valorant-red), transparent);
}

.valorant-card:hover {
    box-shadow: 0 12px 40px rgba(255, 70, 85, 0.3);
}

/* Quick Links Section */
.quick-links-section {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quick-link i {
    font-size: 1.2rem;
}

.dashboard-link {
    border-color: var(--lol-gold);
    color: var(--lol-gold);
}

.dashboard-link:hover {
    border-color: var(--lol-gold);
    background: rgba(200, 170, 110, 0.1);
    box-shadow: 0 8px 20px rgba(200, 170, 110, 0.2);
}

.twitch-link {
    border-color: #9146FF;
    color: #9146FF;
}

.twitch-link:hover {
    border-color: #9146FF;
    background: rgba(145, 70, 255, 0.1);
    box-shadow: 0 8px 20px rgba(145, 70, 255, 0.2);
}

.discord-link {
    border-color: #5865F2;
    color: #5865F2;
}

.discord-link:hover {
    border-color: #5865F2;
    background: rgba(88, 101, 242, 0.1);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.2);
}

.youtube-link {
    border-color: #FF0000;
    color: #FF0000;
}

.youtube-link:hover {
    border-color: #FF0000;
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.2);
}

.twitter-link {
    border-color: #1DA1F2;
    color: #1DA1F2;
}

.twitter-link:hover {
    border-color: #1DA1F2;
    background: rgba(29, 161, 242, 0.1);
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.2);
}

.instagram-link {
    border-color: #E4405F;
    color: #E4405F;
}

.instagram-link:hover {
    border-color: #E4405F;
    background: rgba(228, 64, 95, 0.1);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.2);
}

/* Game Header */
.game-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.game-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.game-badge {
    background: var(--bg-primary);
    color: currentColor;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.rank-badge {
    background: linear-gradient(135deg, var(--lol-gold), var(--lol-gold-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.4);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.stat-item.full-width {
    grid-column: 1 / -1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: currentColor;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.rank-value {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--lol-gold), var(--lol-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Achievements Section */
.achievements-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.achievement-badge {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    min-width: 200px;
}

.achievement-badge:hover {
    transform: translateY(-5px);
    border-color: var(--lol-gold);
    box-shadow: 0 8px 25px rgba(200, 170, 110, 0.2);
}

.badge-icon {
    font-size: 2rem;
    color: var(--lol-gold);
    filter: drop-shadow(0 0 10px rgba(200, 170, 110, 0.5));
}

.badge-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lol-gold);
}

/* Twitch Section */
.twitch-section {
    margin: 4rem 0;
    background: var(--bg-card);
    border: 3px solid #9146FF;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.twitch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, #9146FF, transparent);
    opacity: 0.6;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9146FF;
    text-shadow: 0 0 20px rgba(145, 70, 255, 0.5);
}

.twitch-follow-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #9146FF;
    color: white;
    border: none;
    border-radius: 25px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.3);
}

.twitch-follow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.5);
    background: #7c3ae6;
}

.twitch-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.1), rgba(0, 0, 0, 0.9));
    min-height: 400px;
}

.twitch-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    z-index: 1;
}

.twitch-direct-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border-radius: 15px;
}

/* Show direct link when iframe is hidden or on hover */
.twitch-embed-container:hover .twitch-direct-link {
    display: flex;
}

/* Hide direct link when iframe is visible and working */
.twitch-embed-container:has(.twitch-embed[style*="display: block"]) .twitch-direct-link {
    display: none;
}

.twitch-direct-btn {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 4rem;
    background: rgba(145, 70, 255, 0.2);
    border: 3px solid #9146FF;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(145, 70, 255, 0.3);
}

.twitch-direct-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(145, 70, 255, 0.3);
    box-shadow: 0 12px 40px rgba(145, 70, 255, 0.5);
    border-color: #7c3ae6;
}

.twitch-direct-btn i {
    font-size: 5rem;
    color: #9146FF;
    filter: drop-shadow(0 0 20px rgba(145, 70, 255, 0.6));
}

.twitch-direct-btn h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(145, 70, 255, 0.5);
}

.twitch-direct-btn p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Social Media Section */
.social-section {
    margin: 4rem 0;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-link i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.social-link span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.social-link.twitch {
    border-color: #9146FF;
}

.social-link.twitch:hover {
    border-color: #9146FF;
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.3);
    background: rgba(145, 70, 255, 0.05);
}

.social-link.twitch i {
    color: #9146FF;
}

.social-link.discord {
    border-color: #5865F2;
}

.social-link.discord:hover {
    border-color: #5865F2;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
    background: rgba(88, 101, 242, 0.05);
}

.social-link.discord i {
    color: #5865F2;
}

.social-link.youtube {
    border-color: #FF0000;
}

.social-link.youtube:hover {
    border-color: #FF0000;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.05);
}

.social-link.youtube i {
    color: #FF0000;
}

.social-link.twitter {
    border-color: #1DA1F2;
}

.social-link.twitter:hover {
    border-color: #1DA1F2;
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.3);
    background: rgba(29, 161, 242, 0.05);
}

.social-link.twitter i {
    color: #1DA1F2;
}

.social-link.instagram {
    border-color: #E4405F;
}

.social-link.instagram:hover {
    border-color: #E4405F;
    box-shadow: 0 10px 30px rgba(228, 64, 95, 0.3);
    background: rgba(228, 64, 95, 0.05);
}

.social-link.instagram i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Coming Soon Section */
.coming-soon-section {
    margin-top: 3rem;
}

.coming-soon-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-weight: 300;
}

.progress-bar-container {
    max-width: 600px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--fortnite-blue), var(--lol-gold), var(--fortnite-purple));
    border-radius: 8px;
    width: 0%;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.5);
    animation: progressShimmer 3s linear infinite;
}

@keyframes progressShimmer {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .games-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 4rem;
    }
    
    .title-main {
        font-size: 3.5rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .games-section {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item.full-width {
        grid-column: 1;
    }
    
    .achievements-section {
        flex-direction: column;
        align-items: center;
    }
    
    .achievement-badge {
        width: 100%;
        max-width: 300px;
    }
    
    .quick-links-section {
        gap: 0.5rem;
    }
    
    .quick-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .twitch-embed-container {
        padding-bottom: 75%; /* Taller on mobile */
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 3rem;
    }
    
    .logo-badge {
        position: static;
        display: block;
        margin: 0.5rem auto 0;
        width: fit-content;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .game-title {
        font-size: 2rem;
    }
}
