:root {
    --bg-color: #090914;
    --card-bg: rgba(255, 255, 255, 0.04);
    --border-color: rgba(255, 255, 255, 0.1);
    --neon-purple: #8B5CF6;
    --neon-pink: #EC4899;
    --neon-blue: #06B6D4;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.6);
}

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

body {
    width: 100%;
}

.site-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    min-height: 100vh;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Background Gradients */
.bg-glow {
    position: fixed;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(9, 9, 20, 0) 70%);
    top: -20vw;
    left: -20vw;
    z-index: -1;
}

.bg-glow-bottom {
    position: fixed;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(9, 9, 20, 0) 70%);
    bottom: -15vw;
    right: -15vw;
    z-index: -1;
}

nav {
    display: flex;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--neon-purple);
}

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

.hero {
    position: relative;
    z-index: 10;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    color: var(--neon-blue);
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

select option {
    background-color: #1a1a2e; /* Darker background for the dropdown */
    color: white;
    padding: 10px;
}

button {
    width: 100%;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.3s;
    margin-top: 1rem;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

/* Privacy Specific */
.meta {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 2rem;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

li {
    margin-bottom: 0.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

th, td {
    padding: 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--neon-blue);
}

@media (max-width: 600px) {
    .glass-card {
        padding: 1.5rem;
    }
    h1 {
        font-size: 2rem;
    }
}

.hidden {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 6rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.animate-gradient {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink), var(--neon-blue), var(--neon-purple));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease infinite;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover, .glow-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.mobile-game-title {
    display: none; /* Hidden on desktop */
}

/* Revolver Layout */
.games-section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.revolver-layout {
    display: flex;
    align-items: center;
    min-height: 700px;
    position: relative;
    padding: 2rem 0;
}

.revolver-container {
    width: 100%;
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (min-width: 901px) {
    .revolver-layout::before {
        content: '';
        position: absolute;
        top: -600px;
        bottom: -600px;
        left: -50vw;
        right: -50vw;
        pointer-events: none;
        z-index: 5;
        background: radial-gradient(circle at calc(100% - 50vw - 450px) 50%, transparent 250px, rgba(9, 9, 20, 0.9) 750px);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        -webkit-mask-image: radial-gradient(circle at calc(100% - 50vw - 450px) 50%, transparent 250px, black 750px);
        mask-image: radial-gradient(circle at calc(100% - 50vw - 450px) 50%, transparent 250px, black 750px);
    }
}

.revolver-wheel {
    position: absolute;
    left: calc(100% - 1300px); /* Adjust wheel center so active card touches right edge */
    top: 50%;
    margin-top: -400px;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    transform-origin: center center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.revolver-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    transition: opacity 0.4s;
    opacity: 0.3;
}

.revolver-card.active {
    opacity: 1;
    z-index: 10;
}

.img-wrapper {
    position: relative;
    width: 250px;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.revolver-card img, .revolver-card .mock-img {
    width: 100%;
    aspect-ratio: 1 / 2.06;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s;
    pointer-events: none; /* Easier dragging */
}

.revolver-card.active img, .revolver-card.active .mock-img {
    transform: scale(1.3); /* Enlarge active card by 30% on desktop */
    filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.6));
}

/* Right Panel (Now overlaying on the left) */
.game-info-panel {
    position: absolute;
    left: 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 400px;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through to the wheel behind */
}

.game-info-panel * {
    pointer-events: auto; /* Re-enable clicks on text and buttons */
}

.game-info-panel h2 {
    font-size: clamp(2rem, 6vw, 3rem);
}

#game-info-content {
    height: 300px; /* Fixed height so buttons never shift */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align text to top */
}

.game-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.game-desc {
    font-size: clamp(1rem, 4vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

.revolver-controls {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.nav-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--neon-purple);
    transform: scale(1.1);
}

/* Features & Contact Sections */
.contact-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.features-section {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.feature {
    text-align: center;
    padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--neon-pink);
}

.feature h3 {
    color: var(--neon-pink);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .revolver-card.active img, .revolver-card.active .mock-img {
        transform: scale(1.4); /* 40% zoom on mobile */
    }
    .revolver-layout {
        flex-direction: column;
    }
    .revolver-container {
        width: 100%;
        height: 600px;
    }
    .revolver-wheel {
        left: calc(50% - 750px);
    }
    .game-info-panel {
        position: relative;
        left: auto;
        padding: 0 1.5rem;
        align-items: center;
        text-align: center;
        width: 100%;
        margin: -6rem auto 0; /* Move higher, closer to the graphic */
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .desktop-title, .desktop-only-title {
        display: none !important;
    }
    .mobile-title {
        display: block !important;
    }
    .mobile-game-title {
        display: flex !important;
    }
    .game-title {
        /* Handled by global clamp() */
    }
    .game-desc {
        /* Handled by global clamp() */
    }
    .revolver-controls {
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
    }
    /* Buttons rotate to match new swipe axis? Since it's still rotating the wheel, up/down or left/right both work. Let's keep it simple. */
    .animate-gradient { font-size: 2.8rem; }
}

@media (max-width: 600px) {
    .img-wrapper {
        width: 140px; /* Reduced from 180px */
    }
    .game-title {
        /* Handled by global clamp() */
    }
    .animate-gradient { /* Handled by global clamp() */ }
    .hero { padding: 4rem 1rem 2rem; }
    #game-info-content {
        height: 100px;
    }
}


/* Store Buttons */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.store-btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.store-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

.store-btn:hover::before {
    opacity: 1;
}

.store-icon {
    width: 32px;
    height: 32px;
    fill: white;
    margin-right: 12px;
    transition: fill 0.3s;
}

.store-btn.google:hover .store-icon {
    fill: #06B6D4;
}

.store-btn.apple:hover .store-icon {
    fill: #EC4899;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.store-text strong {
    font-size: 1.2rem;
    font-weight: 800;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating elements */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    filter: blur(40px);
    opacity: 0.2;
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

/* Footer Styles */
.site-footer {
    margin-top: 8rem;
    padding: 4rem 1rem 2rem;
    border-top: 1px solid var(--border-color);
    background: rgba(15, 10, 30, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.link-col h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.link-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.link-col a:hover {
    color: var(--neon-pink);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.footer-socials a:hover {
    color: var(--neon-blue);
}

@media (max-width: 600px) {
    .footer-top {
        flex-direction: column;
    }
    .footer-links {
        gap: 2rem;
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        gap: 1.5rem;
        padding-bottom: 2rem;
    }
    .footer-socials {
        justify-content: center;
    }
}
