/* Import RA Font */
@font-face {
    font-family: 'RA';
    src: url('ra.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* CSS Variables */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-panel: #151515;
    --gold-primary: #c9a55c;
    --gold-light: #d4af37;
    --gold-dark: #8d7958;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --success: #4ade80;
    --warning: #f59e0b;
    --border-color: rgba(201, 165, 92, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'RA', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(201, 165, 92, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(141, 121, 88, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: -1;
}

/* Main Container */
.main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 50px;
}

.logo-link {
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(201, 165, 92, 0.3));
}

.title {
    font-family: 'RA', sans-serif;
    font-size: 3rem;
    font-weight: normal;
    color: var(--gold-primary);
    text-shadow: 0 0 30px rgba(201, 165, 92, 0.4);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.subtitle {
    font-family: 'RA', sans-serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Option Cards */
.options-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.option-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.option-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 165, 92, 0.1);
}

.option-card:hover::before {
    transform: scaleX(1);
}

.option-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.option-card h2 {
    font-family: 'RA', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.option-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.option-tag {
    display: inline-block;
    background: rgba(201, 165, 92, 0.15);
    color: var(--gold-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Panels */
.content-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.content-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back Button */
.back-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'RA', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.back-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.back-btn i {
    margin-right: 8px;
}

/* Panel Header */
.panel-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.panel-header i {
    font-size: 2.5rem;
    color: var(--gold-primary);
}

.panel-header h2 {
    font-family: 'RA', sans-serif;
    font-size: 2rem;
    font-weight: normal;
    color: var(--text-primary);
}

.intro-text {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Addon Grid */
.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.addon-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.addon-card:hover {
    border-color: var(--gold-dark);
}

.addon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.addon-header i {
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.addon-header h3 {
    font-family: 'RA', sans-serif;
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--text-primary);
}

.addon-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.5;
}

/* Buttons */
.btn-steam {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    color: #66c0f4;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'RA', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #66c0f4;
}

.btn-steam:hover {
    background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
    box-shadow: 0 0 20px rgba(102, 192, 244, 0.3);
    transform: translateY(-2px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'RA', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(201, 165, 92, 0.4);
    transform: translateY(-2px);
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 35px 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-divider span {
    font-family: 'RA', sans-serif;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Info Panel */
.info-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
}

.info-panel.highlight {
    border-color: var(--gold-dark);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 165, 92, 0.03) 100%);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.info-header i {
    font-size: 1.4rem;
    color: var(--gold-primary);
}

.info-header h3 {
    font-family: 'RA', sans-serif;
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--text-primary);
}

.info-panel > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.spec-item {
    background: var(--bg-panel);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.spec-value {
    display: block;
    font-family: 'RA', sans-serif;
    font-size: 1.1rem;
    color: var(--gold-primary);
}

/* Steps List */
.steps-list {
    margin-bottom: 25px;
}

.step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.step:last-child {
    border-bottom: none;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    color: var(--bg-dark);
    font-family: 'RA', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content strong {
    display: block;
    font-family: 'RA', sans-serif;
    font-size: 1.05rem;
    font-weight: normal;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-content a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.step-content a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

code {
    background: var(--bg-panel);
    color: var(--gold-primary);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
}

code.path {
    display: block;
    margin-top: 10px;
    padding: 10px 15px;
    word-break: break-all;
    font-size: 0.8rem;
}

/* Comparison Table */
.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
}

.table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.table-row:last-child {
    border-bottom: none;
}

.header-row {
    background: var(--bg-panel);
    font-family: 'RA', sans-serif;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.table-row span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.table-row span:first-child {
    color: var(--text-primary);
}

.highlight-cell {
    color: var(--success) !important;
}

/* Warning Box */
.warning-box {
    display: flex;
    gap: 15px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
}

.warning-box i {
    color: var(--warning);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.warning-box strong {
    color: var(--warning);
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'RA', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-3px);
}

.footer-btn.primary {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
    border: none;
    color: var(--bg-dark);
    font-weight: bold;
}

.footer-btn.primary:hover {
    box-shadow: 0 0 25px rgba(201, 165, 92, 0.4);
}

.footer-btn i {
    font-size: 1.1rem;
}

/* Copyright */
.copyright {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.copyright a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--gold-primary);
}

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

    .title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .options-container {
        flex-direction: column;
    }

    .option-card {
        max-width: 100%;
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .panel-header h2 {
        font-size: 1.6rem;
    }

    .step {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .step-num {
        align-self: center;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .header-row {
        display: none;
    }

    .table-row span:first-child {
        font-weight: bold;
        color: var(--gold-primary);
    }

    .footer-links {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-btn {
        justify-content: center;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Selection */
::selection {
    background: var(--gold-primary);
    color: var(--bg-dark);
}
