/* Footlandia.it - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #e94560;
    --accent-hover: #d63851;
    --gold: #c9a84c;
    --bg: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-surface: #16213e;
    --text: #e8e8ed;
    --text-muted: #8888a0;
    --border: #2a2a45;
    --success: #22c55e;
    --error: #ef4444;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Age Gate Modal */
.age-gate {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.95);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(20px);
}
.age-gate-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: var(--shadow);
}
.age-gate-box h2 {
    font-size: 28px; color: var(--gold);
    margin-bottom: 15px;
}
.age-gate-box p { color: var(--text-muted); margin-bottom: 30px; }
.age-gate-box .btn-group { display: flex; gap: 15px; justify-content: center; }

/* Navigation */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(15,15,26,0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 15px 0;
}
.navbar .container {
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px; font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}
.nav-links { display: flex; gap: 25px; list-style: none; }
.nav-links a {
    color: var(--text-muted); font-size: 14px;
    font-weight: 500; text-transform: uppercase;
    letter-spacing: 1px; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

/* Hero */
.hero {
    min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.hero h1 {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.1;
}
.hero p {
    font-size: 20px; color: var(--text-muted);
    max-width: 600px; margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    border: none; border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.3s;
    text-transform: uppercase; letter-spacing: 1px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: #fff;
    box-shadow: 0 4px 20px rgba(233,69,96,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(233,69,96,0.5);
}
.btn-secondary {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-muted);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-small { padding: 10px 20px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Gallery */
.gallery-section { padding: 80px 0; }
.gallery-section h2 {
    text-align: center; font-size: 42px;
    margin-bottom: 50px; color: var(--gold);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(233,69,96,0.15);
}
.gallery-card .image-container {
    position: relative; overflow: hidden;
    aspect-ratio: 4/3;
}
.gallery-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: blur(15px);
    transition: filter 0.3s;
}
.gallery-card .watermark {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 36px; font-weight: 900;
    color: rgba(201,168,76,0.3);
    text-transform: uppercase;
    letter-spacing: 5px;
    transform: rotate(-25deg);
    pointer-events: none;
}
.gallery-card .card-body { padding: 20px; }
.gallery-card .description {
    color: var(--text-muted); font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gallery-card .card-footer {
    display: flex; justify-content: space-between; align-items: center;
}
.gallery-card .price {
    font-size: 24px; font-weight: 700;
    color: var(--gold);
}

/* Purchase Modal */
.modal-overlay {
    position: fixed; inset: 0; z-index: 5000;
    background: rgba(0,0,0,0.85);
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(10px);
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow);
    max-height: 90vh;
    overflow-y: auto;
}
.modal h3 {
    font-size: 24px; margin-bottom: 20px; color: var(--gold);
}
.modal .close-btn {
    position: absolute; top: 15px; right: 20px;
    background: none; border: none;
    color: var(--text-muted); font-size: 28px;
    cursor: pointer;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 8px;
    font-size: 14px; font-weight: 500; color: var(--text);
}
.form-group input[type="email"] {
    width: 100%; padding: 14px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}
.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
}
.checkbox-group {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 12px;
}
.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--accent);
    width: 18px; height: 18px;
    flex-shrink: 0;
}
.checkbox-group label {
    font-size: 13px; color: var(--text-muted);
    cursor: pointer;
}

/* Footer */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--gold); font-size: 16px;
    margin-bottom: 15px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-bottom {
    text-align: center; padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted); font-size: 13px;
}

/* Toast notifications */
.toast {
    position: fixed; bottom: 30px; right: 30px;
    padding: 16px 24px;
    border-radius: var(--radius);
    color: #fff; font-weight: 500;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Legal pages */
.legal-page {
    padding: 120px 0 60px;
    max-width: 800px; margin: 0 auto;
}
.legal-page h1 { font-size: 36px; color: var(--gold); margin-bottom: 30px; }
.legal-page h2 { font-size: 22px; color: var(--text); margin: 30px 0 15px; }
.legal-page p, .legal-page li {
    color: var(--text-muted); line-height: 1.8; margin-bottom: 12px;
}
.legal-page ul { padding-left: 20px; }

/* Success page */
.success-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.success-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 60px 40px;
    max-width: 500px;
}
.success-box .icon { font-size: 64px; margin-bottom: 20px; }
.success-box h1 { color: var(--success); margin-bottom: 15px; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .gallery-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .footer-grid { grid-template-columns: 1fr; }
    .modal { padding: 25px; margin: 10px; }
}
