@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* --- CHRISTMAS THEME VIBES --- */
:root {
    --primary-red: #C41E3A; /* Deep Christmas Red */
    --secondary-green: #165B33; /* Deep Forest Green */
    --gold-accent: #FFD700; /* Bright Gold */
    --snow-white: #F0F8FF; /* Soft Snow White */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0f1a0f url('https://www.transparenttextures.com/patterns/snow.png') center/400px repeat;
    background-color: #0a0e0a;
    min-height: 100vh;
    position: relative;
}

/* Snowflake styling */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    animation: fall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 215, 0, 0.3);
}

.snowflake:nth-child(1) { left: 5%; animation-duration: 12s; animation-delay: 0s; font-size: 1.2rem; }
.snowflake:nth-child(2) { left: 15%; animation-duration: 15s; animation-delay: 2s; font-size: 1.8rem; }
.snowflake:nth-child(3) { left: 25%; animation-duration: 10s; animation-delay: 4s; font-size: 1.5rem; }
.snowflake:nth-child(4) { left: 35%; animation-duration: 14s; animation-delay: 1s; font-size: 1.3rem; }
.snowflake:nth-child(5) { left: 45%; animation-duration: 11s; animation-delay: 3s; font-size: 1.6rem; }
.snowflake:nth-child(6) { left: 55%; animation-duration: 13s; animation-delay: 5s; font-size: 1.4rem; }
.snowflake:nth-child(7) { left: 65%; animation-duration: 16s; animation-delay: 2.5s; font-size: 1.7rem; }
.snowflake:nth-child(8) { left: 75%; animation-duration: 12s; animation-delay: 4.5s; font-size: 1.3rem; }
.snowflake:nth-child(9) { left: 85%; animation-duration: 14s; animation-delay: 1.5s; font-size: 1.5rem; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 11s; animation-delay: 3.5s; font-size: 1.2rem; }
.snowflake:nth-child(11) { left: 10%; animation-duration: 13s; animation-delay: 6s; font-size: 1.6rem; }
.snowflake:nth-child(12) { left: 90%; animation-duration: 15s; animation-delay: 0.5s; font-size: 1.4rem; }

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Base Maintenance Overlay */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 26, 15, 0.98) 0%, rgba(40, 15, 15, 0.98) 100%);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Maintenance Content Box */
.maintenance-content {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.25) 0%, rgba(22, 91, 51, 0.2) 100%);
    border: 2px solid rgba(196, 30, 58, 0.6);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(196, 30, 58, 0.4);
    max-width: 600px;
    position: relative;
    overflow: hidden;
}

.maintenance-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(196, 30, 58, 0.25) 0%, transparent 100%);
    border-radius: 24px 24px 50% 50%;
}

/* Maintenance Title */
.maintenance-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(196, 30, 58, 0.6), 0 0 40px rgba(255, 215, 0, 0.4);
    position: relative;
    z-index: 1;
}

/* Maintenance Text */
.maintenance-text {
    font-size: 1.2rem;
    color: var(--snow-white);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.maintenance-content .glossy-button {
    position: relative;
    z-index: 1;
}

.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 26, 15, 0.6) 0%, rgba(40, 15, 15, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 30, 58, 0.3);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white;
    background: rgba(196, 30, 58, 0.1);
}

.nav-link.active {
    color: var(--primary-red);
    background: rgba(196, 30, 58, 0.15);
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

.container {
    padding-top: 80px;
}

/* Platform Selector Buttons */
.platform-selector {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.platform-btn {
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(196, 30, 58, 0.4);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.platform-btn:hover {
    background: rgba(196, 30, 58, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(196, 30, 58, 0.6);
}

.platform-btn.active {
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.3), rgba(22, 91, 51, 0.2));
    border-color: rgba(196, 30, 58, 0.7);
    color: var(--gold-accent);
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.4);
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

.offsets-container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.version-display {
    margin-bottom: 50px;
    text-align: center;
}

.version-display h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

/* Version Box */
.version-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.version-box.current {
    background: linear-gradient(135deg, rgba(22, 91, 51, 0.2), rgba(196, 30, 58, 0.15));
    border-color: rgba(22, 91, 51, 0.4);
    box-shadow: 0 8px 32px rgba(22, 91, 51, 0.2);
}

.version-box.updated {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.2), rgba(22, 91, 51, 0.15));
    border-color: rgba(196, 30, 58, 0.4);
    box-shadow: 0 8px 32px rgba(196, 30, 58, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.version-box.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.15));
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2);
}

.version-status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 8px;
}

.version-box.current .version-status {
    background: rgba(22, 91, 51, 0.9);
    color: white;
    box-shadow: 0 2px 8px rgba(22, 91, 51, 0.3);
}

