/* ============================================
   idmonster.cc — Cyberpunk Variant
   ============================================ */

/* === Color Palette === */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #0f0f0f;
    --accent: #00ff9d;
    --accent-dim: #00cc7d;
    --accent-glow: rgba(0, 255, 157, 0.4);
    --accent-subtle: rgba(0, 255, 157, 0.1);
    --text-primary: #e0e0e0;
    --text-secondary: #888888;
    --text-muted: #555555;
    --danger: #ff3366;
    --warning: #ffcc00;
    --border: rgba(0, 255, 157, 0.2);
}

/* === Base Styles === */
body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* === Matrix Background === */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

/* === Navigation === */
.nav {
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-mono);
    font-weight: 700;
}

.logo-bracket {
    color: var(--accent);
}

.logo-accent {
    color: var(--accent);
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--accent);
}

/* === Buttons === */
.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-weight: 700;
    border: 2px solid var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow), inset 0 0 20px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-outline:hover {
    background: var(--accent-subtle);
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-block {
    width: 100%;
}

.btn-bracket {
    opacity: 0.7;
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--accent-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle-line {
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-1 2s infinite linear alternate-reverse;
    color: var(--danger);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 3s infinite linear alternate-reverse;
    color: var(--accent);
    z-index: -2;
}

@keyframes glitch-1 {

    0%,
    100% {
        clip-path: inset(0 0 95% 0);
        transform: translate(-2px, 2px);
    }

    20% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(2px, -2px);
    }

    40% {
        clip-path: inset(60% 0 20% 0);
        transform: translate(-2px, 2px);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, -2px);
    }

    80% {
        clip-path: inset(10% 0 75% 0);
        transform: translate(-2px, 2px);
    }
}

@keyframes glitch-2 {

    0%,
    100% {
        clip-path: inset(95% 0 0 0);
        transform: translate(2px, -2px);
    }

    20% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(-2px, 2px);
    }

    40% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(2px, -2px);
    }

    60% {
        clip-path: inset(5% 0 80% 0);
        transform: translate(-2px, 2px);
    }

    80% {
        clip-path: inset(75% 0 10% 0);
        transform: translate(2px, -2px);
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.text-accent {
    color: var(--accent);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    font-family: var(--font-mono);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-divider {
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Card Scanner */
.card-scanner {
    position: relative;
    width: 450px;
}

.scanner-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1.6/1;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 40px var(--accent-glow);
}

.scanner-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--accent);
    z-index: 10;
}

.scanner-corner.tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.scanner-corner.tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.scanner-corner.bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.scanner-corner.br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent);
    z-index: 5;
    animation: scan 2.5s ease-in-out infinite;
}

@keyframes scan {

    0%,
    100% {
        top: 10px;
        opacity: 1;
    }

    50% {
        top: calc(100% - 10px);
        opacity: 0.8;
    }
}

.card-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide-item.active {
    opacity: 1;
}

/* APPROVED Slide */
.approved-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.1), rgba(0, 100, 60, 0.2));
    border: 2px solid var(--accent);
}

.approved-text {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow), 0 0 60px var(--accent-glow);
    animation: pulse-glow 1s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        text-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
    }

    50% {
        text-shadow: 0 0 40px var(--accent-glow), 0 0 80px var(--accent-glow);
    }
}

.scanner-label {
    text-align: center;
    margin-top: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    animation: pulse 2s infinite;
}

/* === Section Styles === */
.section {
    border-top: 1px solid var(--border);
}

.section-title {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.terminal-prompt {
    color: var(--accent);
}

/* === Features === */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-subtle);
}

.feature-card.featured::before {
    opacity: 1;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-subtle);
}

.feature-title {
    font-family: var(--font-mono);
    color: var(--accent);
}

.feature-cost {
    display: inline-block;
    margin-top: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--accent-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
}

.tokens-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.token-calculator {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    font-family: var(--font-mono);
    overflow: hidden;
}

.calculator-header {
    padding: var(--space-md);
    background: var(--accent-subtle);
    border-bottom: 1px solid var(--border);
    color: var(--accent);
    font-size: 0.875rem;
}

.token-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.token-row:last-child {
    border-bottom: none;
}

.token-operation {
    color: var(--text-secondary);
}

.token-cost {
    color: var(--accent);
    font-weight: 700;
}

/* Buy Tokens Panel */
.buy-tokens {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.buy-title {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.buy-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
}

.token-packages {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.token-package {
    flex: 1;
    padding: var(--space-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.token-package:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-subtle);
}

.token-package.popular {
    border-color: var(--accent);
    background: var(--accent-subtle);
}

.package-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 8px;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.package-amount {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.package-price {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.crypto-methods {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.crypto-methods .crypto-badge {
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .tokens-wrapper {
        grid-template-columns: 1fr;
    }

    .token-packages {
        flex-direction: column;
    }
}

/* === Pricing === */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-subtle);
}

.pricing-badge {
    background: var(--accent);
    color: var(--bg-primary);
}

.pricing-name {
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.pricing-price {
    color: var(--accent);
    font-family: var(--font-mono);
}

.pricing-features li::before {
    color: var(--accent);
}

/* === Crypto Section === */
.crypto-section {
    background: var(--bg-secondary);
}

.crypto-badge {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.crypto-badge:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-subtle);
}

.crypto-icon {
    font-size: 1.25rem;
    color: var(--accent);
}

.crypto-notice {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--accent-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.notice-icon {
    color: var(--accent);
}

/* === FAQ === */
.faq-item {
    border-color: var(--border);
}

.faq-question {
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question::after {
    color: var(--accent);
}

/* === Footer === */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-column h4 {
    color: var(--accent);
    font-family: var(--font-mono);
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-seo {
    font-size: 0.75rem;
    margin-top: var(--space-sm);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .card-hologram {
        width: 280px;
        height: 176px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }
}