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

/* ============================================
   THEME VARIABLES
   ============================================ */
:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #242424;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #7e7e7e;
    --border-color: #333;
    --accent-orange: #FF6B35;
    --accent-orange-light: #FF8E62;
}

body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #efefef;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #999999;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.stove-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 30px;
    gap: 40px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.logo-icon {
    filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.3));
}

.stove-text {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 35px;
    flex: 1;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--accent-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.external-link svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-link:hover svg {
    opacity: 1;
    transform: translateY(-2px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Buttons */
.install-btn,
.register-btn,
.login-btn {
    padding: 8px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.install-btn {
    background-color: transparent;
    color: white;
    border: 1.5px solid #FF6B35;
}

.install-btn:hover {
    background-color: rgba(255, 107, 53, 0.1);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.register-btn {
    background: linear-gradient(135deg, #FF6B35, #FF8E62);
    color: white;
    border: none;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.login-btn {
    background-color: #2a2a2a;
    color: white;
    border: 1px solid #444;
}

.login-btn:hover {
    background-color: #333;
    border-color: #555;
}

/* Icon Buttons */
.icon-btn {
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    font-size: 18px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    color: #FF6B35;
    transform: scale(1.1);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.theme-toggle svg {
    transition: all 0.3s ease;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.icon-btn[data-dropdown],
.register-btn[data-dropdown] {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    min-width: 160px;
    animation: slideDown 0.3s ease;
    z-index: 1001;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.dropdown-item:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
    padding-left: 20px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 50%, var(--bg-secondary) 100%);
    padding: 100px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.download-btn {
    background: linear-gradient(135deg, #FF6B35, #FF8E62);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5);
}

.download-btn:active {
    transform: translateY(-1px);
}

.guide-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ============================================
   STEPS CONTAINER & CARDS
   ============================================ */
.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FF6B35, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover {
    border-color: #FF6B35;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
    transform: translateY(-4px);
}

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

.step-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    padding-top: 8px;
    transition: color 0.3s ease;
}

.step-card.highlight {
    background: linear-gradient(135deg, #2a1a0f 0%, #1f1410 100%);
    border: 2px solid #FF6B35;
}

.step-card.highlight .step-number {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.step-card.success {
    background: linear-gradient(135deg, #0f2d1a 0%, #0a1f12 100%);
    border: 2px solid #4CAF50;
    text-align: center;
}

.step-card.success .success-content {
    margin-bottom: 20px;
}

.step-card.success h3 {
    color: #4CAF50;
    font-size: 22px;
}

.step-card.success p {
    color: #a8d5ba;
    font-size: 14px;
    margin-top: 8px;
}

.step-card .guide-image {
    margin-top: 20px;
    margin-bottom: 0;
}

.step-card .download-btn {
    width: 100%;
    margin-top: 20px;
}

/* ============================================
   FLOATING SIDEBAR
   ============================================ */
.floating-sidebar {
    position: fixed;
    left: 0;
    top: 200px;
    width: 100px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 999;
    background: transparent;
}

.sidebar-item {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-item a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 10px;
    font-weight: 600;
    gap: 4px;
    transition: all 0.3s ease;
}

.sidebar-item svg {
    width: 32px;
    height: 32px;
}

.sidebar-item span {
    text-align: center;
    white-space: nowrap;
    font-weight: 600;
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* TOP-UP Section */
.topup-section {
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
    border-bottom: 1px solid #333;
}

.topup-section:hover {
    background: linear-gradient(135deg, #555 0%, #333 100%);
    box-shadow: inset 0 0 20px rgba(255, 107, 53, 0.3);
}

.topup-section svg {
    fill: #FF6B35;
}

/* Facebook Section */
.facebook-section {
    background: #1877F2;
}

.facebook-section:hover {
    background: #0a66c2;
    transform: scale(1.05);
}

.facebook-section svg {
    fill: white;
}

/* YouTube Section */
.youtube-section {
    background: #FF0000;
}

.youtube-section:hover {
    background: #cc0000;
    transform: scale(1.05);
}

.youtube-section svg {
    fill: white;
}

/* Discord Section */
.discord-section {
    background: #5865F2;
}

.discord-section:hover {
    background: #4752c4;
    transform: scale(1.05);
}

.discord-section svg {
    fill: white;
}

/* VIP PC Cafe Section */
.vip-cafe-section {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E62 100%);
    border-bottom: 1px solid #333;
}

.vip-cafe-section:hover {
    background: linear-gradient(135deg, #FF7B4A 0%, #FFA080 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.5);
}

.vip-cafe-section svg {
    fill: white;
}

/* STOVE APP Section */
.stove-app-section {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.stove-app-section:hover {
    background: linear-gradient(135deg, #FF2222 0%, #DD0000 100%);
    transform: scale(1.05);
}

.qr-placeholder {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stove-app-section svg {
    fill: white;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.stove-footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-color);
    padding: 60px 30px 30px;
    margin-top: 100px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 8px;
}

.social-column {
    display: flex;
    flex-direction: column;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-icon:hover {
    transform: translateY(-4px);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    transition: border-color 0.3s ease;
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 12px;
    margin: 0;
    transition: color 0.3s ease;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-orange);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .header-container {
        gap: 20px;
        padding: 12px 20px;
    }

    .nav-menu {
        gap: 20px;
    }

    .header-actions {
        gap: 8px;
    }

    .install-btn,
    .register-btn,
    .login-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .stove-text {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .header-container {
        padding: 10px 15px;
    }

    .header-actions {
        gap: 6px;
    }

    .install-btn,
    .register-btn {
        display: none;
    }

    .icon-btn {
        padding: 4px 6px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .download-btn {
        padding: 10px 30px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 30px;
        height: 30px;
    }

    .header-actions {
        gap: 4px;
    }

    .icon-btn {
        width: 32px;
        height: 32px;
    }

    .login-btn {
        display: none;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .download-btn {
        padding: 8px 20px;
        font-size: 11px;
    }

    .floating-sidebar {
        width: 75px;
        top: 180px;
    }

    .sidebar-item {
        width: 75px;
        height: 75px;
    }

    .sidebar-item span {
        font-size: 7px;
    }

    .sidebar-item svg {
        width: 24px;
        height: 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal {
        width: 100%;
        gap: 16px;
    }
}
