@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=VT323&display=swap');

:root {
  --bg-color: #0d0e12; --surface-color: rgba(26, 28, 35, 0.6);
  --text-main: #ffffff; --text-muted: #a1a7b3;
  --transition: all 0.3s ease; --input-bg: rgba(42, 45, 57, 0.5);
  /* OVERWORLD THEME (DEFAULT) */
  --primary-color: #6366f1; --primary-hover: #4f46e5;
  --blur-primary: rgba(99, 102, 241, 0.15); --blur-secondary: rgba(16, 185, 129, 0.08);
  --particle-color: rgba(99, 102, 241, 0.3); --particle-glow: rgba(99, 102, 241, 0.6);
}

[data-theme="nether"] {
  --primary-color: #ef4444; --primary-hover: #dc2626;
  --blur-primary: rgba(239, 68, 68, 0.15); --blur-secondary: rgba(249, 115, 22, 0.08);
  --particle-color: rgba(239, 68, 68, 0.4); --particle-glow: rgba(239, 68, 68, 0.7);
}

[data-theme="end"] {
  --primary-color: #a855f7; --primary-hover: #9333ea;
  --blur-primary: rgba(168, 85, 247, 0.15); --blur-secondary: rgba(216, 180, 254, 0.08);
  --particle-color: rgba(168, 85, 247, 0.4); --particle-glow: rgba(168, 85, 247, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; }

body { background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; position: relative; overflow-x: hidden; }

#particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -3; overflow: hidden; }
.particle { position: absolute; bottom: -20px; width: 6px; height: 6px; background: var(--particle-color); box-shadow: 0 0 15px var(--particle-glow); animation: floatUp linear infinite; border-radius: 2px; transition: background 0.5s, box-shadow 0.5s; }
@keyframes floatUp { 0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-110vh) rotate(360deg) scale(0.5); opacity: 0; } }

body::before, body::after { content: ''; position: fixed; width: 100vw; height: 100vh; top: 0; left: 0; z-index: -2; pointer-events: none; transition: background 0.5s ease; }
body::before { background: radial-gradient(circle at 20% 10%, var(--blur-primary) 0%, transparent 40%), radial-gradient(circle at 80% 50%, var(--blur-secondary) 0%, transparent 35%); filter: blur(80px); }
body::after { background: radial-gradient(circle at 70% 90%, var(--blur-primary) 0%, transparent 45%), radial-gradient(circle at 10% 60%, var(--blur-primary) 0%, transparent 30%); filter: blur(100px); opacity: 0.8; }

.hero-desc div, .shop-controls, .item-card, .imperial-statement, .team-image-wrapper, .cart-modal, footer, .page-content section, nav { backdrop-filter: blur(12px) saturate(180%); -webkit-backdrop-filter: blur(12px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.04); }

nav { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; background: rgba(13, 14, 18, 0.7); position: sticky; top: 0; z-index: 100; flex-wrap: wrap; gap: 1rem;}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; text-decoration: none; }
.logo-red { color: #ef4444; text-shadow: 0 0 15px rgba(239, 68, 68, 0.3); }
.logo-blue { color: var(--primary-color); text-shadow: 0 0 15px var(--blur-primary); transition: color 0.3s, text-shadow 0.3s; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;}
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }

.theme-selector { background-color: var(--input-bg); border: 1px solid rgba(255,255,255,0.1); color: var(--text-main); padding: 6px 12px; border-radius: 6px; font-weight: 600; cursor: pointer; outline: none; transition: var(--transition); }
.theme-selector:hover { border-color: var(--primary-color); }

.home-container { padding: 4rem 5%; max-width: 1200px; margin: 0 auto; }
.hero-split { display: flex; align-items: center; justify-content: space-between; gap: 4rem; margin-bottom: 6rem; }
.hero-text { flex: 1; }
.empire-title { font-size: clamp(2.5rem, 5vw, 4.5rem); white-space: nowrap; margin-bottom: 0.5rem; line-height: 1.1; background: linear-gradient(to right, #fff, var(--primary-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; transition: background 0.3s; }
.hero-text .subtitle { font-size: 1.5rem; font-weight: 600; color: var(--primary-color); margin-bottom: 2.5rem; transition: color 0.3s;}
.hero-desc { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.desc-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.desc-icon { font-size: 1.5rem; background-color: var(--surface-color); padding: 12px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.desc-item p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; margin-top: 5px; }

.hero-image { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-image::before { content: ''; position: absolute; width: 350px; height: 350px; background: var(--primary-color); filter: blur(120px); opacity: 0.25; border-radius: 50%; z-index: -1; transition: background 0.3s;}
.skin-canvas-3d { cursor: grab; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); animation: float3D 6s ease-in-out infinite; }
.skin-canvas-3d:active { cursor: grabbing; }

@keyframes float3D { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

.team-section { text-align: center; margin-bottom: 6rem; }
.team-section h2 { font-size: 2.5rem; margin-bottom: 2rem; }
.team-image-wrapper { position: relative; border-radius: 16px; overflow: hidden; background-color: var(--surface-color); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); transition: var(--transition); }
.team-image-wrapper:hover { transform: translateY(-5px); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px var(--blur-primary); }
.glass-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.03) 100%); pointer-events: none; z-index: 2; }
.team-img { width: 100%; display: block; z-index: 1; }

