/* ============================================================
   HELLCOIN (H3LL) - Dark Theme Stylesheet
   "Pay for your burdens with HellCoin"
   ============================================================ */

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --hell-black: #0a0a0a;
    --hell-dark: #1a1a1a;
    --hell-darker: #121212;
    --hell-red: #ff4444;
    --hell-orange: #ff6b35;
    --hell-yellow: #ffaa00;
    --hell-fire: linear-gradient(135deg, #ff4444, #ff6b35, #ffaa00);
    --hell-text: #e0e0e0;
    --hell-text-muted: #888;
    --hell-border: #333;
    --hell-success: #00ff88;
    --hell-error: #ff4444;
    --hell-glow: 0 0 20px rgba(255, 68, 68, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--hell-black);
    color: var(--hell-text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Background Fire Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at bottom, rgba(255, 68, 68, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at top right, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    background: var(--hell-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

h2 {
    font-size: 1.8rem;
    color: var(--hell-orange);
    border-bottom: 2px solid var(--hell-red);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.4rem;
    color: var(--hell-yellow);
}

a {
    color: var(--hell-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hell-yellow);
    text-decoration: underline;
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Navigation */
.navbar {
    background: var(--hell-darker);
    border-bottom: 2px solid var(--hell-red);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.2);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--hell-orange);
    text-decoration: none;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.navbar-nav {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.navbar-nav a {
    color: var(--hell-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: #fff;
    background: rgba(255, 68, 68, 0.2);
    text-decoration: none;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--hell-darker) 0%, var(--hell-black) 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .tagline {
    font-size: 1.3rem;
    color: var(--hell-text-muted);
    margin-bottom: 2rem;
}

/* Cards */
.card {
    background: var(--hell-dark);
    border: 1px solid var(--hell-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--hell-red);
    box-shadow: var(--hell-glow);
}

.card-header {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hell-orange);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Info Boxes */
.info-box {
    background: var(--hell-darker);
    border-left: 4px solid var(--hell-orange);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.info-box.warning {
    border-left-color: var(--hell-yellow);
}

.info-box.success {
    border-left-color: var(--hell-success);
}

.info-box.danger {
    border-left-color: var(--hell-red);
}

/* Contract Address Display */
.contract-display {
    background: var(--hell-darker);
    border: 1px solid var(--hell-border);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contract-display code {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--hell-orange);
    word-break: break-all;
    flex: 1;
    min-width: 200px;
}

.copy-btn {
    background: var(--hell-fire);
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--hell-glow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--hell-fire);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--hell-glow);
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--hell-orange);
    color: var(--hell-orange);
}

.btn-secondary:hover {
    background: var(--hell-orange);
    color: #fff;
}

/* Steps List */
.steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hell-border);
}

.steps li:last-child {
    border-bottom: none;
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--hell-fire);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.steps h3 {
    margin-bottom: 0.75rem;
}

/* FAQ Accordion */
.faq-item {
    border: 1px solid var(--hell-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--hell-dark);
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--hell-darker);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--hell-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--hell-darker);
}

.faq-item.active .faq-answer {
    padding: 1.25rem;
    max-height: 500px;
}

/* Distribution Chart */
.distribution-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.distribution-item {
    background: var(--hell-darker);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--hell-border);
}

.distribution-item .percentage {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--hell-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.distribution-item .label {
    color: var(--hell-text-muted);
    margin-top: 0.5rem;
}

/* Roadmap */
.roadmap {
    position: relative;
    padding-left: 2rem;
}

.roadmap::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--hell-fire);
    border-radius: 2px;
}

.roadmap-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--hell-orange);
    border-radius: 50%;
    border: 3px solid var(--hell-black);
}

.roadmap-item.completed::before {
    background: var(--hell-success);
}

.roadmap-item .quarter {
    font-weight: 700;
    color: var(--hell-orange);
    margin-bottom: 0.5rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--hell-border);
}

th {
    background: var(--hell-darker);
    color: var(--hell-orange);
    font-weight: 600;
}

tr:hover {
    background: rgba(255, 68, 68, 0.05);
}

/* Footer */
.footer {
    background: var(--hell-darker);
    border-top: 2px solid var(--hell-red);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--hell-text-muted);
}

.footer-links a:hover {
    color: var(--hell-orange);
}

.footer-copyright {
    color: var(--hell-text-muted);
    font-size: 0.9rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-fire { color: var(--hell-orange); }
.text-success { color: var(--hell-success); }
.text-muted { color: var(--hell-text-muted); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 768px) {
    .navbar-inner {
        flex-direction: column;
        text-align: center;
    }

    .navbar-nav {
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .container {
        padding: 1rem;
    }

    .contract-display {
        flex-direction: column;
        text-align: center;
    }

    .contract-display code {
        font-size: 0.75rem;
    }
}

/* Fire Animation */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.fire-icon {
    animation: flicker 1s infinite;
}
