/* ============================================
   SHARED HERO & LAYOUT - Bitcoin Arcade Zone
   Single source of truth for hero sections,
   block letter logos, and card layouts
   ============================================ */

/* ============ HERO SECTION ============ */
.hero-section {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    padding: 70px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

/* ============ BLOCK LETTER LOGO ============ */
.hero-brand {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.hero-brand-word {
    display: flex;
    gap: 4px;
}

/* Orange letters (default) */
.letter-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    font-size: 32px;
    font-weight: 900;
    color: #000;
    font-family: 'Nunito', 'Arial Rounded MT Bold', sans-serif;
    transition: all 0.3s ease;
    text-shadow: none;
    line-height: 1;
    background: linear-gradient(135deg, #F7931A 0%, #FFD700 100%);
    border: 2px solid #FFD700;
    box-shadow: 0 0 15px rgba(247, 147, 26, 0.5), inset 0 -3px 0 rgba(0,0,0,0.2);
}

.letter-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(247, 147, 26, 0.8);
}

/* Bitcoin symbol */
.letter-bitcoin-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    font-size: 32px;
    font-weight: 900;
    color: #000;
    font-family: 'Arial Black', 'Helvetica', sans-serif;
    transition: all 0.3s ease;
    text-shadow: none;
    line-height: 1;
    background: linear-gradient(135deg, #F7931A 0%, #FFD700 100%);
    border: 2px solid #FFD700;
    box-shadow: 0 0 15px rgba(247, 147, 26, 0.5), inset 0 -3px 0 rgba(0,0,0,0.2);
}

.letter-bitcoin-symbol:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(247, 147, 26, 0.8);
}

/* Cyan letters (ARCADE on home) */
.letter-cyan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    font-size: 32px;
    font-weight: 900;
    color: #000;
    font-family: 'Nunito', 'Arial Rounded MT Bold', sans-serif;
    transition: all 0.3s ease;
    line-height: 1;
    background: linear-gradient(135deg, #00d4ff 0%, #8B5CF6 100%);
    border: 2px solid #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5), inset 0 -3px 0 rgba(0,0,0,0.2);
}

.letter-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.8);
}

/* Green letters (ZONE on home) */
.letter-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    font-size: 32px;
    font-weight: 900;
    color: #000;
    font-family: 'Nunito', 'Arial Rounded MT Bold', sans-serif;
    transition: all 0.3s ease;
    line-height: 1;
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    border: 2px solid #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5), inset 0 -3px 0 rgba(0,0,0,0.2);
}

.letter-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.8);
}

/* ============ HERO TEXT ============ */
.hero-tagline {
    font-size: 1.4rem;
    color: var(--bitcoin-orange);
    text-shadow: 0 0 20px rgba(247, 147, 26, 0.5);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ============ MAIN CONTENT ============ */
.main-content {
    background: #0a0a0a;
    min-height: 60vh;
    padding: 0 0 2rem 0;
    margin-top: -4rem;
    position: relative;
    z-index: 2;
}

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

/* ============ HERO CARDS ============ */
.hero-cards {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 0 0 1.5rem 0;
    flex-wrap: wrap;
}

a.hero-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hero-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--bitcoin-orange);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    aspect-ratio: 2/3;
    width: 240px;
    min-width: 220px;
    max-width: 270px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 147, 26, 0.15), transparent);
    opacity: 0;
    transition: left 0.5s ease, opacity 0.3s ease;
}

.hero-card:hover::before {
    left: 100%;
    opacity: 1;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(247, 147, 26, 0.3);
}

.hero-card .card-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.hero-card h3 {
    color: var(--bitcoin-orange);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.hero-card .card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    text-align: left;
    font-size: 0.8rem;
    width: 100%;
}

.hero-card .card-features li {
    color: var(--text-secondary);
    padding: 0.15rem 0;
}

.hero-card .card-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background: var(--bitcoin-orange);
    color: #000;
    transition: all 0.3s ease;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    width: calc(100% - 1rem);
}

.hero-card .card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(247, 147, 26, 0.4);
}

.hero-card .card-btn.coming-soon {
    background: transparent;
    border: 2px solid var(--bitcoin-orange);
    color: var(--bitcoin-orange);
}

/* ============ INFO BAR ============ */
.info-bar {
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 650px;
    color: var(--bitcoin-orange);
    font-size: 0.95rem;
}

.info-bar strong {
    color: #fff;
}

/* ============ FEATURE CARDS ============ */
.feature-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--neon-cyan);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    aspect-ratio: 2/3;
    width: 180px;
    min-width: 160px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-decoration: none;
    color: inherit;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

.feature-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    color: var(--neon-cyan);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    flex-grow: 1;
}

.feature-card .status {
    color: var(--neon-cyan);
    font-size: 0.85rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

/* ============ MINI LOGO (footer) ============ */
.mini-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    background: transparent;
}

.mini-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

.mini-logo-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: bold;
    color: #000;
    transition: all 0.3s ease;
    background: var(--bitcoin-orange);
    border: 1px solid #FFD700;
    font-family: 'Nunito', 'Arial Rounded MT Bold', sans-serif;
}

.mini-logo-letter.bitcoin-symbol {
    font-family: 'Arial Black', 'Helvetica', sans-serif;
}

.mini-logo-letter.space {
    background: transparent;
    border: none;
    width: 10px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .letter-orange,
    .letter-bitcoin-symbol,
    .letter-cyan,
    .letter-green {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .hero-cards {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .hero-card {
        width: 90%;
        max-width: 300px;
    }
    
    .feature-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        width: 90%;
        max-width: 250px;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .letter-orange,
    .letter-bitcoin-symbol,
    .letter-cyan,
    .letter-green {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .hero-brand {
        gap: 2px;
    }
    
    .hero-brand-word {
        gap: 2px;
    }
}