.imperial-statement { background: rgba(13, 14, 18, 0.5); background-image: repeating-linear-gradient(45deg, rgba(239, 68, 68, 0.02) 0px, rgba(239, 68, 68, 0.02) 20px, transparent 20px, transparent 40px); border-left: 5px solid #ef4444; border-radius: 12px; padding: 2.5rem; display: flex; gap: 1.5rem; align-items: flex-start; box-shadow: 0 10px 30px rgba(239, 68, 68, 0.03); }
.statement-icon { font-size: 2.5rem; filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.3)); }
.statement-content h3 { color: #ef4444; font-size: 1.4rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; }
.statement-content p { color: #fca5a5; font-size: 1.1rem; line-height: 1.7; }

.btn { padding: 14px 32px; background-color: var(--primary-color); color: white; text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 1.1rem; transition: var(--transition); border: none; cursor: pointer; display: inline-block; }
.btn:hover:not(:disabled) { background-color: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 10px 20px var(--blur-primary); }

.page-content, .shop-page { padding: 4rem 5%; }
.shop-page h2 { font-size: 2.5rem; margin-bottom: 1.5rem; text-align: center; }

.category-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 15px; margin-bottom: 1.5rem; justify-content: center; }
.category-tabs::-webkit-scrollbar { height: 6px; }
.category-tabs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
.category-tab { padding: 10px 24px; background: var(--surface-color); border: 1px solid rgba(255,255,255,0.05); border-radius: 30px; color: var(--text-muted); font-weight: 600; cursor: pointer; transition: var(--transition); white-space: nowrap; font-size: 0.95rem; }
.category-tab:hover, .category-tab.active { background: var(--primary-color); color: white; box-shadow: 0 4px 15px var(--blur-primary); border-color: var(--primary-hover); }

.shop-controls { background-color: var(--surface-color); padding: 1.5rem; border-radius: 12px; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
#search-bar { width: 100%; padding: 1rem; background-color: var(--input-bg); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: var(--text-main); font-size: 1rem; outline: none; transition: var(--transition); }
#search-bar:focus { border-color: var(--primary-color); box-shadow: 0 0 15px var(--blur-primary); }

.filters { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
#price-slider { accent-color: var(--primary-color); width: 200px; cursor: pointer; transition: var(--transition); }
#crate-filter, #sort-filter { padding: 0.6rem 1rem; background-color: var(--input-bg); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; color: var(--text-main); outline: none; cursor: pointer; font-weight: 600; transition: var(--transition);}
#crate-filter:focus, #sort-filter:focus { border-color: var(--primary-color); }

.checkbox-group { flex-direction: row; align-items: center; margin-top: auto; gap: 15px; flex-wrap: wrap; }
.checkbox-item { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.checkbox-item input[type="checkbox"] { accent-color: var(--primary-color); width: 16px; height: 16px; cursor: pointer; }
.checkbox-item label { cursor: pointer; margin: 0; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.item-card { background-color: var(--surface-color); border-radius: 12px; padding: 1.5rem; transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; position: relative; overflow: hidden; opacity: 0; animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

@keyframes popIn { 0% { opacity: 0; transform: scale(0.9) translateY(20px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
.item-card:hover { transform: translateY(-5px); border-color: var(--blur-primary); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }

.badge-new { position: absolute; top: 15px; right: -35px; background: linear-gradient(135deg, #ff7eb3, #ff758c); color: white; font-size: 0.7rem; font-weight: 800; padding: 5px 40px; transform: rotate(45deg); box-shadow: 0 4px 15px rgba(255, 117, 140, 0.4); z-index: 10; letter-spacing: 1px; text-transform: uppercase; pointer-events: none; }
.badge-sale { position: absolute; top: 15px; left: -35px; background: linear-gradient(135deg, #ef4444, #f87171); color: white; font-size: 0.7rem; font-weight: 800; padding: 5px 40px; transform: rotate(-45deg); box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4); z-index: 10; letter-spacing: 1px; text-transform: uppercase; pointer-events: none; }

.price-container { display: flex; align-items: baseline; gap: 8px; margin-bottom: 0.5rem; }
.old-price { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; font-weight: 600; opacity: 0.6; }
.item-price { font-size: 1.5rem; font-weight: 800; color: #10b981; margin-bottom: 0.5rem; }

.item-header-group { display: flex; align-items: center; gap: 12px; margin-bottom: 0.25rem; margin-top: -10px; }
.item-icon { width: 28px; height: 28px; image-rendering: pixelated; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.item-name { font-size: 1.25rem; font-weight: 800; color: var(--primary-color); transition: color 0.3s;}

.crate-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.5px; }
.crate-summer { background: rgba(249, 115, 22, 0.15); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.3); }
.crate-winter { background: rgba(56, 189, 248, 0.15); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.3); }
.crate-halloween { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.3); }
.crate-default { background: rgba(156, 163, 175, 0.15); color: #d1d5db; border: 1px solid rgba(156, 163, 175, 0.3); }

.enchants-list { list-style: none; margin-bottom: 1.5rem; flex-grow: 1; }
.enchants-list li { font-size: 0.9rem; margin-bottom: 0.25rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.enchant-normal { color: #aaaaaa; } 
.enchant-curse { color: #ff5555; }
.enchant-rare { color: #55ffff; text-shadow: 0 0 5px rgba(85, 255, 255, 0.3); }

.item-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); min-height: 60px; }
.stock { font-weight: 600; }
.in-stock { color: #10b981; }
.out-stock { color: #ef4444; }

.card-cart-controls { display: flex; gap: 8px; align-items: center; }
.card-cart-controls .qty-controls { background-color: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); }
.remove-btn { background-color: rgba(239, 68, 68, 0.8); padding: 8px 12px; font-size: 1.1rem; }
.remove-btn:hover { background-color: #ef4444; box-shadow: 0 5px 15px rgba(239, 68, 68, 0.2); }

#scroll-top-btn { position: fixed; bottom: 30px; left: 30px; background-color: var(--surface-color); border: 1px solid rgba(255,255,255,0.1); color: white; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.4); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition); transform: translateY(20px); }
#scroll-top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#scroll-top-btn:hover { background-color: var(--primary-color); transform: translateY(-5px); }

#cart-button { position: fixed; bottom: 30px; right: 30px; background-color: var(--primary-color); color: white; padding: 15px 20px; border-radius: 50px; font-size: 1.5rem; cursor: pointer; box-shadow: 0 10px 30px var(--blur-primary); z-index: 1000; transition: var(--transition); }
#cart-button:hover { transform: translateY(-3px) scale(1.05); background-color: var(--primary-hover); }

/* LIFT FLOATING BUTTONS WHEN STICKY BAR IS ACTIVE */
#cart-button.lifted { bottom: 105px; }
#scroll-top-btn.lifted { bottom: 105px; }

/* STICKY CHECKOUT BAR STYLES */
#sticky-checkout {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 28, 35, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 5%;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}
#sticky-checkout.visible {
    transform: translateY(0);
}
.sticky-checkout-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}
.sticky-info {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
}
#sticky-count {
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1.1rem;
    margin-right: 15px;
    box-shadow: 0 0 15px var(--blur-primary);
}
.sticky-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    animation: pulse-green 2s infinite;
}
.sticky-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* LOOT DROP OVERLAY STYLES */
#loot-drop-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 14, 18, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#loot-drop-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.loot-chest {
    font-size: 6rem;
    filter: drop-shadow(0 0 20px var(--primary-color));
    animation: shake-chest 0.4s infinite;
}
.loot-chest.burst {
    animation: none;
    transform: scale(1.5);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 60px #10b981);
}
.loot-text {
    margin-top: 30px;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--blur-primary);
}

@keyframes shake-chest {
    0% { transform: translateX(0) rotate(0); }
    25% { transform: translateX(-8px) rotate(-8deg); }
    50% { transform: translateX(8px) rotate(8deg); }
    75% { transform: translateX(-8px) rotate(-8deg); }
    100% { transform: translateX(0) rotate(0); }
}

@keyframes happyBounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.2); } }
@keyframes sadShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px) rotate(-10deg); filter: grayscale(100%); } 75% { transform: translateX(8px) rotate(10deg); filter: grayscale(100%); } }

.animate-happy { animation: happyBounce 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
.animate-sad { animation: sadShake 0.4s ease-in-out both; }
#cart-count { background-color: #ef4444; font-size: 1rem; padding: 2px 8px; border-radius: 20px; font-weight: 800; margin-left: 5px; }

.cart-modal { position: fixed; top: 0; right: -400px; width: 380px; height: 100vh; background-color: rgba(26, 28, 35, 0.8); transition: var(--transition); z-index: 1001; display: flex; flex-direction: column; }
.cart-modal.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.close-cart { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: var(--transition); }
.close-cart:hover { color: #ef4444; }
.cart-items { flex-grow: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.cart-item { display: flex; flex-direction: column; gap: 10px; background-color: rgba(13, 14, 18, 0.3); padding: 15px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.03); }
.cart-item-header { display: flex; justify-content: space-between; font-weight: 600; }
.cart-item-controls { display: flex; justify-content: space-between; align-items: center; }
.qty-controls { display: flex; align-items: center; gap: 10px; background: rgba(26, 28, 35, 0.5); padding: 5px; border-radius: 6px; }
.qty-btn { background: transparent; border: none; color: var(--text-main); font-size: 1.2rem; cursor: pointer; width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: var(--transition); }
.qty-btn:hover { background: rgba(255, 255, 255, 0.05); }

.promo-box { display: flex; gap: 10px; margin-bottom: 10px; }
.promo-box input { flex: 1; padding: 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); background: var(--input-bg); color: #fff; outline: none; transition: var(--transition); }
.promo-box input:focus { border-color: var(--primary-color); }
.promo-box button { padding: 10px 15px; background: var(--primary-color); color: white; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.promo-box button:hover { background: var(--primary-hover); }
.promo-msg { font-size: 0.9rem; margin-bottom: 10px; text-align: center; font-weight: 600; }

.cart-footer { padding: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; gap: 10px; background-color: rgba(26, 28, 35, 0.5); }
.cart-total { font-size: 1.25rem; font-weight: 800; display: flex; justify-content: space-between; padding-top: 5px;}
.checkout-btn { width: 100%; text-align: center; margin-top: 5px; }

footer { text-align: center; padding: 2rem; margin-top: 2rem; background-color: var(--surface-color); padding-bottom: 100px; /* Extra padding so sticky bar doesn't cover text */ }
.trademark-text { font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.5px; }
.trademark-tag { color: var(--primary-color); font-weight: 800; cursor: pointer; transition: var(--transition); }
.trademark-tag:hover { color: #ff7eb3; text-shadow: 0 0 15px rgba(255, 126, 179, 0.5); }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 4rem 2rem; background-color: rgba(26, 28, 35, 0.4); border-radius: 12px; border: 1px dashed rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); }
.empty-state h3 { font-size: 1.5rem; color: var(--text-main); margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-muted); }

#toast-container { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 9999; }
.toast { padding: 14px 24px; border-radius: 8px; color: #fff; font-weight: 600; box-shadow: 0 5px 20px rgba(0,0,0,0.4); animation: slideUp 0.3s ease-out forwards; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; text-align: center; }
.toast.error { background: rgba(239, 68, 68, 0.85); border-color: rgba(239, 68, 68, 0.3); }
.toast.success { background: rgba(16, 185, 129, 0.85); border-color: rgba(16, 185, 129, 0.3); }
.toast.info { background: var(--primary-color); border-color: var(--blur-primary); }
.toast.hide { animation: fadeDown 0.3s ease-in forwards; }

@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeDown { from { transform: translateY(0); opacity: 1; } to { transform: translateY(50px); opacity: 0; } }

@media (max-width: 768px) {
  .hero-split { flex-direction: column; text-align: center; }
  .desc-item { align-items: center; flex-direction: column; text-align: center; }
  .nav-links { gap: 1rem; font-size: 0.9rem; justify-content: center; }
  body::before, body::after { filter: blur(60px); }
  .category-tabs { justify-content: flex-start; padding-left: 5%; padding-right: 5%; }
  #scroll-top-btn { left: 15px; bottom: 15px; width: 40px; height: 40px; font-size: 1.2rem; }
  
  .sticky-info { font-size: 1rem; }
  #sticky-count { padding: 3px 8px; margin-right: 10px; }
  .sticky-btn { padding: 10px 15px; font-size: 1rem; }
}