html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
}

:root {
    --color-primary: #2B1B5C;
    --color-secondary: #7B4DFF;
    --color-accent: #FFB347;
    --color-accent2: #FF6B6B;
    --color-background: #0A0826;
    --color-text: #F5F5F7;
    --color-text-muted: #B8B8D0;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    --glow-primary: 0 0 15px rgba(123, 77, 255, 0.6);
    --glow-accent: 0 0 15px rgba(255, 179, 71, 0.6);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

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

.container-legal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 9rem 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background: rgba(43, 27, 92, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(123, 77, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

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

.nav-logo {
    position: relative;
    transition: transform 0.3s ease;
}

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

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-logo:hover::after {
    width: 100%;
}

.nav-logo img {
    height: 40px;
    filter: drop-shadow(var(--glow-primary));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(123, 77, 255, 0.1);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-links a:hover::before {
    transform: scaleY(1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span::before {
    content: '';
    top: -8px;
}

.nav-toggle span::after {
    content: '';
    bottom: -8px;
}

.nav-toggle.active span {
    background-color: transparent;
}

.nav-toggle.active span::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active span::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 179, 71, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(123, 77, 255, 0.15) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%237B4DFF' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--color-text), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--glow-accent);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: rgba(43, 27, 92, 0.3);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent), var(--color-secondary));
    border-radius: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(123, 77, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 77, 255, 0.1) 0%, rgba(255, 179, 71, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

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

.feature-card h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    position: relative;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--color-background) 0%, rgba(43, 27, 92, 0.5) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237B4DFF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-text {
    padding: 2.5rem;
    background: rgba(43, 27, 92, 0.7);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 77, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(123, 77, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    text-shadow: var(--glow-accent);
}

.about-text p {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px rgba(255, 179, 71, 0.5));
}

.about-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(123, 77, 255, 0.3);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 179, 71, 0.2), rgba(123, 77, 255, 0.2));
    z-index: 1;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Games Section */
.games {
    padding: 6rem 2rem;
    background: var(--color-background);
    position: relative;
}

.games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.games .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: rgba(43, 27, 92, 0.5);
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid rgba(123, 77, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: var(--glow-accent), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-card iframe,
.preview-iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.game-preview {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    height: 400px;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 8, 38, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-btn {
    background: linear-gradient(45deg, var(--color-accent), var(--color-accent2));
    color: var(--color-primary);
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 179, 71, 0.5);
}

.game-card:hover .play-btn {
    transform: translateY(0);
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 179, 71, 0.7);
}

.game-name {
    text-align: center;
    margin-top: 1rem;
    color: var(--color-accent);
    font-size: 1.3rem;
}

/* Game Page */
.game-page {
    padding: 6rem 2rem 4rem;
    min-height: calc(100vh - 200px);
    background: linear-gradient(180deg, var(--color-background) 0%, rgba(43, 27, 92, 0.5) 100%);
}

.game-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-accent);
    font-size: 2.5rem;
    text-shadow: var(--glow-accent);
    position: relative;
    padding-bottom: 0.75rem;
}

.game-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent), var(--color-secondary));
    border-radius: 3px;
}

.game-container {
    background: rgba(43, 27, 92, 0.5);
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid rgba(123, 77, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-secondary), var(--color-accent), var(--color-secondary));
    z-index: -1;
    border-radius: 1rem;
    opacity: 0.7;
    animation: border-glow 3s infinite alternate;
}

@keyframes border-glow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background-color: #000; /* Black background while loading */
}

.fullscreen-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(123, 77, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.fullscreen-btn:hover {
    background: var(--color-accent);
    transform: scale(1.1);
    box-shadow: var(--glow-accent);
}

.fullscreen-btn svg {
    width: 20px;
    height: 20px;
}

.game-instructions {
    max-width: 800px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 2rem;
    background: rgba(43, 27, 92, 0.7);
    border-radius: 1rem;
    border: 1px solid rgba(123, 77, 255, 0.2);
    text-align: center;
}

.game-instructions h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.game-instructions p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Reviews Section */
.reviews {
    padding: 6rem 2rem;
    background: linear-gradient(0deg, var(--color-background) 0%, rgba(43, 27, 92, 0.5) 100%);
    position: relative;
}

.reviews::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.reviews-heading {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.reviews-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    background: linear-gradient(to right, var(--color-text), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reviews-heading p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.review-card {
    background: rgba(43, 27, 92, 0.7);
    padding: 2.5rem;
    border-radius: 1rem;
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
}

.review-card::after {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-secondary);
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary), 0 15px 30px rgba(0, 0, 0, 0.3);
}

.review-stars {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(255, 179, 71, 0.5);
}

.review-card > p {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
    position: relative;
    overflow: hidden;
    box-shadow: var(--glow-primary);
}

.reviewer-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
    opacity: 0.7;
}

.reviewer-info div h4 {
    color: var(--color-accent);
    margin: 0;
    font-size: 1.1rem;
}

