/* Magis Futurum - Techno-Futuristic Art Deco Stylesheet */
/* Minimalist, reusable across pages */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
    --accent: #c9a66b; /* Gold Art Deco */
    --glow: #e6d5a8;
    --text: #e0e0e0;
    --bg: #0a0a0a;
    --dark: #111111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--accent);
    z-index: 1000;
    padding: 1.2rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(201, 166, 107, 0.4);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    font-size: 1.1rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

nav a:hover {
    color: var(--accent);
}

.support {
    color: var(--accent) !important;
    font-weight: 600;
}

/* Hero */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 70%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('media/hero.jpg') center/cover no-repeat;
    opacity: 0.22;
    z-index: 1;
    filter: brightness(0.85) contrast(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 0 2rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 0 40px rgba(201, 166, 107, 0.6);
}

.hero .subtitle {
    font-size: 1.55rem;
    color: var(--glow);
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta:hover {
    background: var(--accent);
    color: #0a0a0a;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(201, 166, 107, 0.3);
}

/* Accent */
.accent-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 4rem auto;
    max-width: 180px;
}

/* Footer */
footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid #222;
    font-size: 0.95rem;
    color: #888;
}

/* Utility */
a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #111;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
    z-index: 1;
    border: 1px solid var(--accent);
}

.dropdown-content a {
    color: #e0e0e0;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background: #222;
    color: var(--accent);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn {
    cursor: pointer;
}

/* Support Page */

.support-container {
    max-width: 720px;
    margin: 140px auto 80px;
    padding: 40px;
    background: rgba(17, 17, 17, 0.95);
    border: 2px solid var(--accent);
    border-radius: 8px;
    text-align: center;
}

.support-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.wallet-box {
    background: #111;
    border: 1px solid #444;
    padding: 18px;
    margin: 20px 0;
    border-radius: 6px;
    text-align: left;
    font-family: monospace;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.3s;
}

.wallet-box:hover {
    background: #1a1a1a;
    border-color: var(--accent);
}

.copy-notice {
    font-size: 0.9rem;
    color: #888;
    margin-top: 4px;
}

        /* Books-specific styles */
        .books-container {
            max-width: 1100px;
            margin: 140px auto 80px;
            padding: 0 2rem;
        }
        
        .subtitle {
            text-align: center;
            font-size: 1.35rem;
            color: var(--glow);
            margin-bottom: 2.5rem;
        }
        
        .section-nav {
            text-align: center;
            margin: 2rem 0 3rem;
        }
        
        .section-nav a {
            margin: 0 1rem;
            padding: 0.6rem 1.8rem;
            color: var(--accent);
            border: 1px solid var(--accent);
            border-radius: 4px;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .section-nav a:hover {
            background: var(--accent);
            color: #0a0a0a;
        }
        
        .books-section h2 {
            font-family: 'Playfair Display', serif;
            color: var(--accent);
            text-align: center;
            margin-bottom: 1.8rem;
        }
        
        .books-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }
        
        .book-card {
            background: rgba(17, 17, 17, 0.95);
            border: 1px solid #444;
            border-radius: 6px;
            padding: 1.25rem;
            transition: all 0.3s;
        }
        
        .book-card:hover {
            border-color: var(--accent);
            transform: translateY(-3px);
        }
        
        .book-card h3 {
            margin: 0 0 0.6rem 0;
            font-size: 1.25rem;
            line-height: 1.3;
        }
        
        .book-card h3 a {
            color: white;
            text-decoration: none;
        }
        
        .book-card h3 a:hover {
            color: var(--accent);
            text-decoration: underline;
        }
        
        .author {
            color: var(--glow);
            margin: 0;
            font-size: 1rem;
        }
        
        .author a {
            color: var(--glow);
            text-decoration: none;
        }
        
        .author a:hover {
            color: var(--accent);
            text-decoration: underline;
        }

/* Deals Page Styles */
.deals-container {
    max-width: 1100px;
    margin: 140px auto 80px;
    padding: 0 5%;
}

.deals-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: 1rem;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.deal-card {
    background: rgba(17, 17, 17, 0.95);
    border: 2px solid var(--accent);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(201, 166, 107, 0.15);
    border-color: var(--glow);
}

.deal-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    color: var(--accent);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.deal-card p {
    flex-grow: 1;
    margin-bottom: 1.25rem;
    color: #ddd;
    font-size: 1rem;
    line-height: 1.65;
}

.deal-code {
    background: #0a0a0a;
    border: 1px solid #444;
    padding: 0.65rem 1.1rem;
    border-radius: 6px;
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--glow);
}

.deal-code strong {
    color: #888;
    font-weight: 500;
}

.deal-code span {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-button {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.35s ease;
    border-radius: 6px;
    margin-top: auto;
    align-self: flex-start;
}

.cta-button:hover {
    background: var(--accent);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 166, 107, 0.25);
    text-decoration: none;
}

.expires-note {
    font-size: 0.82rem;
    color: #777;
    margin-top: 1.25rem;
    font-style: italic;
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .deals-container {
        padding: 0 1.5rem;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
}

/* Privacy Tools Page */
.privacy-container {
    max-width: 1100px;
    margin: 140px auto 80px;
    padding: 0 5%;
}

.privacy-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: 1rem;
}

.privacy-container .subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--glow);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.tools-intro {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.7;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.tool-card {
    background: rgba(17, 17, 17, 0.95);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.tool-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    color: var(--accent);
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.tool-card .meta {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.tool-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: #ddd;
    font-size: 0.98rem;
    line-height: 1.65;
}

.badge {
    display: inline-block;
    background: rgba(201, 166, 107, 0.12);
    color: var(--accent);
    font-size: 0.72rem;
    padding: 3px 11px;
    border-radius: 20px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.tool-card .cta-button {
    margin-top: auto;
    align-self: flex-start;
}

/* Responsive for privacy grid */
@media (max-width: 640px) {
    .privacy-container {
        padding: 0 1.5rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
}