/* Global Styles - Dark Storm Theme */
:root {
    --storm-purple: #2d1b69;
    --lightning-blue: #4a90e2;
    --thunder-yellow: #ffd700;
    --deep-storm: #0a0a0a;
    --rain-gray: #1a1a1a;
    --cloud-white: #e8e8e8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --storm-glow: 0 0 30px;
}

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

body {
    font-family: 'Roboto Slab', serif;
    background-color: var(--deep-storm);
    color: var(--cloud-white);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Rain Animation Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><line id="raindrop" x1="50" y1="0" x2="45" y2="20" stroke="%234a90e2" stroke-width="1" opacity="0.6"/></defs><use href="%23raindrop" x="10" y="0"/><use href="%23raindrop" x="30" y="10"/><use href="%23raindrop" x="50" y="5"/><use href="%23raindrop" x="70" y="15"/><use href="%23raindrop" x="90" y="8"/></svg>');
    animation: rainfall 1s linear infinite;
    pointer-events: none;
    z-index: -1;
    opacity: 0.7;
}

@keyframes rainfall {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

/* Lightning Flash Effect */
@keyframes lightning {
    0%, 90%, 100% { background: transparent; }
    5%, 10% { background: rgba(74, 144, 226, 0.1); }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: lightning 8s infinite;
    pointer-events: none;
    z-index: -1;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--storm-purple), var(--lightning-blue), var(--thunder-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--storm-purple), var(--lightning-blue));
    border-radius: 2px;
    box-shadow: var(--storm-glow) var(--lightning-blue);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 2px solid var(--storm-purple);
    box-shadow: 0 5px 20px rgba(45, 27, 105, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: var(--thunder-yellow);
}

.web-icon {
    font-size: 2rem;
    animation: stormGlow 3s infinite alternate;
}

@keyframes stormGlow {
    0% { 
        text-shadow: 0 0 10px var(--storm-purple), 0 0 20px var(--lightning-blue);
        filter: hue-rotate(0deg);
    }
    100% { 
        text-shadow: 0 0 20px var(--lightning-blue), 0 0 30px var(--thunder-yellow);
        filter: hue-rotate(30deg);
    }
}

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

.nav-link {
    color: var(--cloud-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--thunder-yellow);
    text-shadow: var(--storm-glow) var(--thunder-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--lightning-blue), var(--thunder-yellow));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--lightning-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--storm-purple);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(45, 27, 105, 0.4);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--cloud-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--storm-purple);
    color: var(--thunder-yellow);
    box-shadow: inset 0 0 10px var(--lightning-blue);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--thunder-yellow);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--thunder-yellow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-storm), var(--storm-purple), var(--rain-gray));
    z-index: -3;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%234a90e2" fill-opacity="0.1"><circle cx="30" cy="30" r="2"/></g></svg>');
    animation: stormFloat 8s ease-in-out infinite;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><circle id="particle" cx="50" cy="50" r="1" fill="%23ffd700" opacity="0.8"/></defs><use href="%23particle" x="10" y="20"/><use href="%23particle" x="80" y="30"/><use href="%23particle" x="30" y="70"/><use href="%23particle" x="70" y="80"/><use href="%23particle" x="20" y="50"/></svg>');
    animation: stormParticles 12s linear infinite;
}

.web-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path d="M100 0L100 200M0 100L200 100M50 0L150 200M150 0L50 200" stroke="%234a90e2" stroke-width="0.5" opacity="0.1"/></svg>');
    z-index: -1;
    animation: thunderPulse 4s ease-in-out infinite;
}

@keyframes stormFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes stormParticles {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

@keyframes thunderPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: stormTitle 4s infinite alternate;
}

@keyframes stormTitle {
    0% { 
        text-shadow: 0 0 20px var(--thunder-yellow), 2px 2px 4px rgba(0, 0, 0, 0.8);
        filter: brightness(1);
    }
    100% { 
        text-shadow: 0 0 40px var(--lightning-blue), 2px 2px 4px rgba(0, 0, 0, 0.8);
        filter: brightness(1.2);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--cloud-white);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--storm-purple), var(--lightning-blue));
    color: var(--cloud-white);
    box-shadow: var(--storm-glow) var(--storm-purple);
    border: 1px solid var(--lightning-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 27, 105, 0.5), 0 0 20px var(--lightning-blue);
}