.reviewer-info div p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--color-primary);
    padding: 4rem 2rem 2rem;
    position: relative;
    border-top: 1px solid rgba(123, 77, 255, 0.3);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%237B4DFF' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 20.59l2.83-2.83 1.41 1.41L1.41 22H0v-1.41zM0 2.59l2.83-2.83 1.41 1.41L1.41 4H0V2.59zm0 36l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 18l2.83-2.83 1.41 1.41L1.41 20H0v-2zm0-18l2.83-2.83 1.41 1.41L1.41 2H0V0zm18 36l2.83-2.83 1.41 1.41L19.41 40H18v-1.41zM18 18l2.83-2.83 1.41 1.41L19.41 20H18v-2zm0-18l2.83-2.83 1.41 1.41L19.41 2H18V0zm36 36l2.83-2.83 1.41 1.41L37.41 40H36v-1.41zM36 18l2.83-2.83 1.41 1.41L37.41 20H36v-2zm0-18l2.83-2.83 1.41 1.41L37.41 2H36V0zM18 36l2.83-2.83 1.41 1.41L19.41 38H18v-2zm0-18l2.83-2.83 1.41 1.41L19.41 20H18v-2zm0-18l2.83-2.83 1.41 1.41L19.41 2H18V0zM36 36l2.83-2.83 1.41 1.41L37.41 38H36v-2zm0-18l2.83-2.83 1.41 1.41L37.41 20H36v-2zm0-18l2.83-2.83 1.41 1.41L37.41 2H36V0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.07;
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
    filter: drop-shadow(var(--glow-primary));
}

.footer-brand p {
    color: var(--color-text-muted);
    max-width: 90%;
}

.footer-links h4, 
.footer-legal h4 {
    color: var(--color-accent);
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links h4::after, 
.footer-legal h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.footer-links a, 
.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a::before, 
.footer-legal a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover, 
.footer-legal a:hover {
    color: var(--color-text);
    transform: translateX(10px);
}

.footer-links a:hover::before, 
.footer-legal a:hover::before {
    opacity: 1;
    left: -10px;
}

.disclaimer-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 2rem;
    border: 1px solid rgba(123, 77, 255, 0.1);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 15px rgba(123, 77, 255, 0.1);
}

.disclaimer-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Age Verification Popup */
.age-verify {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 8, 38, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
}

.age-verify-content {
    background: var(--color-primary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.age-verify-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2.5rem;
    background: rgba(43, 27, 92, 0.7);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 77, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.legal-content h1 {
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: var(--glow-accent);
    text-align: center;
    padding-bottom: 1rem;
    position: relative;
}

.legal-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent), var(--color-secondary));
    border-radius: 3px;
}

.disclaimer-sections h2 {
    color: var(--color-text);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.disclaimer-sections h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: var(--color-accent);
    border-radius: 3px;
}

.disclaimer-sections p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.disclaimer-sections ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.disclaimer-sections ul li {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.disclaimer-sections ul li::marker {
    color: var(--color-accent);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: rgba(43, 27, 92, 0.7);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 77, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form h1 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-shadow: var(--glow-accent);
}

.contact-form p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(123, 77, 255, 0.3);
    border-radius: 0.5rem;
    color: var(--color-text);
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(123, 77, 255, 0.5);
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-accent), var(--color-accent2));
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(255, 179, 71, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 15px rgba(255, 179, 71, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    border: 1px solid rgba(123, 77, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        z-index: 1000;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(123, 77, 255, 0.3);
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem;
    }

    .hero {
        padding-top: 6rem;
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
        max-height: 300px;
        overflow: hidden;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .game-card iframe,
    .preview-iframe,
    .game-preview {
        height: 300px;
    }
    
    /* Game page responsive styles */
    .game-page {
        padding: 5rem 1rem 3rem;
    }
    
    .game-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .game-container {
        aspect-ratio: 4/3; /* Slightly taller ratio for mobile */
        border-width: 1px;
    }
    
    .game-instructions {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .reviews-grid {
        gap: 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features {
        padding: 3rem 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 4rem 1rem;
    }
    
    .about-text {
        padding: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .games {
        padding: 4rem 1rem;
    }
    
    .game-card iframe,
    .preview-iframe,
    .game-preview {
        height: 250px;
    }
    
    /* Game page small screen styles */
    .game-page {
        padding: 4rem 1rem 2rem;
    }
    
    .game-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .game-container {
        aspect-ratio: 1/1; /* Square for very small screens */
    }
    
    .game-instructions {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .game-instructions h3 {
        font-size: 1.1rem;
    }
    
    .game-instructions p {
        font-size: 0.9rem;
    }
    
    .reviews {
        padding: 4rem 1rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 3rem 1rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .age-verify-content {
        padding: 1.5rem;
    }
    
    .age-verify-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Legal pages */
    .legal-content {
        margin: 6rem auto 3rem;
        padding: 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .disclaimer-sections h2 {
        font-size: 1.3rem;
        padding-left: 1rem;
    }
    
    .disclaimer-sections h2::before {
        height: 20px;
    }
    
    /* Contact form */
    .contact-form {
        margin: 6rem auto 3rem;
        padding: 1.5rem;
    }
    
    .contact-form h1 {
        font-size: 2rem;
    }
}