/* ═════════════════════════════════════════════════════════════════════════════
   ASUS ROG & ZENBOOK ULTRA-MINIMALIST 3D FLAGSHIP STYLING
   Brand Identity: Premium Tech Minimalist x ROG 3D Extruded Glow
   ═════════════════════════════════════════════════════════════════════════════ */

:root {
    --bg-obsidian: #0a0a0e;
    --bg-card: rgba(18, 18, 26, 0.75);
    --bg-card-hover: rgba(26, 26, 38, 0.95);
    
    --rog-red: #ff0055;
    --rog-red-glow: rgba(255, 0, 85, 0.5);
    --electric-cyan: #00f0ff;
    
    --border-glass: rgba(255, 255, 255, 0.1);
    --font-heading: 'Barlow Condensed', 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-obsidian);
    color: #e2e8f0;
    font-family: var(--font-body);
}

.cyber-bg-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 85, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 45%);
}

/* ═════════════════════════════════════════════════════════════════════════
   HERO 3D SECTION - FIXED BUTTON CLIPPING & 3D TEXT
   ═════════════════════════════════════════════════════════════════════ */
.hero-3d-section {
    position: relative;
    width: 100%;
    min-height: 680px;
    padding: 60px 0 80px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060609;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 60px;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-img,
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: 
        radial-gradient(ellipse at center, rgba(10, 10, 15, 0.25) 0%, rgba(10, 10, 15, 0.65) 70%, rgba(10, 10, 15, 0.92) 100%),
        linear-gradient(to top, rgba(10, 10, 15, 0.85) 0%, transparent 50%, rgba(10, 10, 15, 0.7) 100%);
    pointer-events: none;
}

.hero-series-bar {
    pointer-events: auto;
    margin-top: 36px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 18px;
    background: rgba(18, 18, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: max-content;
    max-width: 100%;
    flex-wrap: wrap;
    z-index: 20;
}

.series-bar-label {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-series-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-series-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-series-pill:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: translateY(-1px);
}

.hero-series-pill.active {
    background: linear-gradient(135deg, #ff0055 0%, #ff5588 100%);
    border-color: #ff0055;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.5);
}

.hero-webgl-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: grab;
}

.hero-hud-overlay {
    position: relative;
    z-index: 10;
    width: min(92%, 1380px);
    margin: 0 auto;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.hero-top-badge {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 0, 85, 0.15);
    border: 1px solid var(--rog-red);
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: max-content;
    box-shadow: 0 0 20px var(--rog-red-glow);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* HÌNH ẢNH ASUS ROG LỒNG VÀO CHỮ (BACKGROUND-CLIP TEXT EFFECT) */
.hero-main-title {
    font-family: var(--font-heading);
    font-size: clamp(50px, 7vw, 92px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin: 20px 0;
    
    /* Lồng hình nền ASUS ROG vào bên trong nét chữ */
    background: url('/image/rog_bg.png') center/cover no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    
    /* Hiệu ứng viền phát sáng & đổ bóng 3D */
    filter: drop-shadow(0 0 20px rgba(255, 0, 85, 0.6)) drop-shadow(0 6px 15px rgba(0, 0, 0, 0.9));
    transition: background-image 0.6s ease;
}

.hero-title-highlight {
    display: block;
    background: linear-gradient(135deg, #00f0ff 0%, #ff0055 50%, #ffbb00 100%), url('/image/rog_bg.png') center/cover no-repeat;
    background-blend-mode: overlay;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    
    /* Hiệu ứng phát sáng 3D Cyberpunk */
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.85)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.95));
}

.hero-sub-text {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 580px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* CTA BUTTON GROUP - UNCLIPPED & FLOATING 3D SHADOW */
.hero-cta-group {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    position: relative;
    z-index: 20;
}

.btn-cyber-primary {
    padding: 16px 36px;
    background: var(--rog-red);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--rog-red-glow), 0 0 15px rgba(255, 0, 85, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.btn-cyber-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px var(--rog-red);
    color: #fff;
}

.btn-cyber-glass {
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.btn-cyber-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}

/* ═════════════════════════════════════════════════════════════════════════
   BENTO BOX PRODUCT GRID WITH 3D TEXT HEADINGS
   ═════════════════════════════════════════════════════════════════════════ */
.section-cyber-wrap {
    position: relative;
    z-index: 10;
    width: min(94%, 1380px);
    margin: 0 auto 100px auto;
}

.section-header-cyber {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.sec-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--rog-red);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 0 10px var(--rog-red-glow);
}

.sec-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 
        0 1px 0 #94a3b8,
        0 2px 0 #475569,
        0 4px 8px rgba(0, 0, 0, 0.8);
}

