:root {
    --primary-gold: #D4AF37;
    --primary-gold-dim: #AA8C2C;
    --secondary-silver: #C0C0C0;
    --bg-dark: #0B0C10;
    --bg-darker: #050608;
    --bg-card: #1F2833;
    --text-light: #E0E0E0;
    --text-muted: #A0A0A0;
    --accent-blue: #45A29E;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1200px;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
    height: var(--nav-height);
    background-color: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at top right, #1a1c24 0%, var(--bg-dark) 60%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    z-index: 1;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    background: linear-gradient(to right, var(--primary-gold), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contract-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-gold-dim);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: inline-block;
}

.contract-box .label {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-gold);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.address-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: var(--text-light);
    word-break: break-all;
}

#copy-btn {
    background: none;
    border: none;
    color: var(--primary-gold);
    cursor: pointer;
    transition: transform 0.2s;
}

#copy-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background-color: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

.btn-secondary {
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5), 0 0 10px var(--primary-gold-dim);
    max-height: 500px;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

/* --- About Section --- */
.about {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.section-title {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.about-card h3 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-muted);
}

/* --- Partners Section --- */
.partners {
    padding: 80px 0;
    background-color: var(--bg-dark);
    text-align: center;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
    width: 180px;
    height: 180px;
    justify-content: center;
    transition: background-color 0.3s ease;
    border: 1px solid transparent;
}

.partner-logo:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-gold-dim);
}

.partner-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(200%); /* Make logos match dark theme white style */
    transition: filter 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(100%); /* Restore color on hover */
}

.partner-logo span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trading-info {
    color: var(--secondary-silver);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* --- Footer --- */
footer {
    background-color: #000;
    padding: 60px 0 20px;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-brand h4 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    font-size: 2rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-gold);
}

.footer-disclaimer {
    max-width: 800px;
    color: #555;
    font-size: 0.8rem;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
}

.footer-disclaimer p {
    margin-bottom: 10px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS toggle later */
    }
    
    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .address-container {
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1; /* Image on top on mobile */
    }
    
    .hero-image img {
        max-height: 300px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    animation: slideUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.delay-2 { animation-delay: 0.4s; opacity: 0; animation-fill-mode: forwards; }

/* Filter Hack specifically for specific partner logos if needed */
/* .partner-logo img[alt="CoinPaprika"] { filter: none; } */
