:root {
    --gold: #D4AF37;
    --dark-gold: #B8941F;
    --cream: #FFF8E7;
    --charcoal: #1A1A1A;
    --slate: #2D2D2D;
    --red: #D32F2F;
    --green: #2E7D32;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--charcoal);
    color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        background: var(--slate);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s;
        border-left: 2px solid var(--gold);
        height: calc(100vh - 70px);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--cream) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: rgba(255, 248, 231, 0.8);
    max-width: 800px;
}

/* Quote Section */
.quote-section {
    padding: 6rem 2rem;
    background: var(--slate);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.quote {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 3rem;
}

.quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.3;
}

.quote-author {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
}

.quote-context {
    margin-top: 3rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Sections */
.section {
    padding: 6rem 2rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 248, 231, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* Currency Cards */
.currency-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.currency-scroll::-webkit-scrollbar {
    height: 8px;
}

.currency-scroll::-webkit-scrollbar-track {
    background: var(--charcoal);
}

.currency-scroll::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.currency-card {
    background: var(--charcoal);
    border: 2px solid;
    border-radius: 8px;
    padding: 2rem;
    min-width: 280px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.currency-card:hover {
    transform: translateY(-5px);
}

.currency-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.currency-pair {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: rgba(255, 248, 231, 0.6);
    margin-bottom: 1rem;
}

.depreciation-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.search-box {
    max-width: 600px;
    margin: 3rem auto 2rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: var(--charcoal);
    color: var(--cream);
}

/* CTA */
.cta-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: var(--gold);
    color: var(--charcoal);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

.text-center {
    text-align: center;
}

.image-container {
    max-width: 1200px;
    margin: 0 auto 2rem;
    border: 2px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.hidden {
    display: none;
}

.stats-table .positive {
    color: #4CAF50;
}

.stats-table .negative {
    color: #FF6B6B;
}

.stats-table .very-negative {
    color: #D32F2F;
}

.stats-table .slightly-negative {
    color: #FFA07A;
}

/* Podium styles */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
}

.podium-second {
    order: 1;
}

.podium-first {
    order: 2;
}

.podium-third {
    order: 3;
}

@media (max-width: 768px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }
    
    .podium-first {
        order: 1;
        transform: none !important;
        min-height: 380px !important;
    }
    
    .podium-second {
        order: 2;
        min-height: 360px !important;
    }
    
    .podium-third {
        order: 3;
        min-height: 360px !important;
    }
    
    .podium-card {
        width: 100% !important;
        max-width: 320px;
        margin: 0 auto;
    }
}

.stats-table {
    overflow-x: auto;
    margin-bottom: 3rem;
}

.stats-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--slate);
    border-radius: 8px;
    overflow: hidden;
}

.stats-table thead tr {
    background: rgba(212, 175, 55, 0.1);
    border-bottom: 2px solid var(--gold);
}

.stats-table th {
    padding: 1rem;
    text-align: left;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
}

.stats-table td {
    padding: 0.875rem 1rem;
    color: var(--cream);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.stats-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

.stats-table .metric-name {
    font-weight: 600;
    color: var(--gold);
}

@media (max-width: 768px) {
    .stats-table {
        font-size: 0.85rem;
    }
    
    .stats-table th,
    .stats-table td {
        padding: 0.75rem 0.5rem;
    }
}
