:root {
    --bg: #000000;
    --card: #161616;
    --gold: #f0b429;
    --gold-dim: #b8860b;
    --orange: #ff6b00;
    --text: #f0f0f0;
    --text-dim: #a0a0a0;
    --border: #2a2a2a;
}

* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }

/* Typography */
h1, h2, h3, .coin-header { font-family: 'Playfair Display', serif; }
.gold-gradient-text {
    background: linear-gradient(to right, var(--gold), #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg) url('img/both-together.png') center/contain no-repeat;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    background:
        linear-gradient(to right, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%),
        linear-gradient(to bottom, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%),
        radial-gradient(ellipse 70% 70% at center, transparent 50%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 20px; }
.hero h1 { font-size: 4.5rem; margin-bottom: 10px; }
.hero h2 { font-size: 1.8rem; font-weight: 300; margin-bottom: 30px; color: var(--text-dim); }

.btn-gold {
    display: inline-block;
    padding: 18px 45px;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(240, 180, 41, 0.3);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(240, 180, 41, 0.5); }

/* Counter & Section Titles */
.section-label { text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; color: var(--gold); margin-bottom: 10px; }
.main-counter { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 700; margin: 20px 0; }
.gold-glow { text-shadow: 0 0 20px rgba(240, 180, 41, 0.4); }
.counter-section { text-align: center; border-bottom: 1px solid var(--border); }

/* Cat Cards & Radial Mask */
.cats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cat-card { background: var(--card); border-radius: 20px; overflow: hidden; border: 1px solid var(--border); transition: 0.4s; }
.cat-card:hover { border-color: var(--gold-dim); }

.img-wrapper { width: 100%; position: relative; }
.cat-image {
    width: 100%; display: block;
    mask-image: radial-gradient(ellipse 90% 90% at center, black 75%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at center, black 75%, transparent 100%);
}

.cat-info { padding: 40px; }
.status-badge { font-size: 0.75rem; background: #000; padding: 5px 12px; border-radius: 20px; border: 1px solid var(--orange); }
.role { color: var(--gold); font-style: italic; margin-bottom: 15px; }

/* Timeline */
.timeline-container { overflow-x: auto; padding: 40px 0; }
.timeline { display: flex; min-width: 800px; justify-content: space-between; position: relative; }
.milestone, .milestone-beyond { flex: 1; text-align: center; opacity: 0.25; transition: 0.5s; }
.milestone.reached { opacity: 1; color: var(--gold); }
.milestone.active { opacity: 0.8; color: var(--orange); }

/* Crypto Cards */
.crypto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 50px; }
.coin-card { background: var(--card); padding: 30px; border-radius: 15px; text-align: center; border: 1px solid var(--border); }
.coin-header { font-size: 1.5rem; color: var(--gold); margin-bottom: 20px; }
.qr-code { width: 160px; height: 160px; background: #fff; padding: 10px; border-radius: 10px; margin: 0 auto 20px; }
.address-wrapper { background: #000; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
code { display: block; font-size: 0.7rem; word-break: break-all; margin-bottom: 10px; color: var(--text-dim); }
.copy-btn { width: 100%; padding: 10px; background: transparent; border: 1px solid var(--gold); color: var(--gold); cursor: pointer; font-weight: 600; }
.copy-btn:hover { background: var(--gold); color: #000; }

/* FAQ Accordion */
details { background: var(--card); margin-bottom: 10px; border-radius: 8px; border: 1px solid var(--border); }
summary { padding: 20px; cursor: pointer; font-weight: 600; outline: none; }
.content { padding: 0 20px 20px; color: var(--text-dim); }

/* Footer */
footer { padding: 60px 0; text-align: center; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.8rem; }
.human-tag { margin-top: 10px; opacity: 0.5; }

/* Gallery Page */
.gallery-header { text-align: center; padding-bottom: 20px; }
.gallery-header h1 { font-size: 3.5rem; margin-bottom: 10px; }
.gallery-header p { color: var(--text-dim); font-size: 1.2rem; }

.gallery-section { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.gallery-card { 
    background: var(--card); 
    border-radius: 20px; 
    overflow: hidden; 
    border: 1px solid var(--border); 
    transition: 0.4s; 
}
.gallery-card:hover { border-color: var(--gold-dim); }

.gallery-buttons { text-align: center; padding-top: 20px; }
.button-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.btn-back {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}
.btn-back:hover { 
    background: var(--gold); 
    color: #000; 
    transform: translateY(-3px); 
}

/* Clickable cat cards */
.cat-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Mobile Adaption */
@media (max-width: 900px) {
    .cats-grid, .crypto-grid, .gallery-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
    .gallery-header h1 { font-size: 2.5rem; }
    .button-row { flex-direction: column; align-items: center; }
}