.btn-secondary {
    background: transparent;
    color: var(--thunder-yellow);
    border: 2px solid var(--thunder-yellow);
    box-shadow: 0 0 10px var(--thunder-yellow);
}

.btn-secondary:hover {
    background: var(--thunder-yellow);
    color: var(--deep-storm);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-game {
    background: linear-gradient(45deg, var(--lightning-blue), var(--thunder-yellow));
    color: var(--deep-storm);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
}

.btn-game:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
}

/* Hero Effects */
.hero-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.portal {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--lightning-blue), transparent);
    opacity: 0.4;
    animation: stormPortal 6s linear infinite;
}

.portal-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.portal-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes stormPortal {
    0% { transform: rotate(0deg) scale(1); opacity: 0.4; }
    50% { transform: rotate(180deg) scale(1.3); opacity: 0.7; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.4; }
}

.energy-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--storm-purple));
    opacity: 0.3;
    animation: stormWave 5s ease-in-out infinite;
}

@keyframes stormWave {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.6; transform: scaleY(1.2); }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: rgba(26, 26, 26, 0.8);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0L50 100M0 50L100 50" stroke="%232d1b69" stroke-width="0.5" opacity="0.1"/></svg>');
    z-index: -1;
}

.about-content {
    text-align: center;
}

.about-text {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--cloud-white);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--storm-purple);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    animation: stormFeature 8s linear infinite;
}

@keyframes stormFeature {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 27, 105, 0.3), 0 0 20px var(--lightning-blue);
    border-color: var(--lightning-blue);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--thunder-yellow);
    position: relative;
    z-index: 1;
}

.feature p {
    position: relative;
    z-index: 1;
}

/* Games Showcase */
.games-showcase {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(45, 27, 105, 0.1));
    position: relative;
}

.games-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M0 25L50 25M25 0L25 50" stroke="%234a90e2" stroke-width="0.3" opacity="0.1"/></svg>');
    animation: stormGrid 10s linear infinite;
}

@keyframes stormGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid var(--storm-purple);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(45, 27, 105, 0.4), 0 0 30px var(--lightning-blue);
    border-color: var(--thunder-yellow);
}

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: rgba(26, 26, 26, 0.5);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0.9);
}

.game-card:hover .game-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.game-info {
    padding: 1.5rem;
    text-align: center;
}

.game-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--thunder-yellow);
    text-shadow: 0 0 10px var(--thunder-yellow);
}

.game-info p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    color: var(--cloud-white);
}

/* Community Section */
.community {
    padding: 6rem 0;
    background: rgba(74, 144, 226, 0.05);
    position: relative;
}

.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><circle cx="40" cy="40" r="2" fill="%234a90e2" opacity="0.1"/><circle cx="20" cy="20" r="1" fill="%23ffd700" opacity="0.2"/><circle cx="60" cy="60" r="1.5" fill="%232d1b69" opacity="0.15"/></svg>');
    animation: stormCommunity 15s linear infinite;
}

@keyframes stormCommunity {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(80px, 80px) rotate(360deg); }
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.community-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--lightning-blue);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    animation: stormCommunityGlow 6s linear infinite;
}

@keyframes stormCommunityGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.community-card:hover {
    transform: translateY(-5px);
    border-color: var(--thunder-yellow);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.2);
}

.community-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.community-stat {
    font-size: 2.5rem;
    font-family: 'Bebas Neue', cursive;
    color: var(--thunder-yellow);
    margin: 1rem 0;
    text-shadow: 0 0 15px var(--thunder-yellow);
    position: relative;
    z-index: 1;
}

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

/* Events Section */
.events {
    padding: 6rem 0;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="120" height="120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="M60 0L60 120M0 60L120 60" stroke="%232d1b69" stroke-width="0.5" opacity="0.1"/><path d="M30 0L90 120M90 0L30 120" stroke="%234a90e2" stroke-width="0.3" opacity="0.05"/></svg>');
    animation: stormEvents 12s linear infinite;
}

@keyframes stormEvents {
    0% { transform: translate(0, 0); }
    100% { transform: translate(120px, 120px); }
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--storm-purple);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(45, 27, 105, 0.1), transparent);
    animation: stormEventGlow 8s linear infinite;
}

@keyframes stormEventGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(45, 27, 105, 0.3), 0 0 20px var(--lightning-blue);
    border-color: var(--lightning-blue);
}

