/* --- Root Variables & Color Palette --- */
:root {
    --bg: #050505;
    --card-bg: rgba(20, 20, 25, 0.7);
    --accent: #f39c12; /* Brand Orange */
    --accent-alt: #e67e22;
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --status-green: #22c55e;
    --version-blue: #818cf8;
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity; /* Enables magnetic scroll snapping */
}

body {
    background-color: var(--bg);
    /* Radial gradient matching the high-end gaming aesthetic */
    background-image: radial-gradient(circle at top center, #1a1005 0%, #050505 70%);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

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

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* --- Hero Section (Full Screen) --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    scroll-snap-align: start;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-dim);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Bouncing Arrow */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    text-decoration: none;
    transition: 0.3s;
}

.scroll-indicator .material-symbols-outlined {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-12px);}
    60% {transform: translateY(-6px);}
}

/* --- Product Grid Section --- */
#mods {
    scroll-snap-align: start;
    padding-top: 100px;
    padding-bottom: 100px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
}

/* --- Product Card --- */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(243, 156, 18, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.card-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.version-tag {
    color: var(--version-blue);
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--status-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--status-green);
}

.status-text {
    color: var(--status-green);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.size-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.size-info .material-symbols-outlined {
    font-size: 20px;
    color: #e3e3e3;
}

.card-desc {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Tags & Requirements */
.tags, .req-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.req-label {
    font-size: 0.7rem;
    color: #475569;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.req-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #334155;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.price-label {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}

.arrow {
    color: var(--accent);
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.card:hover .arrow {
    transform: translateX(10px);
}

/* --- Installation Section --- */
.installation-section {
    background: rgba(10, 10, 15, 0.4);
    padding: 100px 0;
    border-top: 1px solid var(--glass-border);
    scroll-snap-align: start;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px 25px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0 auto 25px;
}

.code-inline {
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.key-bind {
    background: #1a1a1f;
    border: 1px solid var(--glass-border);
    color: var(--accent);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 2px 0 #000;
}

/* --- Detail Page Specifics --- */
.detail-container { padding-top: 120px; margin-bottom: 80px; }

.detail-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .detail-top-grid { grid-template-columns: 1fr; }
}

.main-info-card, .info-card, .stat-box, .media-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
}

.media-card {
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    display: flex;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    background: rgba(34, 197, 94, 0.1);
    color: var(--status-green);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.action-btns { display: flex; gap: 15px; margin-top: 35px; }

.btn-download {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    padding: 14px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    color: #000;
    transition: 0.3s;
}

.btn-download:hover { transform: translateY(-3px); filter: brightness(1.1); }

.btn-back {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 14px 25px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.btn-back:hover { background: rgba(255,255,255,0.1); color: var(--accent); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }

.stat-box strong { display: block; font-size: 1.1rem; color: #fff; margin-top: 5px; }

.detail-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .detail-bottom-grid { grid-template-columns: 1fr; }
}

.detail-list { list-style: none; padding-top: 15px; }

.detail-list li {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.detail-list li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Update this section in your style.css */
.step-card a {
    color: var(--accent); /* Forces the link to be brand orange */
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.step-card a:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

/* Optional: Ensure it stays orange even after being clicked */
.step-card a:visited {
    color: var(--accent);
}