:root {
    --bg-color: #050508;
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff00ff;
    --glass-bg: rgba(10, 10, 15, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 2rem 0;
}

/* ========================================= */
/* Boot Screen (Loading) */
/* ========================================= */
.site-boot {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.site-boot.hidden {
    opacity: 0;
    visibility: hidden;
}

.site-boot__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pulse 2s infinite ease-in-out;
}

.site-boot__mark {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.4));
}

.site-boot__brand {
    font-family: 'SEGA LOGO FONT', sans-serif;
    color: #ff0033;
    font-size: 1.2rem;
    letter-spacing: 5px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.7), 0 0 20px rgba(255, 0, 51, 0.4);
}

.site-boot__product {
    font-family: 'SEGA LOGO FONT', sans-serif;
    color: #fff;
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(0, 243, 255, 0.5);
    margin-bottom: 30px;
}

.site-boot__loader {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.site-boot__loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: fillLoader 1.8s ease-out forwards;
}

@keyframes fillLoader {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.98); opacity: 0.8; }
}

/* ========================================= */
/* Top Navigation */
/* ========================================= */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    z-index: 100;
    pointer-events: auto;
}

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

.nav-btn-text {
    color: #bbb;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-btn-text:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.nav-btn-download {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn-download:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.apple-logo {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* ========================================= */
/* Symmetrical LED Background System */
/* ========================================= */

.led-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.led {
    position: absolute;
    top: -10%;
    width: 4px;
    height: 120%;
    opacity: 0.7;
    will-change: transform, opacity;
}

.led-cyan {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
}

.led-magenta {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
}

/* Animations restored with GPU acceleration */
.led-fast {
    animation: pulse-fast 2s infinite alternate;
}
.led-slow {
    animation: pulse-slow 6s infinite alternate;
}
.led-flicker {
    animation: flicker 4s infinite;
}

@keyframes pulse-fast {
    0% { opacity: 0.3; transform: scaleX(1) translateZ(0); }
    100% { opacity: 0.9; transform: scaleX(2) translateZ(0); }
}

@keyframes pulse-slow {
    0% { opacity: 0.4; transform: translateZ(0); }
    100% { opacity: 0.8; transform: translateZ(0); }
}

@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% { opacity: 0.9; transform: translateZ(0); }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% { opacity: 0.2; transform: translateZ(0); }
}

.cyber-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    perspective: 1000px;
    transform: rotateX(60deg) translateY(-100px) scale(2);
    transform-origin: top;
    /* Animation removed for performance (prevents heavy GPU usage on Macs) */
}

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

/* ========================================= */
/* Glassmorphism Main Content */
/* ========================================= */

.glass-panel {
    position: relative;
    z-index: 10;
    /* Opus Fix: Fake Glassmorphism for 0% GPU Usage */
    background: linear-gradient(
        135deg,
        rgba(10, 10, 15, 0.9),
        rgba(5, 5, 10, 0.95)
    );
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 4rem;
    text-align: center;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.top-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.1);
    margin: 0 auto 1.5rem auto;
    background: #000;
}
.top-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@font-face {
    font-family: 'SEGA';
    src: url('SEGA.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.logo-text {
    font-family: 'SEGA', sans-serif;
    font-size: 2rem;
    letter-spacing: 4px;
    color: #ff003c;
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.6);
    margin-bottom: 0.5rem;
}

h1.glitch {
    font-family: 'SEGA', sans-serif;
    font-size: 4rem;
    font-weight: normal;
    margin: 0;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
    position: relative;
    display: inline-block;
    color: #fff;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: #aaa;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.content p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ========================================= */
/* App Store Badge */
/* ========================================= */

.app-store-badge {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.app-store-badge:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.app-store-badge svg {
    width: 28px;
    height: 35px;
    fill: #fff;
    margin-right: 12px;
}

.app-store-badge .badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.app-store-badge .small-text {
    font-size: 0.65rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2px;
}

.app-store-badge .big-text {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.5px;
}

.platforms {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 2px;
}

/* ========================================= */
/* Screenshots Slider */
/* ========================================= */

.app-screenshots {
    margin: 3rem 0 2rem 0;
    width: 100%;
    position: relative;
}

.screenshots-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.screenshots-container::-webkit-scrollbar {
    display: none;
}

.promo-card {
    flex: 0 0 85%;
    border-radius: 20px;
    padding: 30px 20px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    scroll-snap-align: center;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 243, 255, 0.2);
}

.promo-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.promo-text p {
    color: var(--neon-cyan);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.promo-device {
    width: 95%;
    max-width: 320px;
    background: #050505;
    border-radius: 20px 20px 0 0;
    border: 6px solid #1a1a2e;
    border-bottom: none;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    min-height: 250px;
}

/* Single Screenshot Overrides */
.single-screenshot-view .screenshots-container {
    justify-content: center;
    padding-bottom: 0;
}
.single-screenshot-view .promo-card {
    flex: 0 0 95%;
    max-width: 700px;
}
.single-device {
    max-width: 90%;
    border-radius: 20px;
    border-bottom: 6px solid #1a1a2e;
    margin-bottom: 30px;
}

.promo-device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.slider-hint {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: var(--neon-magenta);
    letter-spacing: 4px;
    margin-top: 5px;
    opacity: 0.7;
    animation: pulse-slow 3s infinite alternate;
}

/* ========================================= */
/* Tech Specs & Footer */
/* ========================================= */

.tech-specs {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
    font-size: 0.85rem;
    color: #888;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border-left: 2px solid var(--neon-cyan);
}

.spec-val {
    color: #ddd;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* ========================================= */
/* Pricing Cards */
/* ========================================= */

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 2rem;
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 3px;
    bottom: 3px;
    background-color: var(--neon-cyan);
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
}

input:checked + .slider {
    background-color: rgba(255, 235, 59, 0.1);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: #ffeb3b;
    box-shadow: 0 0 10px #ffeb3b;
}

.pricing-cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    width: 280px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.2);
}

.card-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.price span {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}

.or-yearly {
    display: block;
    font-size: 0.8rem !important;
    color: var(--neon-cyan) !important;
    margin-top: 0.5rem;
}

.card-features {
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.card-features p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.select-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.basic-btn {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}
.basic-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.pro-btn {
    background: #ffeb3b;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 235, 59, 0.4);
}
.pro-btn:hover {
    box-shadow: 0 0 30px rgba(255, 235, 59, 0.8);
    transform: scale(1.05);
}

.token-btn {
    background: transparent;
    color: #ff9800;
    border: 1px solid #ff9800;
}
.token-btn:hover {
    background: #ff9800;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.4);
}

.badge {
    display: inline-block;
    background: #ffeb3b;
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
}

/* Glow Borders */
.basic-card { border-color: rgba(0, 243, 255, 0.3); }
.basic-card:hover { border-color: var(--neon-cyan); }
.pro-card { border-color: rgba(255, 235, 59, 0.3); }
.pro-card:hover { border-color: #ffeb3b; }
.token-card { border-color: rgba(255, 152, 0, 0.3); }
.token-card:hover { border-color: #ff9800; }

footer {
    margin-top: 3rem;
    padding-bottom: 1.5rem;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: #ccc;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.footer-divider {
    color: #444;
}

.footer-text {
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    h1.glitch { font-size: 2.5rem; }
    .features { flex-direction: column; gap: 1rem; }
    .glass-panel { padding: 2rem; }
    .spec-row { flex-direction: column; gap: 0.3rem; }
}
