/* ==========================================================================
   PENALAZO LANDING PAGE - CSS
   Aesthetic: Deep Dark Stadium Night, Glowing Neon Green & Gold Tokens
   ========================================================================== */

/* Variables & Theme */
:root {
    --bg-dark: #07070a;
    --bg-card: rgba(18, 18, 29, 0.6);
    --bg-card-border: rgba(57, 255, 20, 0.15);
    
    --primary: #39ff14; /* Neon Green */
    --primary-glow: rgba(57, 255, 20, 0.4);
    --secondary: #ccff00; /* Neon Yellow/Lime */
    --secondary-glow: rgba(204, 255, 0, 0.3);
    
    --gold: #ffd700; /* Gold Token Color */
    --gold-glow: rgba(255, 215, 0, 0.4);
    
    --text-white: #ffffff;
    --text-muted: #9fa0a6;
    --text-dark: #12121d;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --border-radius-lg: 16px;
    --border-radius-md: 10px;
    --border-radius-sm: 6px;
}

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

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

/* Typography styling */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Background Glow Orbs */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
}

.orb-1 {
    top: 10%;
    right: -100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: floatOrb 15s infinite alternate ease-in-out;
}

.orb-2 {
    top: 50%;
    left: -150px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    animation: floatOrb 20s infinite alternate-reverse ease-in-out;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 50px) scale(1.2); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #2bd60f 100%);
    color: var(--text-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(57, 255, 20, 0.4);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.3) 50%, transparent 55%);
    transform: rotate(45deg);
    transition: 0.6s;
    opacity: 0;
}

.btn-glow:hover::after {
    left: 120%;
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 7, 10, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 26px;
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-white);
}

.token-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.token-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold);
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
    transition: var(--transition-fast);
}

.token-pill:hover {
    box-shadow: 0 0 15px var(--gold-glow);
    transform: scale(1.05);
}

.token-icon {
    color: var(--gold);
    font-size: 15px;
    animation: spinToken 5s infinite linear;
}

@keyframes spinToken {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.token-balance {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--gold);
}

.token-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 3px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.1);
}

.badge-accent {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Countdown */
.countdown-wrapper {
    margin: 20px 0 30px 0;
    width: 100%;
}

.countdown-title {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 14px;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.countdown-item {
    background: rgba(18, 18, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 16px 20px;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.countdown-item .number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.countdown-item .label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    font-weight: 600;
}

.countdown-divider {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-muted);
    opacity: 0.5;
    animation: blinkColon 1s infinite alternate;
}

@keyframes blinkColon {
    0% { opacity: 0.2; }
    100% { opacity: 0.8; }
}

@media (max-width: 480px) {
    .countdown-item {
        min-width: 70px;
        padding: 10px 12px;
    }
    .countdown-item .number {
        font-size: 24px;
    }
    .countdown-divider {
        font-size: 20px;
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
    font-weight: 900;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--bg-card-border);
    box-shadow: 0 15px 35px rgba(57, 255, 20, 0.06);
}

.feature-card:hover::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.card-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 24px;
    background: rgba(57, 255, 20, 0.05);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(57, 255, 20, 0.1);
}

.card-icon.golden {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.card-title {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.card-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Pulse animation for the trophy/important card */
.animate-pulse {
    animation: cardPulse 4s infinite alternate;
}

@keyframes cardPulse {
    0% { border-color: rgba(255, 255, 255, 0.05); }
    100% { border-color: rgba(255, 215, 0, 0.3); box-shadow: 0 5px 25px rgba(255, 215, 0, 0.05); }
}

/* Interactive Mini-Game Section */
.demo-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, #0c0d16 50%, transparent 100%);
}

.game-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
    background: rgba(14, 15, 27, 0.8);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(57, 255, 20, 0.1);
}

.game-scorebar {
    display: flex;
    justify-content: space-around;
    padding: 16px 20px;
    background: rgba(22, 23, 41, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

.score-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: var(--text-white);
}

.token-profit .score-value {
    animation: goldPulse 2s infinite alternate;
}

@keyframes goldPulse {
    0% { text-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
    100% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.7); }
}

.canvas-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #050608;
    aspect-ratio: 16/9;
}

#shootout-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 6, 8, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
    z-index: 10;
}

.canvas-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
    padding: 30px;
    max-width: 450px;
}

.overlay-content h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

.overlay-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.game-feedback {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-feedback.show-goal {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    color: var(--primary);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
}

.game-feedback.show-save {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    color: #ff3366;
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.6);
}

.game-instructions {
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(22, 23, 41, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

/* Waitlist Section */
.waitlist-section {
    padding: 100px 0;
    position: relative;
}

.waitlist-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: linear-gradient(135deg, rgba(16, 17, 30, 0.9) 0%, rgba(10, 11, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
    .waitlist-box {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 40px;
    }
}

.waitlist-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.waitlist-info h2 {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 900;
}

.waitlist-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 15px;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 500;
}

.benefit-list li i {
    color: var(--primary);
    font-size: 16px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.waitlist-form-container {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-form {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition-smooth);
}

.form-header {
    margin-bottom: 24px;
}

.form-header h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.form-header p {
    font-size: 13px;
    color: var(--text-muted);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.input-wrapper input {
    width: 100%;
    background: rgba(7, 7, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px 14px 44px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-white);
    border-radius: var(--border-radius-md);
    outline: none;
    transition: var(--transition-smooth);
}

.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
}

.input-wrapper input:focus + .input-icon {
    color: var(--primary);
}

/* Success Card */
.form-success-card {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    width: 100%;
    background: rgba(18, 18, 29, 0.95);
    border: 2px solid var(--primary);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(57, 255, 20, 0.1);
    animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon {
    font-size: 54px;
    color: var(--primary);
    margin-bottom: 20px;
    animation: iconBounce 1s infinite alternate;
}

@keyframes iconBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.form-success-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.form-success-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.registered-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    margin-bottom: 24px;
    width: 100%;
}

.registered-details p {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.registered-details p:last-child {
    margin-bottom: 0;
}

.success-note {
    font-size: 12px !important;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-list {
    max-width: 750px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-arrow {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); /* Quick close */
    padding: 0 28px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Active FAQ Item styles */
.faq-item.active {
    border-color: rgba(57, 255, 20, 0.25);
    box-shadow: 0 5px 20px rgba(57, 255, 20, 0.03);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Large enough to hold text */
    padding-bottom: 22px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0); /* Smooth open */
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Footer */
.main-footer {
    background: #050608;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand .logo-text {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 300px;
}

.footer-links h4,
.footer-socials h4 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    color: var(--text-white);
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-glow);
    border-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}
