/* Global Styles */
:root {
    --primary-color: #FF3B3F;       /* Bright Red */
    --secondary-color: #9B59B6;     /* Rich Purple */
    --background: #1E1B29;          /* Very Dark Purple-Black */
    --card-bg: #2C2640;             /* Dark Purple */
    --text-color: #EDEDED;          /* Soft Off-White */
    --glow-intensity: 6px;          /* Strong Glow */
    --transition-speed: 0.3s;
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

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

/* Header Styles */
header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.vault-ring {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vault-ring::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: ring-scan 4s infinite linear;
    box-shadow: 0 0 15px var(--primary-color);
}

.logo h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 0;
    padding: 10px;
    text-shadow: 0 0 10px rgba(164, 255, 0, 0.7);
}

.glow-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 5px 10px;
    position: relative;
    overflow: hidden;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
    box-shadow: 0 0 5px var(--secondary-color);
}

nav ul li a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--background);
    background-image: url(https://i.pinimg.com/736x/c9/55/ce/c955ced120d627dd0b65ffb9c4b9452d.jpg) ;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 194, 255, 0.7);
    letter-spacing: 2px;
}

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

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)),
        linear-gradient(90deg, rgba(164, 255, 0, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 194, 255, 0.1) 1px, transparent 1px);
    background-size: 100%, 20px 20px, 20px 20px;
    z-index: 1;
}

.cta-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-size: 1rem;
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.cta-button:hover {
    background-color: rgba(164, 255, 0, 0.1);
    box-shadow: 0 0 20px var(--primary-color);
    transform: scale(1.05);
}

/* Age Disclaimer */
#age-disclaimer {
    padding: 40px 20px;
    background-color: rgba(30, 30, 30, 0.8);
}

.disclaimer-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--secondary-color);
    text-align: center;
}

.disclaimer-box h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 10px;
}

/* Features Section */
/* Overall section styling */
#features {
    padding: 100px 5%;
    background-color: var(--background);
    color: var(--text-color);
    overflow: hidden;
}

/* Flex container for content */
.features-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

/* Left text block */
.features-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.features-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(164, 255, 0, 0.5);
    margin-bottom: 20px;
}

.features-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

/* Right visual block */
.features-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hologram {
    position: relative;
    width: 260px;
    height: 260px;
    transform-style: preserve-3d;
    animation: rotateCube 10s linear infinite;
    border-radius: 12px;
}

.hologram .face {
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.15), rgba(164, 255, 0, 0.1));
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.3),
        inset 0 0 40px rgba(0, 255, 255, 0.2),
        0 0 60px rgba(164, 255, 0, 0.2);
    border-radius: 12px;
}

/* Position faces */
.hologram .face.front  { transform: translateZ(130px); }
.hologram .face.back   { transform: rotateY(180deg) translateZ(130px); }
.hologram .face.right  { transform: rotateY(90deg) translateZ(130px); }
.hologram .face.left   { transform: rotateY(-90deg) translateZ(130px); }
.hologram .face.top    { transform: rotateX(90deg) translateZ(130px); }
.hologram .face.bottom { transform: rotateX(-90deg) translateZ(130px); }

@keyframes rotateCube {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to   { transform: rotateX(360deg) rotateY(360deg); }
}


/* Games Section */
#games {
    padding: 100px 5%;
    background-color: rgba(30, 30, 30, 0.3);
}

#games h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.5);
}

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

.game-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition-speed) ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 194, 255, 0.3);
    padding-bottom: 20px;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.5);
}

.game-image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(30, 30, 30, 1) 0%, rgba(30, 30, 30, 0) 20%);
    z-index: 1;
    pointer-events: none;
}

.game-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-speed) ease;
}

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

.game-card h3 {
    padding: 20px 20px 15px;
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-color);
}

.game-button {
    display: block;
    width: 60%;
    margin: 0 auto;
    padding: 10px;
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 0 5px var(--secondary-color);
}

.game-button:hover {
    background-color: rgba(0, 194, 255, 0.1);
    color: var(--text-color);
    box-shadow: 0 0 15px var(--secondary-color);
    transform: scale(1.05);
}

/* Disclaimer Section */
#disclaimer {
    padding: 80px 5% 40px;
    background-color: var(--background);
}

.disclaimer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    text-align: center;
}

.disclaimer-container h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: rgba(18, 18, 18, 0.9);
    padding: 40px 5% 20px;
    border-top: 1px solid rgba(164, 255, 0, 0.3);
}

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

.footer-logo h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    padding: 5px 10px;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Game Page Styles */
.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.game-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(164, 255, 0, 0.5);
}

.game-frame-container {
    width: 100%;
    padding: 10px;
    background-color: var(--card-bg);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.5);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
}

.back-to-games {
    display: inline-block;
    margin: 30px 0;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--secondary-color);
    transition: all var(--transition-speed) ease;
}

.back-to-games:hover {
    background-color: rgba(0, 194, 255, 0.1);
    box-shadow: 0 0 15px var(--secondary-color);
    transform: scale(1.05);
}

/* Contact Page Styles */
.contact-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.contact-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(164, 255, 0, 0.5);
}

.contact-form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(18, 18, 18, 0.8);
    border: 1px solid var(--secondary-color);
    color: var(--text-color);
    border-radius: 4px;
    font-family: 'Share Tech Mono', monospace;
    box-shadow: 0 0 5px var(--secondary-color);
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

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

.submit-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-size: 1rem;
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary-color);
    transition: all var(--transition-speed) ease;
    display: block;
    margin: 0 auto;
}

.submit-button:hover {
    background-color: rgba(164, 255, 0, 0.1);
    box-shadow: 0 0 20px var(--primary-color);
    transform: scale(1.05);
}

/* Terms and Privacy Pages */
.legal-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.legal-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(164, 255, 0, 0.5);
}

.legal-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.3);
}

.legal-content h2 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
    border-bottom: 1px solid rgba(0, 194, 255, 0.3);
    padding-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    max-width: 400px;
    text-align: center;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 20px;
}

.close-button {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 10px 20px;
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 0 5px var(--secondary-color);
    transition: all var(--transition-speed) ease;
}

.close-button:hover {
    background-color: rgba(0, 194, 255, 0.1);
    box-shadow: 0 0 15px var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 5%;
    }
    
    nav ul {
        margin-top: 15px;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .features-container {
        flex-direction: column;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
    }
    
    .game-card {
        min-width: 100%;
    }
}