.bento-grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 24px;
}

.bento-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s ease;
    transform-style: preserve-3d;
}

.bento-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 0, 85, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--rog-red-glow);
}

.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-4 { grid-column: span 4; }

@media (max-width: 992px) {
    .bento-card.col-8, .bento-card.col-4 { grid-column: span 12; }
}

.bento-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: max-content;
    margin-bottom: 14px;
}

.badge-oled { background: rgba(0, 240, 255, 0.15); color: #00f0ff; border: 1px solid rgba(0, 240, 255, 0.4); text-shadow: 0 0 8px rgba(0, 240, 255, 0.6); }
.badge-rtx { background: rgba(255, 0, 85, 0.15); color: #ff0055; border: 1px solid rgba(255, 0, 85, 0.4); text-shadow: 0 0 8px rgba(255, 0, 85, 0.6); }

.bento-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    text-shadow: 
        0 1px 0 #94a3b8,
        0 2px 0 #334155,
        0 3px 6px rgba(0, 0, 0, 0.8);
}

.bento-desc {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.bento-img-wrap {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 24px 0;
}

.bento-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.7));
    transition: transform 0.4s ease;
}

.bento-card:hover .bento-img {
    transform: scale(1.08) translateY(-6px);
}

.bento-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.bento-price del {
    font-size: 14px;
    color: #64748b;
    margin-left: 8px;
    text-shadow: none;
}
  border: 1px solid var(--border-glass);
    padding: 18px 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 280px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.widget-title {
    font-family: var(--font-tech);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.explode-slider-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cyber-range-input {
    width: 100%;
    accent-color: var(--accent-primary);
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
}

.mode-toggle-group {
    display: flex;
    gap: 8px;
}

.mode-btn {
    flex: 1;
    padding: 8px;
    font-size: 11px;
    font-family: var(--font-tech);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-btn.active, .mode-btn:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* SECTION HEADINGS & CONTAINER */
.section-cyber-wrap {
    position: relative;
    z-index: 10;
    width: min(92%, 1380px);
    margin: 100px auto;
}

.section-header-cyber {
    margin-bottom: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
}

.sec-tag {
    font-family: var(--font-tech);
    font-size: 12px;
    color: var(--accent-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.sec-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}

/* BENTO BOX PRODUCT SHOWCASE GRID */
.bento-grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 24px;
}

.bento-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 32px;
    overflow: hidden;
    transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.bento-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px var(--accent-glow);
}

.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-6 { grid-column: span 6; }

@media (max-width: 992px) {
    .bento-card.col-8, .bento-card.col-4, .bento-card.col-6 {
        grid-column: span 12;
    }
}

.bento-badge-group {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.bento-badge {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-oled { background: rgba(0, 240, 255, 0.15); color: #00f0ff; border: 1px solid #00f0ff; }
.badge-rtx { background: rgba(118, 185, 0, 0.15); color: #76b900; border: 1px solid #76b900; }
.badge-anime { background: rgba(255, 0, 85, 0.15); color: #ff0055; border: 1px solid #ff0055; }

.bento-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    text-transform: uppercase;
}

.bento-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.bento-img-wrap {
    position: relative;
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.bento-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
    transition: transform 0.5s var(--transition-smooth);
}

.bento-card:hover .bento-img {
    transform: scale(1.08) translateY(-8px);
}

.bento-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.bento-price del {
    font-size: 14px;
    color: #64748b;
    margin-left: 6px;
}

/* INTERACTIVE TECH STATION */
.tech-station-wrap {
    background: rgba(14, 14, 22, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 48px;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.tech-station-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .tech-station-grid {
        grid-template-columns: 1fr;
    }
}

.tech-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.tech-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tech-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

/* Cooling Fan Canvas Simulation */
.fan-sim-canvas {
    width: 100%;
    height: 220px;
    background: #000;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fan-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.fan-rpm-meter {
    font-family: var(--font-tech);
    font-size: 14px;
    color: var(--accent-primary);
    font-weight: 700;
}

/* AniMe Matrix Drawing Canvas & Studio */
.anime-matrix-canvas {
    width: 100%;
    height: 200px;
    background: #040406;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: crosshair;
}

.anime-controls {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.anime-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-family: var(--font-tech);
}

/* 3D QUICK CART DRAWER */
.cyber-cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-glass);
    z-index: 2000;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9);
    transition: right 0.4s var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cyber-cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.cart-drawer-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.cart-item-price {
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 13px;
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
