/* GLITCH SYSTEM STYLES */

:root {
    --color-bg: #050505;
    --color-bg-alt: #0a0a0a;
    --color-text: #e0e0e0;
    --color-cyan: #00f3ff;
    --color-magenta: #ff00ff;
    --color-grid: rgba(0, 243, 255, 0.05);

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(var(--color-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
.logo,
.btn-primary,
.btn-sm {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.highlight {
    color: var(--color-cyan);
    text-shadow: 0 0 10px var(--color-cyan);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.dot {
    color: var(--color-magenta);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2);
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, var(--color-bg) 90%);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.1;
    position: relative;
    color: #fff;
    text-shadow: 2px 2px 0px var(--color-magenta), -2px -2px 0px var(--color-cyan);
}

.sub-headline {
    font-family: var(--font-heading);
    color: var(--color-cyan);
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: #ccc;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--color-cyan);
    color: var(--color-cyan);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.btn-primary:hover {
    background: var(--color-cyan);
    color: var(--color-bg);
    box-shadow: 0 0 20px var(--color-cyan);
}

.btn-sm {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    transition: all 0.3s;
}

.btn-sm:hover {
    border-color: var(--color-magenta);
    color: var(--color-magenta);
    box-shadow: 0 0 10px var(--color-magenta);
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* Problem Section */
.problem {
    text-align: center;
    background: var(--color-bg-alt);
}

.scramble-text {
    font-family: monospace;
    color: var(--color-magenta);
    margin-bottom: 15px;
}

.problem h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.problem p {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    position: relative;
    transition: transform 0.3s;
}

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

.feature-card img {
    width: 100%;
    margin-top: 20px;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.feature-card:hover img {
    filter: grayscale(0%);
}

.icon-box {
    color: var(--color-cyan);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 900px;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 400px;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: filter 0.3s;
}

.carousel-slide:hover img {
    filter: brightness(1) contrast(1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-cyan);
    border: 1px solid var(--color-cyan);
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: var(--color-cyan);
    color: #000;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transform: skew(-20deg);
    transition: background 0.3s;
}

.indicator.active {
    background: var(--color-magenta);
    box-shadow: 0 0 10px var(--color-magenta);
}

/* Base Gallery Styling */
.gallery {
    background: #000;
    overflow: hidden;
    padding: 0;
}

/* Marquee/Gallery */
.marquee {
    background: var(--color-magenta);
    color: var(--color-bg);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    transform: rotate(-2deg) scale(1.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Lore / Terminal Section */
.lore {
    background-color: #000;
    padding: 60px 0;
}

.terminal-window {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    text-align: left;
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-title {
    margin-left: 15px;
    font-size: 0.8rem;
    color: #888;
}

.terminal-body {
    padding: 20px;
    color: var(--color-cyan);
    font-size: 0.95rem;
}

.terminal-body p {
    margin-bottom: 15px;
    line-height: 1.4;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Section Subtitles */
.section-subtitle {
    margin-bottom: 40px;
    color: #888;
    text-align: center;
}

/* How to Play */
.how-to-play {
    background: var(--color-bg-alt);
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.step-icon {
    font-size: 3rem;
    color: var(--color-magenta);
    margin-bottom: 20px;
    background: rgba(255, 0, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 10px;
}

.step-arrow {
    align-self: center;
    color: #333;
    font-size: 2rem;
}

.cta-center {
    margin-top: 40px;
}

/* Backstage / Bastidores */
.backstage {
    background: #080808;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.backstage-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.backstage h2 {
    color: #fff;
    margin-bottom: 20px;
}

.testimonials {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

blockquote {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-left: 3px solid var(--color-cyan);
    font-style: italic;
    color: #ccc;
    text-align: left;
}

cite {
    color: var(--color-cyan);
    font-weight: bold;
    font-style: normal;
    font-size: 0.9rem;
    display: block;
    margin-top: 10px;
}

/* Responsive adjustments for steps */
@media (max-width: 768px) {
    .step-arrow {
        display: none;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }
}

/* Lore / Terminal Section */
.lore {
    background-color: #000;
    padding: 60px 0;
}

.terminal-window {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    text-align: left;
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-title {
    margin-left: 15px;
    font-size: 0.8rem;
    color: #888;
}

.terminal-body {
    padding: 20px;
    color: var(--color-cyan);
    font-size: 0.95rem;
}

.terminal-body p {
    margin-bottom: 15px;
    line-height: 1.4;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Section Subtitles */
.section-subtitle {
    margin-bottom: 40px;
    color: #888;
    text-align: center;
}

/* How to Play */
.how-to-play {
    background: var(--color-bg-alt);
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.step-icon {
    font-size: 3rem;
    color: var(--color-magenta);
    margin-bottom: 20px;
    background: rgba(255, 0, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 10px;
}

.step-arrow {
    align-self: center;
    color: #333;
    font-size: 2rem;
}

.cta-center {
    margin-top: 40px;
}

/* Backstage / Bastidores */
.backstage {
    background: #080808;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.backstage-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.backstage h2 {
    color: #fff;
    margin-bottom: 20px;
}

.testimonials {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

blockquote {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-left: 3px solid var(--color-cyan);
    font-style: italic;
    color: #ccc;
    text-align: left;
}

cite {
    color: var(--color-cyan);
    font-weight: bold;
    font-style: normal;
    font-size: 0.9rem;
    display: block;
    margin-top: 10px;
}

/* Responsive adjustments for steps */
@media (max-width: 768px) {
    .step-arrow {
        display: none;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }
}

/* Scarcity */
.scarcity {
    text-align: center;
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.7)), url('../images/scarcity_factory_background_1769714064054.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Optional: fixed attachment for parallax feel if desired, though mobile support varies */
    background-attachment: fixed;
}

.scarcity-box {
    border: 2px solid var(--color-text);
    padding: 60px;
    position: relative;
    display: inline-block;
}

.scarcity h2 {
    font-size: 2rem;
    margin: 10px 0;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-cyan);
    font-weight: 900;
}

/* Footer / Form */
footer {
    padding: 100px 0 50px;
    background: #000;
    text-align: center;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto 80px;
}

.cta-box h2 {
    color: var(--color-cyan);
}

.cta-box h2 {
    color: var(--color-cyan);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.input-group input {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-align: center;
}

.input-group input:focus {
    outline: none;
    border-color: var(--color-cyan);
    background: rgba(0, 243, 255, 0.05);
}

.footer-links {
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

.socials a {
    color: #666;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--color-cyan);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .scarcity-box {
        padding: 30px;
        border: none;
    }
}

/* FAQ Section */
.faq {
    background: #050505;
    padding: 80px 0;
    border-top: 1px solid #222;
}

.faq h2 {
    color: var(--color-cyan);
    margin-bottom: 20px;
    text-align: center;
}

.faq-categories {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-category h3 {
    color: var(--color-magenta);
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: inline-block;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-left: 3px solid #333;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.faq-item:hover {
    border-left-color: var(--color-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.05);
}

.faq-item h4 {
    color: var(--color-white);
    margin-bottom: 5px;
    /* Reduced margin initially */
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item:hover h4 {
    color: var(--color-cyan);
}

.faq-item h4::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--color-magenta);
    transition: transform 0.3s;
}

.faq-item:hover h4::after {
    transform: rotate(45deg);
    content: '+';
}

.faq-item p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
}

.faq-item:hover p {
    max-height: 500px;
    /* Arbitrary large height to allow content */
    opacity: 1;
    transform: translateY(0);
    margin-top: 15px;
}

.faq-item strong {
    color: var(--color-cyan);
}

/* Pricing Anchoring */
.pricing-block {
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed #333;
    border-radius: 4px;
}

.pricing-title {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

.price-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.old-price {
    color: #666;
    text-decoration: line-through;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
}

.old-price .label {
    font-size: 0.8rem;
    text-decoration: none;
    margin-left: 5px;
}

.new-price {
    color: var(--color-cyan);
    font-size: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    display: flex;
    /* Ensure it stays on one line on desktop */
    align-items: baseline;
    gap: 5px;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
    justify-content: center;
}

.new-price .from {
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    color: var(--color-white);
    font-weight: 400;
    margin-right: 5px;
}

.new-price .currency {
    font-size: 1.5rem;
}

.new-price .label {
    font-size: 1.3rem;
    /* Increased size significantly */
    color: var(--color-magenta);
    font-family: 'Rajdhani', sans-serif;
    display: block;
    width: 100%;
    margin-top: 5px;
    font-weight: 700;
    /* Bold */
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
    /* Added glow */
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .price-row {
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;
        gap: 30px;
    }

    .new-price .label {
        width: auto;
        margin-top: 0;
        margin-left: 10px;
    }
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border: 1px solid var(--color-cyan);
    min-width: 80px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.time-block span {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--color-white);
    font-weight: 700;
}

.time-block small {
    color: var(--color-magenta);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-top: 5px;
}

@media (max-width: 600px) {
    .time-block {
        min-width: 60px;
        padding: 10px;
    }

    .time-block span {
        font-size: 1.8rem;
    }
}