:root {
    --bg-color: #08090f;
    --surface-color: rgba(22, 24, 35, 0.65);
    --surface-border: rgba(255, 255, 255, 0.08);
    --primary-color: #f7931a; /* ATM Gold/Orange */
    --primary-glow: rgba(247, 147, 26, 0.4);
    --secondary-color: #9d4edd; /* Magical Purple */
    --secondary-glow: rgba(157, 78, 221, 0.4);
    --text-main: #f8f9fa;
    --text-muted: #adb5bd;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Background Particles */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--primary-glow);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(8, 9, 15, 0.9) 0%, rgba(8, 9, 15, 0) 100%);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(8, 9, 15, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--surface-border);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.glowing-icon {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-glow);
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

nav a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--primary-glow);
}

nav a:not(.nav-btn):hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-color);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: inset 0 0 10px transparent, 0 0 15px transparent;
}

.nav-btn:hover {
    background: var(--primary-glow);
    box-shadow: inset 0 0 10px var(--primary-color), 0 0 15px var(--primary-glow);
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 80%),
                linear-gradient(to bottom, transparent 0%, var(--bg-color) 95%);
    z-index: -1;
}

.hero-content {
    display: flex;
    justify-content: center;
    text-align: center;
}

.glass-panel {
    background: var(--surface-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    padding: 60px 50px;
    border-radius: 24px;
    max-width: 800px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.badge {
    display: inline-block;
    background: rgba(157, 78, 221, 0.2);
    color: #d8b4fe;
    border: 1px solid rgba(157, 78, 221, 0.4);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px var(--secondary-glow);
}

.hero-logo {
    max-width: 90%;
    height: auto;
    max-height: 280px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6));
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(247, 147, 26, 0.2)); }
    100% { filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 25px rgba(247, 147, 26, 0.5)); }
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-text span {
    font-size: 1.1rem;
}

.btn-text small {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

.btn i {
    font-size: 1.8rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f7931a, #dc2f02);
    color: white;
    box-shadow: 0 10px 20px rgba(220, 47, 2, 0.3), inset 0 0 0 1px rgba(255,255,255,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(220, 47, 2, 0.5), inset 0 0 0 1px rgba(255,255,255,0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Download Version Dropdown Styles */
.download-container {
    position: relative;
    display: inline-block;
}

.split-btn {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(220, 47, 2, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.split-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(220, 47, 2, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.split-btn .btn {
    border-radius: 0;
    box-shadow: none;
    transform: none;
    margin: 0;
}

.split-btn .btn:hover {
    transform: none;
    box-shadow: none;
}

.split-btn .main-download-btn {
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.split-btn .dropdown-toggle-btn {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: linear-gradient(135deg, #e85d04, #dc2f02);
    border: none;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.split-btn .dropdown-toggle-btn:hover {
    background: linear-gradient(135deg, #f7931a, #e85d04);
}

.split-btn .dropdown-toggle-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.split-btn .dropdown-toggle-btn.active i {
    transform: rotate(180deg);
}

.version-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 340px;
    background: rgba(12, 13, 23, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 
                0 0 30px rgba(247, 147, 26, 0.05),
                inset 0 0 20px rgba(255, 255, 255, 0.02);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                visibility 0.3s;
    text-align: left;
    overflow: hidden;
}

.version-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px 20px 10px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-list {
    max-height: 280px;
    overflow-y: auto;
}

/* Custom Scrollbar for Dropdown List */
.dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.dropdown-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}

.dropdown-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.dropdown-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-glow);
}

.dropdown-item {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(247, 147, 26, 0.06);
}

.dropdown-item.active {
    background: rgba(157, 78, 221, 0.08);
}

.dropdown-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.version-tag {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.5px;
}

.dropdown-item.active .version-tag {
    color: var(--primary-color);
}

.badge-new {
    background: rgba(157, 78, 221, 0.2);
    color: #d8b4fe;
    border: 1px solid rgba(157, 78, 221, 0.4);
    padding: 2px 6px;
    font-size: 0.65rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.dropdown-item:hover .item-desc {
    color: var(--text-main);
}


/* Installation Tip */
.install-tip {
    margin-top: 40px;
    padding: 20px;
    background: rgba(10, 11, 18, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
    backdrop-filter: blur(5px);
}

.tip-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
    margin-top: 3px;
}

.tip-content strong {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.tip-content ol {
    margin-left: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tip-content li {
    margin-bottom: 5px;
}

.tip-content span {
    color: var(--secondary-color);
    font-weight: 600;
}

.tip-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.85rem;
}

/* Info Section */
.info-section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.glass-card {
    background: linear-gradient(145deg, rgba(30, 32, 44, 0.7), rgba(20, 22, 30, 0.4));
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(157, 78, 221, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    box-shadow: inset 0 0 15px rgba(157, 78, 221, 0.2);
}

.glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.glass-card p strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
footer {
    background: rgba(10, 11, 18, 0.8);
    border-top: 1px solid var(--surface-border);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo i {
    color: var(--primary-color);
}

footer p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .header-content nav { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .glass-panel { padding: 40px 20px; }
    .cta-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    
    /* Responsive Dropdown */
    .download-container {
        width: 100%;
    }
    
    .split-btn {
        width: 100%;
    }
    
    .split-btn .main-download-btn {
        flex-grow: 1;
        justify-content: center;
    }
    
    .version-dropdown-menu {
        width: 100%;
    }
}