.version-box.updated .version-status {
    background: rgba(196, 30, 58, 0.9);
    color: white;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.version-box.error .version-status {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.version-info {
    text-align: center;
}

.version-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.3);
}

.version-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    font-family: 'Courier New', monospace;
    text-align: center;
}

.offsets-group {
    margin-top: 30px;
    width: 100%;
}

.offsets-group h3 {
    font-size: 1.3rem;
    color: var(--gold-accent);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* Offset Item */
.offset-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offset-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.offset-value {
    font-weight: 600;
    color: var(--secondary-green);
    text-shadow: 0 0 5px rgba(22, 91, 51, 0.2);
    font-family: 'Consolas', monospace;
}

.offset-item:hover .offset-name {
    color: var(--primary-red);
}

.last-checked-section {
    padding: 40px;
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid rgba(196, 30, 58, 0.3);
    text-align: center;
}

.last-checked {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.offsets-section {
    text-align: center;
    width: 100%;
}

.offsets-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

/* Offsets Box (main table container) */
.offsets-box {
    background: #1e1e1e;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: 12px;
    padding: 40px 50px;
    max-width: 95%;
    width: 1600px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    overflow-x: auto;
}

.offsets-box pre {
    color: #d4d4d4;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 1.05rem;
    line-height: 1.7;
    white-space: pre;
    margin: 0;
}

.syntax-keyword {
    color: #C586C0;
}

.syntax-type {
    color: #4EC9B0;
}

.syntax-identifier {
    color: #9CDCFE;
}

.syntax-hex {
    color: #B5CEA8;
}

.syntax-brace {
    color: #D4D4D4;
}

.offsets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px 40px;
}

/* Title Glow Effect */
@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(196, 30, 58, 0.6), 0 0 40px rgba(22, 91, 51, 0.4), 0 4px 20px rgba(0, 0, 0, 0.8); }
    50% { text-shadow: 0 0 25px rgba(196, 30, 58, 0.8), 0 0 50px rgba(22, 91, 51, 0.6), 0 4px 20px rgba(0, 0, 0, 0.8); }
}

.maintenance-title {
    animation: titleGlow 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 20px;
}

.team-card {
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.15) 0%, rgba(22, 91, 51, 0.1) 100%);
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(196, 30, 58, 0.5);
    box-shadow: 0 20px 40px rgba(196, 30, 58, 0.2);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold-accent));
}

.team-role-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: white;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-green));
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 6px;
    height: 6px;
    left: 10%;
    background: rgba(196, 30, 58, 0.8);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.6);
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 8px;
    height: 8px;
    left: 20%;
    background: rgba(22, 91, 51, 0.8);
    box-shadow: 0 0 10px rgba(22, 91, 51, 0.6);
    animation-delay: -2s;
}

.particle:nth-child(3) {
    width: 5px;
    height: 5px;
    left: 30%;
    background: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    animation-delay: -1s;
}

.particle:nth-child(4) {
    width: 7px;
    height: 7px;
    left: 40%;
    background: rgba(196, 30, 58, 0.8);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.6);
    animation-delay: -3s;
}

.particle:nth-child(5) {
    width: 6px;
    height: 6px;
    left: 50%;
    background: rgba(22, 91, 51, 0.8);
    box-shadow: 0 0 10px rgba(22, 91, 51, 0.6);
    animation-delay: -1.5s;
}

.particle:nth-child(6) {
    width: 9px;
    height: 9px;
    left: 60%;
    background: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    animation-delay: -2.5s;
}

.particle:nth-child(7) {
    width: 5px;
    height: 5px;
    left: 70%;
    background: rgba(196, 30, 58, 0.8);
    box-shadow: 0 0 8px rgba(196, 30, 58, 0.6);
    animation-delay: -0.5s;
}

.particle:nth-child(8) {
    width: 7px;
    height: 7px;
    left: 80%;
    background: rgba(22, 91, 51, 0.8);
    box-shadow: 0 0 10px rgba(22, 91, 51, 0.6);
    animation-delay: -4s;
}

.page {
    display: none;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding-top: 80px;
}

.page.active {
    display: block;
}

.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(196, 30, 58, 0.6), 0 0 40px rgba(255, 215, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.02em;
    animation: flicker 3s infinite alternate;
}

.subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: var(--snow-white);
    font-weight: 400;
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.download-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(196, 30, 58, 0.6), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.button-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Button Styling (Christmas colors) */
.glossy-button {
    position: relative;
    padding: 16px 32px;
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.9) 0%, rgba(22, 91, 51, 0.7) 50%, rgba(39, 174, 96, 0.5) 100%);
    border: 2px solid rgba(196, 30, 58, 0.6);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.5), 0 8px 32px rgba(22, 91, 51, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.5), inset 0 -1px 1px rgba(0, 0, 0, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.glossy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.3) 0%, rgba(196, 30, 58, 0.2) 30%, rgba(22, 91, 51, 0.1) 60%, transparent 100%);
    pointer-events: none;
    border-radius: 10px 10px 50% 50%;
}