.event-timer {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.timer-display {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.time-unit {
    background: linear-gradient(45deg, var(--storm-purple), var(--lightning-blue));
    padding: 1rem;
    border-radius: 12px;
    min-width: 80px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--lightning-blue);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
}

.time-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: stormTimer 3s linear infinite;
}

@keyframes stormTimer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.time-value {
    display: block;
    font-size: 2rem;
    font-family: 'Bebas Neue', cursive;
    color: var(--cloud-white);
    text-shadow: 0 0 10px var(--thunder-yellow);
    position: relative;
    z-index: 1;
}

.time-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.event-card h3 {
    font-size: 1.8rem;
    color: var(--thunder-yellow);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--thunder-yellow);
    position: relative;
    z-index: 1;
}

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

/* Disclaimer */
.disclaimer {
    padding: 3rem 0;
    background: rgba(74, 144, 226, 0.1);
    border-top: 1px solid var(--lightning-blue);
    border-bottom: 1px solid var(--lightning-blue);
    position: relative;
}

.disclaimer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.05), transparent);
    animation: stormDisclaimer 6s ease-in-out infinite;
}

@keyframes stormDisclaimer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.disclaimer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.disclaimer h3 {
    color: var(--thunder-yellow);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--thunder-yellow);
}

.disclaimer p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: var(--cloud-white);
}

/* Footer */
.footer {
    background: var(--deep-storm);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--storm-purple);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--thunder-yellow), transparent);
    box-shadow: 0 0 10px var(--thunder-yellow);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--thunder-yellow);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-shadow: 0 0 10px var(--thunder-yellow);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--cloud-white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--thunder-yellow);
    opacity: 1;
    text-shadow: 0 0 5px var(--thunder-yellow);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: var(--thunder-yellow);
    margin-bottom: 1rem;
}

.playgo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--thunder-yellow);
    text-shadow: var(--storm-glow) var(--thunder-yellow);
}

.circuit-lines {
    width: 100%;
    height: 20px;
    background: url('data:image/svg+xml,<svg width="100" height="20" viewBox="0 0 100 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10L100 10M20 0L20 20M50 0L50 20M80 0L80 20" stroke="%23ffd700" stroke-width="1" opacity="0.6"/></svg>');
    margin-top: 1rem;
    animation: stormCircuit 4s ease-in-out infinite;
}

@keyframes stormCircuit {
    0%, 100% { opacity: 0.6; filter: brightness(1); }
    50% { opacity: 1; filter: brightness(1.5); }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 27, 105, 0.3);
    opacity: 0.7;
}

/* Game Page Styles */
.game-page {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    position: relative;
}

.game-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 20L40 20M20 0L20 40" stroke="%232d1b69" stroke-width="0.3" opacity="0.1"/></svg>');
    animation: stormGameBg 8s linear infinite;
    z-index: -1;
}

@keyframes stormGameBg {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.game-header {
    text-align: center;
    margin-bottom: 3rem;
}

.game-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--storm-purple), var(--lightning-blue), var(--thunder-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.game-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: var(--cloud-white);
}

.game-container {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid var(--storm-purple);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(45, 27, 105, 0.2);
}

.game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--storm-purple), var(--lightning-blue), var(--thunder-yellow), var(--storm-purple));
    border-radius: 16px;
    z-index: -1;
    animation: stormBorder 4s linear infinite;
}

@keyframes stormBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
    background: var(--deep-storm);
    box-shadow: inset 0 0 20px rgba(74, 144, 226, 0.1);
}

.game-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.game-info-section {
    margin-top: 4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--storm-purple);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.05), transparent);
    animation: stormInfo 10s linear infinite;
}

@keyframes stormInfo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(45, 27, 105, 0.2), 0 0 15px var(--lightning-blue);
    border-color: var(--lightning-blue);
}

.info-card h3 {
    color: var(--thunder-yellow);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-shadow: 0 0 10px var(--thunder-yellow);
    position: relative;
    z-index: 1;
}

.info-card p {
    opacity: 0.9;
    color: var(--cloud-white);
    position: relative;
    z-index: 1;
}

/* Contact Page */
.contact-page {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    position: relative;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="%234a90e2" opacity="0.1"/><circle cx="15" cy="15" r="0.5" fill="%23ffd700" opacity="0.2"/><circle cx="45" cy="45" r="0.8" fill="%232d1b69" opacity="0.15"/></svg>');
    animation: stormContactBg 12s linear infinite;
    z-index: -1;
}

@keyframes stormContactBg {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(60px, 60px) rotate(360deg); }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    margin-bottom: 3rem;
}

