:root {
    --primary: #D4AF37;
    --primary-dark: #b5952f;
    --dark: #0a0a0a;
    --darker: #050505;
    --surface: #1a1a1a;
    --surface-light: #2a2a2a;
    --text: #f0f0f0;
    --text-muted: #a0a0a0;
    --danger: #e63946;
    --radius: 12px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

h1 span {
    color: var(--primary);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--primary);
}

a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-card {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 600;
    white-space: nowrap;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a:not(.btn-outline) {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.lang-selector {
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--surface);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--surface-light);
    min-width: 140px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.lang-selector:hover .lang-dropdown {
    display: flex;
    flex-direction: column;
}

.lang-dropdown a {
    padding: 0.6rem 1rem;
    border-radius: 4px;
}

.lang-dropdown a:hover {
    background: var(--surface-light);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--dark);
    /* 1. Gradient Overlay, 2. Background Image */
    background-image: url("bg.png");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

/* Golden Hexagon Matrix - Separate Overlay to ensure visibility */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(45deg, #D4AF37, #181818);
    pointer-events: none;
	opacity: 0.3;
    z-index: 1;
}

@keyframes hex-pulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.05); }
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 5;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Products Section */
.products-section {
    padding: 8rem 0;
    background: var(--darker);
	text-align: center;
}

.coin {
    background: var(--text);
    border-radius: 50%;
    height: 9rem;
    width: 9rem;
    font-size: 4.5rem;
    text-align: center;
    line-height: 9rem;
}

.products-section h3 {
	font-size: 1.5rem;
	color: var(--primary);
	margin-bottom: 1rem;
}
.products-section .btn-card {
	display: none;
}

.product-image {
	font-size: 3rem;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    border: 1px solid var(--surface-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card.premium {
	border-color: var(--danger);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.price {
	color: var(--primary);
	font-weight: bold;
	font-size: 1.5rem;
}
/* Token Section */
.token-section {
    padding: 8rem 0;
    background: var(--dark);
}

.token-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.pledge-box {
    background: rgba(230, 57, 70, 0.1);
    border-left: 5px solid var(--danger);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Heritage Section */
.heritage-section {
    padding: 8rem 0;
    background: var(--darker);
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.heritage-image {
    aspect-ratio: 4/5;
    background: url("pavilion.jpg") center/cover no-repeat;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-light);
}

.vintage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.2) 0%, rgba(10, 10, 10, 0.8) 100%);
    mix-blend-mode: multiply;
}

.heritage-text .btn-outline {
    margin-top: 2rem;
}

/* Footer Section */
footer {
    background: var(--dark);
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    flex: 1 1 300px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-links {
    flex: 1 1 150px;
}

.footer-links h3, .footer-legal h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a, .footer-legal a, .footer-legal p {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--primary);
}

.footer-legal {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }

    .token-content, .heritage-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .token-visual {
        order: -1;
    }

    .heritage-image {
        order: -1;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: auto;
        bottom: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: none;
    }

    .nav-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .mobile-menu-btn {
        display: block;
    }

    .lang-dropdown {
        top: auto;
        bottom: 100%;
        box-shadow: 0 -10px 25px rgba(0,0,0,0.5);
    }

    .nav-links {
        position: fixed;
        bottom: 80px;
        top: auto;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        padding: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}