.glossy-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), rgba(255, 255, 255, 0.8), rgba(255, 215, 0, 0.6), transparent);
    transform: skewX(-25deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

.glossy-button:hover::after {
    left: 100%;
}

.glossy-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.95) 0%, rgba(39, 174, 96, 0.8) 50%, rgba(30, 150, 80, 0.6) 100%);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6), 0 12px 40px rgba(22, 91, 51, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.7), inset 0 -1px 1px rgba(0, 0, 0, 0.4);
}

.glossy-button:active {
    transform: translateY(0px);
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.8) 0%, rgba(22, 91, 51, 0.6) 50%, rgba(20, 100, 60, 0.4) 100%);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.4), inset 0 1px 1px rgba(255, 215, 0, 0.4), inset 0 -1px 1px rgba(0, 0, 0, 0.4);
}

.glossy-button.discord {
    background: linear-gradient(145deg, rgba(88, 101, 242, 0.9) 0%, rgba(60, 70, 170, 0.7) 100%);
    border: 2px solid rgba(88, 101, 242, 0.6);
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4), 0 8px 32px rgba(60, 70, 170, 0.2), inset 0 1px 1px rgba(150, 160, 255, 0.5), inset 0 -1px 1px rgba(0, 0, 0, 0.3);
}

.glossy-button.discord::before {
    background: linear-gradient(180deg, rgba(150, 160, 255, 0.4) 0%, rgba(88, 101, 242, 0.2) 30%, rgba(67, 78, 184, 0.1) 60%, transparent 100%);
}

.glossy-button.discord::after {
    background: linear-gradient(90deg, transparent, rgba(150, 160, 255, 0.6), rgba(180, 188, 255, 0.8), rgba(150, 160, 255, 0.6), transparent);
}

.glossy-button.discord:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, rgba(88, 101, 242, 0.95) 0%, rgba(60, 70, 170, 0.8) 50%, rgba(40, 50, 150, 0.6) 100%);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6), 0 12px 40px rgba(60, 70, 170, 0.4), inset 0 1px 1px rgba(150, 160, 255, 0.7), inset 0 -1px 1px rgba(0, 0, 0, 0.4);
}

.glossy-button.discord:active {
    transform: translateY(0px);
    background: linear-gradient(145deg, rgba(70, 85, 200, 0.8) 0%, rgba(55, 65, 160, 0.6) 50%, rgba(40, 50, 130, 0.4) 100%);
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.4), inset 0 1px 1px rgba(150, 160, 255, 0.4), inset 0 -1px 1px rgba(0, 0, 0, 0.4);
}

.back-button {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    padding: 12px 20px;
    font-size: 1rem;
}

.download-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.download-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.tilt-image {
    width: 500px;
    height: 300px;
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.15) 0%, rgba(22, 91, 51, 0.1) 100%);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-red);
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(196, 30, 58, 0.2);
    flex-direction: column;
}

.tilt-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(196, 30, 58, 0.2) 0%, transparent 100%);
    border-radius: 16px 16px 50% 50%;
}

.tilt-image:hover {
    transform: rotateY(10deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 12px 40px rgba(196, 30, 58, 0.5), 0 0 50px rgba(255, 215, 0, 0.3);
    border-color: rgba(196, 30, 58, 0.5);
}

.download-section {
    position: relative;
    margin-top: 2rem;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    position: relative;
    padding: 18px 48px 18px 32px;
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.9) 0%, rgba(22, 91, 51, 0.7) 50%, rgba(20, 100, 60, 0.5) 100%);
    border: 2px solid rgba(196, 30, 58, 0.5);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    min-width: 450px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.4), 0 8px 32px rgba(22, 91, 51, 0.2), inset 0 1px 1px rgba(255, 215, 0, 0.5), inset 0 -1px 1px rgba(0, 0, 0, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dropdown-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.4) 0%, rgba(196, 30, 58, 0.2) 30%, rgba(22, 91, 51, 0.1) 60%, transparent 100%);
    pointer-events: none;
    border-radius: 10px 10px 50% 50%;
}

.dropdown-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), rgba(255, 255, 255, 0.8), rgba(255, 215, 0, 0.6), transparent);
    transform: skewX(-25deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

.dropdown-btn:hover::after {
    left: 100%;
}

.dropdown-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.95) 0%, rgba(22, 91, 51, 0.8) 50%, rgba(20, 100, 60, 0.6) 100%);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5), 0 10px 40px rgba(22, 91, 51, 0.3), 0 0 30px rgba(255, 215, 0, 0.4), inset 0 1px 1px rgba(255, 215, 0, 0.6), inset 0 -1px 1px rgba(0, 0, 0, 0.3);
}

