/* The Vault - Stylesheet */

:root {
    --ink: #f5f0e6;
    --muted: #b8b2a6;
    --steel-1: #0c1116;
    --steel-2: #182028;
    --steel-3: #232d36;
    --card: rgba(24, 32, 40, 0.85);
    --border: #2f3a44;
    --bronze: #cfa256;
    --sky: #5aa0d8;
}

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

body {
    font-family: "Rockwell", "Georgia", "Times New Roman", serif;
    background:
        radial-gradient(circle at 15% 10%, rgba(207, 162, 86, 0.12), transparent 45%),
        radial-gradient(circle at 85% 0%, rgba(90, 160, 216, 0.12), transparent 40%),
        linear-gradient(135deg, var(--steel-1) 0%, var(--steel-2) 50%, var(--steel-3) 100%);
    min-height: 100vh;
    padding: 0;
    color: var(--ink);
}

/* Top Navigation */
.top-nav {
    background: rgba(16, 24, 30, 0.95);
    padding: 15px 40px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-home {
    color: var(--bronze);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-home:hover {
    color: #e2be73;
}

.nav-divider {
    color: var(--border);
    margin: 0 10px;
}

.nav-current {
    color: var(--muted);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px 60px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
    background: linear-gradient(180deg, rgba(207, 162, 86, 0.12) 0%, transparent 100%);
    border-radius: 20px;
    border: 1px solid rgba(207, 162, 86, 0.25);
}

.hero-icon {
    font-size: 5em;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(207, 162, 86, 0.4));
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--bronze), var(--sky), #f0d28a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(207, 162, 86, 0.3);
}

.tagline {
    font-size: 1.3em;
    color: var(--muted);
}

/* Intro Section */
.intro-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.15em;
    line-height: 1.7;
    color: #d4cec0;
    padding: 30px;
    background: rgba(207, 162, 86, 0.06);
    border-radius: 15px;
    border-left: 4px solid var(--bronze);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2em;
    margin: 50px 0 30px;
    color: var(--ink);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--bronze), var(--sky));
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--card);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--bronze);
    box-shadow: 0 10px 40px rgba(207, 162, 86, 0.18);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--ink);
    margin-bottom: 12px;
    font-size: 1.2em;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* Currency Categories */
.currency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.currency-category {
    background: var(--card);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border);
}

.currency-category.seasonal {
    border-top: 3px solid #f0883e;
}

.currency-category.community {
    border-top: 3px solid #f778ba;
}

.currency-category.keys {
    border-top: 3px solid #a371f7;
}

.currency-category.pirate {
    border-top: 3px solid #d4af37;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #30363d;
}

.category-icon {
    font-size: 1.8em;
}

.category-header h3 {
    color: #f0f6fc;
    font-size: 1.2em;
}

.category-desc {
    color: #8b949e;
    font-size: 0.9em;
    margin-bottom: 15px;
    line-height: 1.5;
}

.section-desc {
    text-align: center;
    color: var(--muted);
    margin-bottom: 30px;
    font-size: 1.05em;
}

.currency-list {
    list-style: none;
}

.currency-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #d8d2c4;
    border-bottom: 1px solid rgba(47, 58, 68, 0.7);
}

.currency-list li:last-child {
    border-bottom: none;
}

.token, .key {
    font-size: 1.2em;
    width: 28px;
    text-align: center;
}

.token.spring { color: #7ee787; }
.token.summer { color: #f0883e; }
.token.fall { color: #d29922; }
.token.winter { color: #79c0ff; }
.token.community { color: #f778ba; }
.key.copper { color: #d29922; }
.key.iron { color: #8b949e; }
.key.adamant { color: #a371f7; }
.key.mithril { color: #58a6ff; }
.key.sunite { color: #f0883e; }
.key.glorite { color: #7ee787; }
.key.special { color: #f778ba; }
.token.doubloon { color: #d4af37; }
.token.bottlecap { color: #2c2c2c; }

/* Usage Steps */
.usage-steps {
    max-width: 700px;
    margin: 0 auto 50px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    background: rgba(24, 32, 40, 0.65);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}

.step:hover {
    border-color: var(--bronze);
}

.step-number {
    background: linear-gradient(135deg, var(--sky), var(--bronze));
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3em;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--ink);
    margin-bottom: 8px;
    font-size: 1.1em;
}

.step-content p {
    color: var(--muted);
    line-height: 1.5;
}

kbd {
    background: #1a232b;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 8px;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.9em;
    color: #e0d7c6;
    box-shadow: 0 2px 0 var(--border);
}

/* Installation */
.install-steps {
    max-width: 700px;
    margin: 0 auto 50px;
}

.install-step {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background: rgba(24, 32, 40, 0.65);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    align-items: center;
}

.step-icon {
    font-size: 2em;
    width: 50px;
    text-align: center;
}

.step-info h4 {
    color: var(--ink);
    margin-bottom: 6px;
}

.step-info p {
    color: var(--muted);
}

/* Integration Section */
.integration-section {
    margin-bottom: 50px;
}

.integration-info {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.integration-item {
    background: rgba(24, 32, 40, 0.65);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--bronze);
}

.integration-item h4 {
    color: var(--ink);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.integration-item p {
    color: var(--muted);
    line-height: 1.6;
}

/* Configuration */
.config-table {
    max-width: 800px;
    margin: 0 auto 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(24, 32, 40, 0.85);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: rgba(47, 58, 68, 0.75);
    color: var(--ink);
    font-weight: 600;
}

td {
    color: #e0d7c6;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(207, 162, 86, 0.05);
}

code {
    background: #1a232b;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.9em;
    color: var(--sky);
}

.config-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.95em;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    border-top: 1px solid var(--border);
    background: rgba(16, 24, 30, 0.6);
    border-radius: 0 0 20px 20px;
}

.footer p {
    color: var(--muted);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--bronze);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e2be73;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero-icon {
        font-size: 3.5em;
    }

    .section-title {
        font-size: 1.6em;
    }

    .step, .install-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 15px;
    }

    .top-nav {
        padding: 12px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }

    .features-grid, .currency-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.9em;
    }

    th, td {
        padding: 10px 12px;
    }
}
