/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFD700;
    --secondary-color: #4ECDC4;
    --accent-color: #9B59B6;
    --background-color: #1A1A2E;
    --card-color: #2F2F47;
    --text-color: #E0E0E0;
    --success-color: #2ECC71;
    --warning-color: #F39C12;
    --border-radius: 16px;
    --heading-font: 'Orbitron', sans-serif;
    --body-font: 'Rajdhani', sans-serif;
    --mono-font: 'Share Tech Mono', monospace;
}

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--card-color);
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    text-shadow: 0 0 10px var(--primary-color);
    animation: glow 2s ease-in-out infinite alternate;
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-family: var(--mono-font);
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(26, 26, 46, 0.5), rgba(26, 26, 46, 0.5)),
                url('https://img.freepik.com/premium-photo/cartoon-illustration-woman-holding-dice-with-red-eyes-words-devil-it_916191-439466.jpg?w=826') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 20%, var(--background-color) 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(47, 47, 71, 0.8);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
    backdrop-filter: blur(5px);
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(78, 205, 196, 0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: 1.5px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-family: var(--mono-font);
    letter-spacing: 1px;
}

.cta-button:hover {
    background: var(--accent-color);
    color: var(--background-color);
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.4);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.85)),
                url('../images/features-bg.jpg') center/cover no-repeat;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 20%, var(--background-color) 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.features-grid {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.features-content {
    background: rgba(47, 47, 71, 0.7);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.2);
    width: 100%;
    max-width: 1000px;
}

.features-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(155, 89, 182, 0.3);
    transition: all 0.3s ease;
}

.features-content h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.features-list li {
    margin-bottom: 20px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: var(--border-radius);
    background: rgba(47, 47, 71, 0.5);
    font-family: var(--body-font);
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.features-list li:hover {
    color: var(--accent-color);
    transform: translateX(10px);
    background: rgba(47, 47, 71, 0.8);
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.2);
}

.features-list li p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.4;
    text-align: center;
}

.emoji {
    font-size: 2.5rem;
    display: block;
    animation: emojiFloat 3s ease-in-out infinite;
    margin: 0 auto 10px;
}

@keyframes emojiFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Add different animation delays for each emoji */
.features-list li:nth-child(1) .emoji { animation-delay: 0s; }
.features-list li:nth-child(2) .emoji { animation-delay: 0.5s; }
.features-list li:nth-child(3) .emoji { animation-delay: 1s; }
.features-list li:nth-child(4) .emoji { animation-delay: 1.5s; }
.features-list li:nth-child(5) .emoji { animation-delay: 2s; }
.features-list li:nth-child(6) .emoji { animation-delay: 2.5s; }

.features-image {
    display: none;
}

/* Games Section */
.games {
    padding: 80px 0;
}

.games h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: 1.5px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--card-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h3 {
    padding: 20px;
    color: var(--accent-color);
    font-family: var(--mono-font);
    font-weight: 500;
    letter-spacing: 1px;
}

.play-button {
    display: block;
    padding: 15px;
    text-align: center;
    background: var(--accent-color);
    color: var(--background-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: var(--mono-font);
    letter-spacing: 1px;
}

.play-button:hover {
    background: transparent;
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.4);
}

/* Disclaimer */
.disclaimer {
    padding: 40px 0;
}

.disclaimer-box {
    background: var(--card-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.disclaimer-box h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: 1.5px;
}

.disclaimer-box p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.disclaimer-content {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.disclaimer-section {
    background: rgba(47, 47, 71, 0.5);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.disclaimer-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.3);
}

.disclaimer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-shadow: 0 0 8px rgba(78, 205, 196, 0.3);
    font-family: var(--mono-font);
    font-weight: 500;
    letter-spacing: 1px;
}

.disclaimer-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    font-family: var(--body-font);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Footer */
.footer {
    background: var(--card-color);
    padding: 40px 0;
    border-top: 2px solid var(--accent-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo h2 {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: 1.5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: var(--mono-font);
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(155, 89, 182, 0.3);
}

.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(155, 89, 182, 0.3);
    color: var(--text-color);
    font-family: var(--mono-font);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(78, 205, 196, 0.4),
                     0 0 30px rgba(155, 89, 182, 0.3);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(155, 89, 182, 0.4);
    }
    100% {
        opacity: 0.5;
        box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .disclaimer-content {
        grid-template-columns: 1fr;
    }
}

/* Game Page Styles */
.game-container {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    background: var(--card-color);
    margin: 0 auto;
}

.game-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-shadow: 0 0 10px var(--primary-color);
}

/* Responsive adjustments for game iframe */
@media (max-width: 768px) {
    .game-frame {
        height: 500px;
    }
} 