:root {
    /* Light Mode Variables */
    --bg-color: #f4f4f4;
    --text-color: #111;
    --card-bg: #ffffff;
    --modal-bg: #ffffff;
    --border-color: #ddd;
    --nav-bg: rgba(255, 255, 255, 0.7);
    --nav-border: rgba(0, 0, 0, 0.1);
}

/* Default Dark Mode (Strict Black Background) */
body.dark-mode {
    --bg-color: #000000;
    --text-color: #ffffff;
    --card-bg: #111111;
    --modal-bg: #1a1a1a;
    --border-color: #333;
    --nav-bg: rgba(20, 20, 20, 0.6);
    --nav-border: rgba(255, 255, 255, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, color 0.3s ease;
    padding-top: 100px;
}

/* --- FLOATING NAVBAR --- */
/* --- FLOATING NAVBAR --- */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    min-width: 450px; /* Slightly wider to accommodate center links */
    padding: 12px 30px;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--nav-border);
    border-radius: 10px;
    
    /* Grid layout for precise centering */
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    
    z-index: 999;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-brand {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    justify-self: start; /* Pushes brand to far left */
}

.nav-links {
    display: flex;
    gap: 30px; /* Increased gap for better look */
    justify-self: center; /* Pushes links to exact center */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: 0.2s;
    cursor: pointer;
}

.nav-links a:hover {
    opacity: 1;
}

/* Theme Toggle Wrapper */
.theme-toggle-wrapper {
    justify-self: end; /* Pushes toggle to far right */
}

/* Theme Toggle Icon Button */
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: rotate(15deg);
}

.theme-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 50px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    background: -webkit-linear-gradient(#fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #888;
}

/* --- BUTTONS --- */
.btn-primary {
    background: #ffffff;
    color: #000000;
    font-weight: 600; /* UPDATED to 600 */
    border: none;
    padding: 15px 50px;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

/* --- MODAL --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background: var(--modal-bg);
    color: var(--text-color);
    padding: 30px;
    border-radius: 6px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--border-color);
}

.platform-select {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.platform-option {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    background: var(--card-bg);
    transition: 0.2s;
    flex: 1;
    text-align: center;
}

.platform-option.active {
    background: #ffffff;
    color: #000000;
    border-color: #fff;
    font-weight: bold;
}

.windows-options, .generic-options {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.download-link {
    display: block;
    background: var(--card-bg);
    padding: 12px;
    margin: 8px 0;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: background 0.2s;
}

.download-link:hover {
    background: #333;
    border-color: #fff;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- FOOTER --- */
footer {
    margin-top: auto;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #666;
}

.footer-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
}
/* --- ROBUX OFFER HIGHLIGHT --- */
.robux-offer-card {
    margin: 30px auto;
    padding: 25px;
    max-width: 600px;
    width: 90%;
    
    /* Dark Glass effect with Gold Tint */
    background: rgba(255, 215, 0, 0.03); 
    border: 1px solid rgba(204, 204, 204, 0.3);
    border-radius: 12px;
    
    /* Glow effect */
    box-shadow: 0 0 20px rgba(189, 188, 187, 0.973);
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* "Special Offer" Tag */
.offer-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: #dfdfdf;
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 10px;
    border-bottom-left-radius: 8px;
    text-transform: uppercase;
}

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

.robux-icon {
    font-size: 2rem;
    /* Simple hexagon shape via emoji or generic coin look */
    filter: drop-shadow(0 0 5px rgba(219, 219, 219, 0.5)); 
}

.robux-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #d6d6d6; /* Gold Text */
}

.robux-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.robux-steps li {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    background: rgba(255, 215, 0, 0.2);
    color: #d4d4d4dc;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
}