.arrow {
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    opacity: 1;
    color: #fff;
}

.dropdown.active .arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(15, 25, 15, 0.98) 0%, rgba(20, 10, 10, 0.98) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1.5px solid rgba(196, 30, 58, 0.5);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 100;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(196, 30, 58, 0.3), 0 10px 30px rgba(22, 91, 51, 0.2), 0 0 0 1px rgba(196, 30, 58, 0.2) inset;
}

.dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 24px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(196, 30, 58, 0.1);
    position: relative;
    background: transparent;
    cursor: pointer;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(196, 30, 58, 0.15), transparent);
    transition: width 0.3s ease;
}

.dropdown-item:hover:not(.disabled)::before {
    width: 100%;
}

.dropdown-item:hover:not(.disabled) {
    background: rgba(196, 30, 58, 0.05);
    border-left: 3px solid var(--primary-red);
    padding-left: 21px;
}

.dropdown-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dropdown-item.disabled:hover {
    background: transparent;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.item-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.item-version {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-family: 'Courier New', monospace;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.badge {
    font-size: 0.7rem;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.updated-badge {
    color: white;
    background: linear-gradient(135deg, var(--secondary-green), #059669);
    box-shadow: 0 2px 8px rgba(22, 91, 51, 0.3);
}

.updating-badge {
    color: white;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.coming-soon {
    color: white;
    background: linear-gradient(135deg, var(--gold-accent), #FFA500);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.item-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: rgba(196, 30, 58, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(196, 30, 58, 0.1);
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 0.95rem;
    color: var(--primary-red);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.stat-divider {
    width: 1px;
    height: 16px;
    background: rgba(196, 30, 58, 0.2);
}

.changelog-section {
    width: 100%;
    max-width: 800px;
}

.changelog-title {
    color: var(--primary-red);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(196, 30, 58, 0.4);
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.changelog-item {
    background: linear-gradient(145deg, rgba(22, 91, 51, 0.15) 0%, rgba(196, 30, 58, 0.1) 100%);
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.changelog-item:hover {
    border-color: rgba(196, 30, 58, 0.5);
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.2);
}

.changelog-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(196, 30, 58, 0.15) 0%, transparent 100%);
    border-radius: 16px 16px 50% 50%;
}

.changelog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.changelog-version {
    color: var(--gold-accent);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.changelog-content {
    color: var(--snow-white);
    line-height: 1.6;
}

.changelog-content p {
    margin: 0.5rem 0;
}

.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.8) 0%, rgba(22, 91, 51, 0.7) 100%);
    border: 1px solid rgba(196, 30, 58, 0.6);
    border-left: 5px solid var(--gold-accent);
    border-radius: 12px;
    padding: 15px 25px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 2000;
    max-width: 300px;
    animation: slideIn 0.5s ease-out forwards, slideOut 0.5s 4.5s ease-in forwards;
    transform: translateX(400px);
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(196, 30, 58, 0.15) 0%, transparent 100%);
    border-radius: 16px 16px 50% 50%;
}

.notification-title {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--gold-accent);
}

.notification-message {
    font-size: 0.9rem;
    color: var(--snow-white);
}

.notification-text {
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--snow-white);
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease 1.5s forwards;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(196, 30, 58, 0.2);
    border-top: 3px solid var(--gold-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--gold-accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes flicker {
    0%, 100% { text-shadow: 0 0 20px rgba(196, 30, 58, 0.6), 0 0 40px rgba(255, 215, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.8); }
    50% { text-shadow: 0 0 25px rgba(196, 30, 58, 0.8), 0 0 50px rgba(255, 215, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.8); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    50% {
        transform: translateY(-20px) translateX(20px) rotate(180deg);
        opacity: 0.9;
    }
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

@keyframes slideOut {
    to { transform: translateX(400px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding-top: 120px;
    }

    .offsets-box {
        padding: 20px;
        width: 95%;
    }

    .platform-selector {
        flex-direction: row;
        width: 100%;
        max-width: 400px;
    }

    .platform-btn {
        flex: 1;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .maintenance-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .glossy-button, .dropdown-btn {
        width: 100%;
        max-width: 300px;
    }

    .notification {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }

    .download-container {
        padding: 1rem;
    }

    .tilt-image {
        width: 250px;
        height: 150px;
    }

    .back-button {
        top: 1rem;
        left: 1rem;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .offsets-list {
        grid-template-columns: 1fr;
    }

}