.info-cards {
    display: grid;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--thunder-yellow);
    text-shadow: 0 0 10px var(--thunder-yellow);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--storm-purple);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(45, 27, 105, 0.2);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.05), transparent);
    animation: stormForm 8s linear infinite;
}

@keyframes stormForm {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.form-header h2 {
    color: var(--thunder-yellow);
    text-shadow: 0 0 10px var(--thunder-yellow);
}

.chatbot-icon {
    font-size: 2rem;
    animation: stormBot 3s ease-in-out infinite;
}

@keyframes stormBot {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.1); }
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--thunder-yellow);
    font-weight: 500;
    text-shadow: 0 0 5px var(--thunder-yellow);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--storm-purple);
    border-radius: 8px;
    color: var(--cloud-white);
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(45, 27, 105, 0.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--lightning-blue);
    box-shadow: var(--storm-glow) var(--lightning-blue), inset 0 0 10px rgba(74, 144, 226, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-additional {
    margin-top: 4rem;
}

.faq-section h3 {
    color: var(--thunder-yellow);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-shadow: 0 0 15px var(--thunder-yellow);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--storm-purple);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.05), transparent);
    animation: stormFaq 12s linear infinite;
}

@keyframes stormFaq {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(45, 27, 105, 0.2), 0 0 10px var(--lightning-blue);
    border-color: var(--lightning-blue);
}

.faq-item h4 {
    color: var(--thunder-yellow);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.faq-item p {
    opacity: 0.9;
    font-size: 0.9rem;
    color: var(--cloud-white);
    position: relative;
    z-index: 1;
}

/* Policy Pages */
.policy-page {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    position: relative;
}

.policy-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><path d="M0 40L80 40M40 0L40 80" stroke="%232d1b69" stroke-width="0.3" opacity="0.1"/><path d="M20 0L60 80M60 0L20 80" stroke="%234a90e2" stroke-width="0.2" opacity="0.05"/></svg>');
    animation: stormPolicyBg 10s linear infinite;
    z-index: -1;
}

@keyframes stormPolicyBg {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--storm-purple);
    line-height: 1.8;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(45, 27, 105, 0.2);
}

.policy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.03), transparent);
    animation: stormPolicy 12s linear infinite;
}

@keyframes stormPolicy {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.policy-content h2 {
    color: var(--thunder-yellow);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
    text-shadow: 0 0 10px var(--thunder-yellow);
    position: relative;
    z-index: 1;
}

.policy-content h3 {
    color: var(--lightning-blue);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
    text-shadow: 0 0 8px var(--lightning-blue);
    position: relative;
    z-index: 1;
}

.policy-content p {
    margin-bottom: 1rem;
    color: var(--cloud-white);
    position: relative;
    z-index: 1;
}

.policy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    z-index: 1;
}

.policy-content li {
    margin-bottom: 0.5rem;
    color: var(--cloud-white);
}

.policy-content a {
    color: var(--lightning-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-content a:hover {
    color: var(--thunder-yellow);
    text-shadow: 0 0 5px var(--thunder-yellow);
}

.last-updated {
    background: rgba(45, 27, 105, 0.2);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--storm-purple);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.policy-footer {
    background: rgba(74, 144, 226, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--lightning-blue);
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.policy-footer p {
    margin-bottom: 1rem;
}

.policy-footer p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .timer-display {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 0.8rem;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-iframe {
        height: 400px;
    }
    
    .policy-content {
        padding: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .game-actions {
        flex-direction: column;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
    
    .game-iframe {
        height: 300px;
    }
}

/* Thunder Sound Effect (Visual) */
@keyframes thunderFlash {
    0%, 95%, 100% { opacity: 0; }
    5% { opacity: 0.8; }
}

.thunder-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.3), transparent);
    pointer-events: none;
    z-index: 9999;
    animation: thunderFlash 6s infinite;
}

/* Additional Storm Effects */
.storm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path d="M100 0L95 50L105 50L100 100L110 60L90 60Z" fill="%234a90e2" opacity="0.1"/></svg>');
    pointer-events: none;
    z-index: -2;
    animation: stormOverlay 15s linear infinite;
}

@keyframes stormOverlay {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0.1; }
    50% { transform: translate(100px, 100px) rotate(180deg); opacity: 0.2; }
    100% { transform: translate(200px, 200px) rotate(360deg); opacity: 0.1; }
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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