/* ========================================
   CSS VARIABLES & ROOT STYLES
======================================== */
:root {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-color: #4285F4;
    --accent-hover: #3367d6;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --border-color: #e0e0e0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    
    /* Primary Accent - Emerald green for important elements */
    --accent-primary: #22c55e;
    --accent-primary-dark: #16a34a;
    
    /* Secondary Accent - Blue for details */
    --accent-secondary: #3B82F6;
    --accent-secondary-dark: #2563EB;
    
    /* Transitions & Animations */
    --transition-speed: 0.3s;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ========================================
   CART / SHOPPING BAG
======================================== */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1200;
}

.cart-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 94vw);
    height: 100vh;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 1201;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.cart-kicker {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    margin: 0 0 0.25rem 0;
}

.cart-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.cart-close {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
}

.cart-close:hover {
    color: var(--accent-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--glass-bg);
}

.cart-thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: flex-start;
}

.cart-item-top h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.cart-remove {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
}

.cart-remove:hover {
    color: var(--accent-primary);
}

.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cart-price {
    font-weight: 700;
    color: var(--text-primary);
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.cart-qty button {
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
}

.cart-qty span {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
}

.cart-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--bg-secondary);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.cart-summary-row.total {
    font-size: 1.1rem;
}

.cart-summary-row.discount {
    color: var(--accent-primary);
}

.cart-discount {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

.cart-discount input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.cart-discount .btn {
    border-radius: 10px;
    background: var(--accent-primary);
    color: #fff;
    border: 1px solid var(--accent-primary);
    padding: 0.65rem 0.9rem;
}

.cart-discount .btn:hover,
.cart-discount .btn:focus {
    background: var(--accent-primary-dark);
    border-color: var(--accent-primary-dark);
    color: #fff;
}

.cart-discount-status {
    font-size: 0.85rem;
    color: var(--text-primary);
}

[data-theme="dark"] .cart-discount-status {
    color: #fff !important;
}

[data-theme="dark"] .cart-discount-status.text-muted,
[data-theme="dark"] .cart-discount-status.text-success,
[data-theme="dark"] .cart-discount-status.text-danger,
[data-theme="dark"] .cart-discount-status.text-warning {
    color: #fff !important;
}

.cart-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.cart-contact input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.checkout-btn {
    width: 100%;
    justify-content: center;
}

.cart-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cart-empty {
    text-align: center;
    padding: 2rem;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    background: var(--glass-bg);
}

.cart-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    border: none;
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1202;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cart-fab:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.cart-fab.pulse {
    animation: cartPulse 0.6s ease;
}

.cart-nav-btn.pulse {
    animation: cartPulse 0.6s ease;
}

.cart-open .theme-toggle,
.cart-open .cart-fab {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

.cart-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #fff;
    color: var(--accent-primary);
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.cart-badge.hidden {
    display: none;
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 640px) {
    .cart-drawer {
        width: 100%;
    }
    .cart-fab {
        right: 16px;
        bottom: 16px;
    }
}

[data-theme="dark"] {
    /* Dark Mode Colors */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --accent-color: #58a6ff;
    --accent-hover: #79c0ff;
    --card-bg: #161b22;
    --card-shadow: rgba(0, 0, 0, 0.4);
    --border-color: #30363d;
    --glass-bg: rgba(22, 27, 34, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Primary Accent - Emerald green for important elements */
    --accent-primary: #22c55e;
    --accent-primary-dark: #16a34a;
    
    /* Secondary Accent - Blue for details */
    --accent-secondary: #3B82F6;
    --accent-secondary-dark: #2563EB;
    
    /* Shadows (darker in dark mode) */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
}

/* ========================================
   GLOBAL STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.4s var(--transition-smooth), color 0.4s var(--transition-smooth);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   FOGGY GRADIENT BACKGROUND (Soft Motion)
======================================== */
body::before {
    content: '';
    position: fixed;
    inset: -12%;
    z-index: -4;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 35%, rgba(52, 120, 210, 0.32), transparent 52%),
        radial-gradient(circle at 78% 30%, rgba(30, 90, 180, 0.28), transparent 50%),
        radial-gradient(circle at 40% 75%, rgba(70, 140, 240, 0.22), transparent 55%);
    filter: blur(68px);
    opacity: 0.75;
    animation: fogDrift 36s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    inset: -14%;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(circle at 30% 25%, rgba(88, 166, 255, 0.22), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(40, 110, 200, 0.2), transparent 58%);
    filter: blur(75px);
    opacity: 0.6;
    animation: fogDriftAlt 48s ease-in-out infinite alternate;
}

@keyframes fogDrift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(2%, -1%, 0) scale(1.04); }
    100% { transform: translate3d(-2%, 1.5%, 0) scale(1.02); }
}

@keyframes fogDriftAlt {
    0% { transform: translate3d(-2%, 1%, 0) scale(1.03); }
    50% { transform: translate3d(2.5%, -1.5%, 0) scale(1.05); }
    100% { transform: translate3d(-1%, 2%, 0) scale(1.01); }
}

/* ========================================
   PARTICLES CANVAS (Subtle Overlay)
======================================== */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    opacity: 0.28;
}

/* ========================================
   LAYOUT CONTAINERS
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* ========================================
   ANIMATED BLOBS BACKGROUND (DISABLED)
======================================== */
/* Blobs are now disabled in favor of the aurora background
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.3;
    animation: blob-animation 20s infinite ease-in-out;
    pointer-events: none;
    z-index: -1;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-color), #a5d8ff);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #79c0ff, var(--accent-hover));
    top: 50%;
    right: 10%;
    animation-delay: 5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--accent-color), #58a6ff);
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes blob-animation {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}
*/

/* ========================================
   NAVIGATION HEADER
======================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.main-header .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand .logo {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo {
    transform: rotate(5deg);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 12px;
}

.cart-nav-btn {
    position: relative;
    border: 1px solid var(--border-color);
    background: var(--glass-bg);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cart-nav-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cart-nav-icon {
    font-size: 1.1rem;
}

.cart-trigger-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu.active + .theme-toggle {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

.mobile-menu.active ~ .cart-fab {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-nav li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav li:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-nav-link:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* ========================================
   THEME TOGGLE BUTTON
======================================== */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--accent-color);
    color: white;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.theme-toggle:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--accent-hover);
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.6);
}

.theme-toggle:active {
    transform: scale(0.95) rotate(-15deg);
}

.sun-icon,
.moon-icon {
    position: absolute;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 60px 20px;
    background: transparent;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Fade out effect on scroll */
.hero-section.fade-out {
    opacity: 0;
    transform: translateY(-50px);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Logo */
.hero-logo {
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.logo-img {
    width: clamp(220px, 40vw, 520px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: none;
    animation: none;
    opacity: 1 !important; /* Force full opacity */
}

.logo-img:hover {
    transform: none;
    opacity: 1 !important; /* Maintain full opacity on hover */
}

/* Donation Section (Home) */
.donation-section {
    padding: 80px 0;
    position: relative;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.donation-copy {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.donation-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    background: rgba(34, 197, 94, 0.12);
    color: var(--accent-primary);
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.donation-copy h3 {
    font-size: clamp(1.6rem, 2vw, 1.9rem);
    margin-bottom: 0.8rem;
}

.donation-copy p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.donation-perks {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: grid;
    gap: 0.65rem;
}

.donation-perks li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
    font-weight: 600;
}

.donation-perks i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.donation-meta {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.donation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-secondary);
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 600;
}

.donation-badge.alt {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-primary);
    border-color: rgba(34, 197, 94, 0.25);
}

.donation-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.18));
    border: 2px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    display: grid;
    gap: 1.2rem;
}

.donation-card-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.donation-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-color);
    color: white;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.35);
}

.donation-card h3 {
    margin: 0;
    font-size: 1.5rem;
}

.donation-card p {
    margin: 0.2rem 0 0;
    color: var(--text-secondary);
}

.donation-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.donation-footer {
    display: grid;
    gap: 0.5rem;
}

.donation-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.6rem 0.75rem;
    background: var(--glass-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .donation-section {
        padding: 60px 0;
    }

    .donation-card, .donation-copy {
        padding: 1.5rem;
    }
}

/* Additional logo opacity fixes */
.navbar-brand .logo {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    opacity: 1 !important; /* Force full opacity for navbar logo */
}

.navbar-brand:hover .logo {
    transform: rotate(5deg);
    opacity: 1 !important; /* Maintain full opacity on hover */
}

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

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    min-height: 60px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Ripple effect on all buttons */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--transition-smooth), height 0.6s var(--transition-smooth);
    pointer-events: none;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    transition: width 0s, height 0s;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-outline:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--transition-smooth), height 0.6s var(--transition-smooth);
}

.btn-animated:hover::before {
    width: 300px;
    height: 300px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--card-shadow);
    border: 2px solid var(--border-color);
}

/* Brand-inspired idle states */
.social-link:has(.bi-cash-coin) {
    background: rgba(255, 66, 77, 0.12);
    border-color: rgba(255, 66, 77, 0.35);
    color: #ff424d;
}
.social-link:has(.bi-instagram) {
    background: rgba(225, 48, 108, 0.12);
    border-color: rgba(225, 48, 108, 0.35);
    color: #E1306C;
}
.social-link:has(.bi-tiktok) {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.22);
    color: #111;
}

.social-link:has(.bi-discord) {
    background: rgba(88, 101, 242, 0.12);
    border-color: rgba(88, 101, 242, 0.35);
    color: #5865f2;
}

.social-link:has(.bi-youtube) {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #ef4444;
}

[data-theme="dark"] .social-link:has(.bi-cash-coin) {
    background: rgba(255, 99, 110, 0.18);
    border-color: rgba(255, 99, 110, 0.45);
    color: #ff8a92;
}
[data-theme="dark"] .social-link:has(.bi-instagram) {
    background: rgba(225, 48, 108, 0.18);
    border-color: rgba(225, 48, 108, 0.45);
    color: #f7a7c0;
}
[data-theme="dark"] .social-link:has(.bi-tiktok) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f6f7fb;
}

[data-theme="dark"] .social-link:has(.bi-discord) {
    background: rgba(114, 128, 255, 0.18);
    border-color: rgba(114, 128, 255, 0.45);
    color: #94a3ff;
}

[data-theme="dark"] .social-link:has(.bi-youtube) {
    background: rgba(248, 113, 113, 0.18);
    border-color: rgba(248, 113, 113, 0.45);
    color: #fca5a5;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px var(--card-shadow);
}

/* Social Links with Brand Colors */
.social-link:has(.bi-envelope-fill):hover {
    background: #EA4335 !important;
    border-color: #EA4335 !important;
    box-shadow: 0 5px 25px rgba(234, 67, 53, 0.4) !important;
}

.social-link:has(.bi-cash-coin):hover {
    background: #ff424d !important;
    border-color: #ff424d !important;
    color: #ffffff !important;
    box-shadow: 0 5px 25px rgba(255, 66, 77, 0.4) !important;
}

.social-link:has(.bi-discord):hover,
.discord-link:hover {
    background: #5865F2 !important;
    border-color: #5865F2 !important;
    box-shadow: 0 5px 25px rgba(88, 101, 242, 0.4) !important;
    color: #ffffff !important;
}

.social-link:has(.bi-linkedin):hover {
    background: #0077B5 !important;
    border-color: #0077B5 !important;
    box-shadow: 0 5px 25px rgba(0, 119, 181, 0.4) !important;
}

.social-link:has(.bi-instagram):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: #E1306C !important;
    box-shadow: 0 5px 25px rgba(225, 48, 108, 0.4) !important;
}
.social-link:has(.bi-tiktok):hover {
    background: linear-gradient(135deg, #25F4EE, #000000, #FE2C55) !important;
    border-color: #000 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.35) !important;
}

.social-link:has(.bi-github):hover {
    background: #24292e !important;
    border-color: #586069 !important;
    box-shadow: 0 5px 25px rgba(36, 41, 46, 0.4) !important;
}

.social-link:has(.bi-youtube):hover {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.4) !important;
}

/* Discord Button Special Styling */
.discord-btn {
    background: #5865F2 !important;
    border-color: #5865F2 !important;
}

.discord-btn:hover {
    background: #4752C4 !important;
    border-color: #4752C4 !important;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.5) !important;
}

/* Email Button Special Styling - Only in Contact Section */
.contact-buttons .btn:has(.bi-envelope-fill) {
    border-color: #EA4335;
    color: #EA4335;
}

.contact-buttons .btn:has(.bi-envelope-fill):hover {
    background: #EA4335 !important;
    border-color: #EA4335 !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(234, 67, 53, 0.5) !important;
}

/* LinkedIn Button Special Styling - Only in Contact Section */
.contact-buttons .btn:has(.bi-linkedin) {
    border-color: #0077B5;
    color: #0077B5;
}

.contact-buttons .btn:has(.bi-linkedin):hover {
    background: #0077B5 !important;
    border-color: #0077B5 !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.5) !important;
}

/* ========================================
   PORTFOLIO SECTION
======================================== */
.portfolio-section {
    padding: 100px 20px;
    min-height: 100vh;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
}

/* About Creator */
.about-creator {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
}

.creator-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(88, 166, 255, 0.2));
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* ========================================
   ENHANCED PORTFOLIO STYLES
   ======================================== */

/* Enhanced creator info section */
.creator-info h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.creator-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem !important;
}

.creator-title i {
    color: var(--accent-primary);
    font-size: 1.2em;
    animation: sparkleRotate 2s infinite ease-in-out;
}

@keyframes sparkleRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.creator-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.creator-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Enhanced skills section */
.creator-info h4 {
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    border-radius: 12px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.skill-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.skill-item i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.skill-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Enhanced image overlay - DISABLED */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.4s var(--transition-smooth);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Disabled hover effect for creator image
.creator-image:hover .image-overlay {
    opacity: 1;
    pointer-events: all;
}
*/

.social-links-overlay {
    display: flex;
    gap: 1rem;
}

.social-overlay-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-smooth);
    transform: translateY(0); /* Always visible position */
}

/* Disabled hover animation for social links
.creator-image:hover .social-overlay-link {
    transform: translateY(0);
}
*/

.social-overlay-link:hover {
    background: var(--accent-secondary);
    transform: translateY(-5px) scale(1.1);
}

/* Enhanced project cards with overlays */
/* ========================================
   PORTFOLIO CTA SECTION
   ======================================== */
.portfolio-cta {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Collabs Section */
.collab-section {
    margin-top: 3rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.collab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.collab-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.collab-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(88, 166, 255, 0.35);
}

.collab-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(88, 166, 255, 0.12), transparent 45%),
                radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.1), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.collab-card:hover::after {
    opacity: 1;
}

.collab-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: #ffffff;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    animation: collabPulse 4.5s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collab-dream {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.collab-forgelabs {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.collab-wisp {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.collab-bbh {
    background: linear-gradient(135deg, #ef4444, #c026d3);
}

.collab-other {
    background: linear-gradient(135deg, #6b7280, #111827);
}

.collab-daquavis {
    background: linear-gradient(135deg, #7c3aed, #22d3ee);
}

.collab-shotgunraids {
    background: linear-gradient(135deg, #2563eb, #f97316);
}

.collab-appleseed {
    background: linear-gradient(135deg, #16a34a, #facc15);
}

.collab-boatlabs {
    background: linear-gradient(135deg, #0ea5e9, #0f766e);
}

.collab-card:hover .collab-logo {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.collab-card h4 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.collab-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.collab-section::before {
    content: '';
    position: absolute;
    inset: -15%;
    background: radial-gradient(circle at 25% 30%, rgba(88, 166, 255, 0.08), transparent 45%),
                radial-gradient(circle at 70% 65%, rgba(34, 197, 94, 0.08), transparent 45%);
    animation: collabGlow 24s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.collab-section > * {
    position: relative;
    z-index: 1;
}

@keyframes collabPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes collabGlow {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(1%, -1%, 0) scale(1.02); }
    100% { transform: translate3d(-1%, 1.5%, 0) scale(1.01); }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.4;
    }
}

.creator-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.creator-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
}

.stat-item:hover::before {
    opacity: 0.03;
}

.stat-item:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(var(--accent-primary-rgb), 0.3);
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-secondary);
    transition: all 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.stat-item:hover i {
    color: var(--accent-primary);
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.stat-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Featured Projects */
.featured-projects {
    margin-top: 4rem;
}

.featured-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.featured-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Auto-scrolling Carousel */
.carousel-container {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

@keyframes glowLeft {
    0%, 100% {
        opacity: 1;
        filter: hue-rotate(0deg) brightness(1);
    }
    33% {
        opacity: 0.85;
        filter: hue-rotate(30deg) brightness(1.1);
    }
    66% {
        opacity: 0.9;
        filter: hue-rotate(-30deg) brightness(1.05);
    }
}

@keyframes glowRight {
    0%, 100% {
        opacity: 1;
        filter: hue-rotate(0deg) brightness(1);
    }
    33% {
        opacity: 0.9;
        filter: hue-rotate(-25deg) brightness(1.08);
    }
    66% {
        opacity: 0.85;
        filter: hue-rotate(25deg) brightness(1.12);
    }
}

.marquee-row {
    overflow: hidden;
    margin-bottom: 1rem;
}

.marquee-track {
    display: flex;
    gap: 1.25rem;
    animation: marquee 28s linear infinite;
    min-width: 200%;
}

.marquee-row.reverse .marquee-track {
    animation-direction: reverse;
    animation-duration: 32s;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Project Cards */
.project-card {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.6s ease-out, box-shadow 0.6s ease-out;
    cursor: pointer;
    will-change: transform;
    backface-visibility: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-3px) scale(1.01) translateZ(0);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-out;
    pointer-events: none;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card:focus-visible {
    outline: 3px solid rgba(34, 197, 94, 0.6);
    outline-offset: 4px;
}

/* Portfolio Responsive */
@media (max-width: 992px) {
    .about-creator {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .creator-info {
        text-align: center;
    }
    
    .creator-title {
        justify-content: center;
    }
    
    .creator-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.25rem;
    }
    
    .portfolio-section {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 120px 20px 60px; /* Más padding-top para el header fijo */
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .creator-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.1rem;
        gap: 0.65rem;
        text-align: left;
    }
    
    .stat-item i {
        font-size: 1.4rem;
    }
    
    .stat-item strong {
        font-size: 1.3rem;
    }
    
    .project-card {
        flex: 0 0 280px;
        height: 200px;
    }
    
    .featured-title {
        font-size: 2rem;
    }
    
    .featured-subtitle {
        font-size: 1rem;
    }
    
    /* Enhanced mobile portfolio styles */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .skill-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .creator-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-links-overlay {
        gap: 0.75rem;
    }
    
    .social-overlay-link {
        width: 45px;
        height: 45px;
    }
    
    .project-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .project-overlay h4 {
        font-size: 1.1rem;
    }
    
    .project-overlay p {
        font-size: 0.85rem;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    /* Portfolio CTA mobile styles */
    .portfolio-cta {
        margin-top: 3rem;
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .portfolio-section {
        padding: 100px 15px 40px; /* Más padding-top para header fijo en móviles pequeños */
    }
    
    .creator-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .creator-info p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .carousel-track {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 150px;
    }
    
    .carousel-container {
        padding: 1rem 0;
    }
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    position: relative;
    overflow: visible;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.footer-meta {
    font-size: 0.9rem;
}

.footer i {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
}

.footer-creeper {
    position: absolute;
    top: -110px;
    left: 0;
    width: 150px;
    height: auto;
    pointer-events: auto;
    cursor: pointer;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35));
    transform: translate3d(0, 0, 0);
    z-index: 2;
}

@media (max-width: 768px) {
    .footer-creeper {
        top: -80px;
        width: 110px;
    }
}

@media (max-width: 480px) {
    .footer-creeper {
        top: -70px;
        width: 95px;
    }
}

/* Discount Popup */
.discount-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    z-index: 1200;
    backdrop-filter: blur(4px);
}

.discount-popup-backdrop.open {
    display: flex;
}

.discount-popup {
    position: relative;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.75rem;
    width: min(420px, 100%);
    box-shadow: var(--shadow-xl);
    animation: popIn 220ms var(--transition-bounce);
}

.discount-close {
    position: absolute;
    top: 0.6rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.discount-close:hover {
    transform: scale(1.05);
    color: var(--accent-primary);
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
}

.discount-badge i {
    line-height: 1;
}

.discount-popup h3 {
    margin: 0 0 0.4rem;
    font-size: 1.4rem;
}

.discount-text {
    margin: 0 0 1rem;
    color: var(--text-secondary);
}

.discount-code-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-secondary);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 0.75rem;
}

.discount-code {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.discount-copy {
    margin-left: auto;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    border: none;
    background: var(--accent-primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}

.discount-copy:hover {
    transform: translateY(-1px);
    background: var(--accent-primary-dark);
}

.discount-note {
    display: block;
    margin-top: 0.75rem;
    color: var(--text-secondary);
}

@keyframes popIn {
    0% { transform: scale(0.95) translateY(8px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column ul li a:hover {
        transform: translateX(0) scale(1.05);
    }
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ========================================
   SERVICES PAGE
======================================== */
.services-section {
    min-height: 100vh;
    padding: 150px 0 100px;
}

/* Search & Filter Bar */
.search-filter-bar {
    margin: 4rem 0 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-box i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--text-secondary);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 40px var(--card-shadow);
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

/* Filter Tags */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-tag {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--card-shadow);
    color: #ffffff;
}

.filter-tag.active {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Tag-specific filter colors */
.filter-tag[data-tag="all"] {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.35);
    color: #4f46e5;
}

.filter-tag[data-tag="all"]:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.55);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.25);
}

.filter-tag[data-tag="all"].active {
    background: #4f46e5;
    border-color: #4338ca;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.35);
}

.filter-tag[data-tag="adventure"] {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    color: #15803d;
}

.filter-tag[data-tag="adventure"]:hover {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.55);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.25);
}

.filter-tag[data-tag="adventure"].active {
    background: #22c55e;
    border-color: #16a34a;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.35);
}

.filter-tag[data-tag="parkour"] {
    background: rgba(236, 72, 153, 0.12);
    border-color: rgba(236, 72, 153, 0.35);
    color: #be185d;
}

.filter-tag[data-tag="parkour"]:hover {
    background: rgba(236, 72, 153, 0.18);
    border-color: rgba(236, 72, 153, 0.55);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(236, 72, 153, 0.25);
}

.filter-tag[data-tag="parkour"].active {
    background: #ec4899;
    border-color: #db2777;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(236, 72, 153, 0.35);
}

.filter-tag[data-tag="minigame"] {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.35);
    color: #1d4ed8;
}

.filter-tag[data-tag="minigame"]:hover {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.55);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.25);
}

.filter-tag[data-tag="minigame"].active {
    background: #3b82f6;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.35);
}

.filter-tag[data-tag="pvp"] {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #b91c1c;
}

.filter-tag[data-tag="pvp"]:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.55);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.25);
}

.filter-tag[data-tag="pvp"].active {
    background: #ef4444;
    border-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.35);
}

.filter-tag[data-tag="survival"] {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #047857;
}

.filter-tag[data-tag="survival"]:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.55);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.25);
}

.filter-tag[data-tag="survival"].active {
    background: #10b981;
    border-color: #059669;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.35);
}

.filter-tag i {
    font-size: 1.1rem;
}

/* Custom Worlds Section */
.custom-world-section {
    margin: 3rem 0;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.custom-world-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 1.5rem;
}

.custom-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-secondary);
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.custom-world-header h3 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 0.6rem;
}

.custom-world-header p {
    color: var(--text-secondary);
    margin: 0 auto;
}

.custom-world-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.custom-world-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.custom-world-card.steps {
    border: 1px solid rgba(34, 197, 94, 0.35);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.custom-world-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 20%, rgba(88, 166, 255, 0.12), transparent 35%),
                radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.custom-world-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg), 0 12px 35px rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.35);
}

.custom-world-card:hover::after {
    opacity: 1;
}

.custom-world-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(88, 166, 255, 0.18);
    color: var(--accent-secondary);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.custom-world-icon.alt {
    background: rgba(34, 197, 94, 0.18);
    color: var(--accent-primary);
}

.custom-world-card:hover .custom-world-icon {
    transform: translateY(-4px);
    background: rgba(34, 197, 94, 0.22);
    color: var(--accent-primary);
}

.custom-world-card h4 {
    margin: 0;
    font-size: 1.15rem;
}

.custom-world-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.custom-world-list li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.custom-world-list i {
    color: var(--accent-primary);
    margin-top: 2px;
}

.custom-step-list {
    list-style: none;
    counter-reset: steps;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.custom-step-list li {
    position: relative;
    padding-left: 2.2rem;
}

.custom-step-list li::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--accent-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom-step-list strong {
    color: var(--text-primary);
}

.custom-step-list li:hover::before {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.25);
}

.custom-world-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-world-actions .btn {
    min-width: 210px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom-world-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
}

.custom-world-section::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 20% 30%, rgba(88, 166, 255, 0.08), transparent 45%),
                radial-gradient(circle at 75% 70%, rgba(34, 197, 94, 0.08), transparent 45%);
    animation: customGlow 22s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.custom-world-section > * {
    position: relative;
    z-index: 1;
}

@keyframes customGlow {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(1%, -1%, 0) scale(1.02); }
    100% { transform: translate3d(-1%, 1.5%, 0) scale(1.01); }
}

/* Maps Grid */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.map-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

.map-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(34, 197, 94, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
    pointer-events: none;
    z-index: 1;
}

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

.map-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-secondary);
    box-shadow: var(--shadow-xl);
}

.map-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.map-card:hover .map-image {
    transform: scale(1.15) rotate(2deg);
}

.map-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    transition: all 0.3s var(--transition-bounce);
}

.map-card:hover .map-tag {
    transform: scale(1.1) translateY(-2px);
}

.adventure-tag {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.parkour-tag {
    background: rgba(236, 72, 153, 0.9);
    color: white;
}

.pvp-tag {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.survival-tag {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.minigame-tag {
    background: rgba(59, 130, 246, 0.9);
    color: white;
}

.map-content {
    padding: 1.5rem;
}

.map-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.map-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.map-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2000;
    overflow-y: auto;
}

.map-modal.open {
    display: flex;
}

.map-modal-content {
    background: var(--card-bg);
    color: var(--text-primary);
    border-radius: 16px;
    max-width: 960px;
    width: min(960px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) 1fr;
    gap: 0;
    position: relative;
}

.map-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1.4rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    z-index: 2100;
    transition: background var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
}

.map-modal-close:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.map-modal-media {
    position: relative;
    min-height: 260px;
}

.map-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-modal-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-primary);
    color: #fff;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.map-modal-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.map-modal-sections {
    grid-column: 1 / -1;
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.map-modal-body h3 {
    margin: 0;
}

.map-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--text-primary);
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    font-weight: 600;
}

.meta-pill .meta-label {
    color: var(--text-primary);
    font-weight: 600;
}

.map-modal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.map-modal-price {
    font-weight: 700;
    color: var(--accent-primary);
}

.map-structures, .map-screenshots, .map-biomes {
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    background: var(--glass-bg);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.section-heading small {
    color: var(--text-secondary);
    font-weight: 500;
}

.structures-table {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.structures-head, .structure-row {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1fr 1fr 1fr;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
}

.structures-head {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-weight: 700;
}

.structure-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.structure-row .cell.name {
    font-weight: 700;
    color: var(--text-primary);
}

.structure-row .cell.status {
    font-weight: 700;
    color: var(--accent-primary);
}

.structure-row .cell {
    color: var(--text-secondary);
    word-break: break-word;
}

.empty-row {
    padding: 0.75rem 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.map-screenshots .shots-viewer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(0,0,0,0.35);
    border-radius: 12px;
    overflow: hidden;
}

.map-screenshots img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    display: block;
    background: #0b1220;
}

.shot-nav {
    border: none;
    background: rgba(0,0,0,0.35);
    color: #fff;
    padding: 0.75rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.shot-nav:hover {
    background: rgba(0,0,0,0.55);
}

.shot-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.shot-full-btn {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.shot-full-btn:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

[data-theme="light"] .shot-full-btn {
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.18);
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .shot-full-btn:hover {
    border-color: rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.08);
}

.shots-indicator {
    text-align: right;
    margin-top: 0.35rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.biome-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.biome-chip {
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.biome-chip.muted {
    color: var(--text-secondary);
    background: transparent;
    border-color: var(--border-color);
}

.biome-table .structures-head,
.biome-table .structure-row {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .map-modal-close {
        position: fixed;
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
        display: grid;
        place-items: center;
        z-index: 2101;
    }
    .map-modal {
        align-items: flex-start;
        padding: 1rem;
    }
    .map-modal-content {
        grid-template-columns: 1fr;
        max-height: none;
        height: auto;
        width: 100%;
    }
    .map-modal-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .map-modal-sections {
        max-height: none;
    }
    .map-screenshots .shots-viewer {
        overflow: hidden;
    }
    .shot-nav {
        display: none;
    }
    .structures-head, .structure-row {
        grid-template-columns: 1fr 0.8fr 1fr;
    }
    .structures-head span:nth-child(4),
    .structures-head span:nth-child(5),
    .structure-row .cell:nth-child(4),
    .structure-row .cell:nth-child(5) {
        display: none;
    }
}

@media (max-width: 576px) {
    .map-modal {
        padding: 0.75rem;
    }
    .map-modal-content {
        border-radius: 14px;
    }
    .map-modal-close {
        top: 12px;
        right: 12px;
    }
    .map-modal-actions {
        align-items: stretch;
    }
    .map-modal-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .map-modal-price {
        width: 100%;
    }
    .map-modal-media {
        min-height: 220px;
    }
}

[data-theme="light"] .map-modal-close {
    background: rgba(255, 255, 255, 0.85);
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .map-modal-close:hover {
    background: rgba(255, 255, 255, 0.95);
}

.map-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.map-price {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 0.45rem 0.75rem;
    border-radius: 12px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    text-decoration: none;
    font-weight: 600;
}

.map-link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-primary);
    cursor: pointer;
}

.btn-buy:hover {
    background: #16a34a;
    border-color: #16a34a;
    color: white !important;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.6);
    transform: translateX(5px);
}

/* Light theme - same green button */
[data-theme="light"] .btn-buy {
    background: var(--accent-primary);
    color: black;
    border-color: var(--accent-primary);
}

[data-theme="light"] .btn-buy:hover {
    background: #16a34a;
    border-color: #16a34a;
    color: white !important;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.6);
}

.btn-buy.add-to-cart {
    white-space: nowrap;
}

[data-theme="light"] .map-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(34, 197, 94, 0.2);
}

[data-theme="light"] .map-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--accent-primary);
}

[data-theme="light"] .search-box input {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(34, 197, 94, 0.3);
}

.btn-buy i {
    font-size: 1.1rem;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-secondary);
}

.no-results i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.no-results p {
    font-size: 1.1rem;
}

/* Services Responsive */
@media (max-width: 992px) {
    .maps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-section {
        padding: 100px 20px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 120px 20px 80px; /* Más padding-top para el header fijo */
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-filter-section {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    
    .search-box {
        width: 100%;
    }
    
    .filter-tags {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .filter-tag {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .map-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .map-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 100px 15px 60px; /* Más padding-top para header fijo en móviles pequeños */
    }
    
    .search-box {
        font-size: 0.9rem;
        padding: 1rem 1.2rem 1rem 3rem;
    }
    
    .search-box i {
        font-size: 1rem;
    }
    
    .filter-tags {
        gap: 0.5rem;
    }
    
    .filter-tag {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .map-content {
        padding: 1.25rem;
    }
    
    .map-title {
        font-size: 1.3rem;
    }
    
    .map-description {
        font-size: 0.9rem;
    }
    
    .map-price {
        font-size: 1.3rem;
    }
    
    .btn-buy {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   PATREON/CONTACT PAGE
======================================== */
.patreon-section {
    min-height: 100vh;
    padding: 150px 0 100px;
}

.patreon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

/* Social Column */
.social-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
}

.social-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.social-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-item:hover::before {
    left: 100%;
}

.social-item:hover {
    transform: translateX(10px) !important;
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 40px var(--card-shadow);
}

/* Ensure all specific social items move to the right on hover */
.patreon-item:hover,
.discord-item:hover,
.instagram-item:hover,
.tiktok-item:hover,
.github-item:hover,
.youtube-item:hover {
    transform: translateX(10px) !important;
}

.social-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.social-info {
    flex: 1;
}

.social-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.social-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.arrow-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-item:hover .arrow-icon {
    color: var(--accent-secondary);
    transform: translateX(5px);
}

/* Social item specific colors */
.patreon-item .social-icon-wrapper {
    background: rgba(255, 66, 77, 0.2);
    color: #FF424D;
}

.patreon-item:hover .social-icon-wrapper {
    background: #FF424D;
    color: white;
}

.discord-item .social-icon-wrapper {
    background: rgba(88, 101, 242, 0.2);
    color: #5865F2;
}

.discord-item:hover .social-icon-wrapper {
    background: #5865F2;
    color: white;
}

.instagram-item .social-icon-wrapper {
    background: rgba(225, 48, 108, 0.2);
    color: #E1306C;
}

.instagram-item:hover .social-icon-wrapper {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.tiktok-item .social-icon-wrapper {
    background: rgba(0, 0, 0, 0.16);
    color: #111;
}

[data-theme="dark"] .tiktok-item .social-icon-wrapper {
    background: rgba(255, 255, 255, 0.07);
    color: #f8f9fb;
}

.tiktok-item:hover .social-icon-wrapper {
    background: linear-gradient(135deg, #25F4EE, #000, #FE2C55);
    color: white;
}

.github-item .social-icon-wrapper {
    background: rgba(88, 96, 105, 0.15);
    color: #586069;
}

.github-item:hover .social-icon-wrapper {
    background: #24292e;
    color: white;
}

.youtube-item .social-icon-wrapper {
    background: rgba(255, 0, 0, 0.2);
    color: #FF0000;
}

.youtube-item:hover .social-icon-wrapper {
    background: #FF0000;
    color: white;
}

/* Contact Column */
.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--accent-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--accent-primary);
    color: white;
    border: 2px solid var(--accent-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #16a34a;
    border-color: #16a34a;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
    transform: translateY(-2px);
}

.btn-submit i {
    font-size: 1.2rem;
}

/* Light theme button */
[data-theme="light"] .btn-submit {
    background: transparent;
    color: #000000;
    border-color: #000000;
}

[data-theme="light"] .btn-submit:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* Form Messages */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.success-message {
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
}

.success-message i {
    font-size: 1.5rem;
}

.success-message p {
    margin: 0;
    font-weight: 500;
}

/* Light theme adjustments */
[data-theme="light"] .social-card,
[data-theme="light"] .contact-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(34, 197, 94, 0.2);
}

[data-theme="light"] .social-item {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(34, 197, 94, 0.15);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(34, 197, 94, 0.3);
}

[data-theme="light"] .github-item .social-icon-wrapper {
    background: rgba(88, 96, 105, 0.1);
    color: #586069;
}

[data-theme="light"] .github-item:hover .social-icon-wrapper {
    background: #24292e !important;
    color: white !important;
}

[data-theme="light"] .social-link:has(.bi-github):hover {
    background: #24292e !important;
    border-color: #586069 !important;
    color: white !important;
}

/* Ensure all social items move to the right in light theme */
[data-theme="light"] .social-item:hover {
    transform: translateX(10px) !important;
}

[data-theme="light"] .patreon-item:hover,
[data-theme="light"] .discord-item:hover,
[data-theme="light"] .instagram-item:hover,
[data-theme="light"] .github-item:hover,
[data-theme="light"] .youtube-item:hover {
    transform: translateX(10px) !important;
}

/* ========================================
   RESPONSIVE - MOBILE OPTIMIZATION
======================================== */

/* Mobile breakpoints */
@media (max-width: 480px) {
    /* Ultra small screens - phones in portrait */
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 100px 15px 60px; /* Más padding-top para header + espaciado lateral */
        min-height: 85vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .logo-container {
        margin-bottom: 2rem;
    }
    
    .logo-img {
        width: clamp(140px, 50vw, 200px);
        height: auto;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        min-height: 2rem; /* Para evitar saltos con el typing effect */
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 260px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 260px;
        margin: 0 auto 2rem;
    }
    
    .social-links {
        gap: 1.25rem;
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    /* Tablets and phones */
    .theme-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        left: 20px;
    }
    
    /* Enhanced mobile navigation */
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Improved mobile hero */
    .hero-section {
        padding: 120px 20px 80px; /* Más padding-top para header fijo */
        text-align: center;
        min-height: 90vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .logo-container {
        margin-bottom: 1.5rem;
    }
    
    .logo-img {
        width: clamp(160px, 55vw, 260px);
        height: auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
        min-height: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 14px 28px;
    }
    
    .social-links {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .blob {
        display: none;
    }
    
    /* Services Page Mobile */
    .services-section {
        padding: 120px 0 80px;
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-tags {
        gap: 0.75rem;
    }
    
    .filter-tag {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .search-box input {
        padding: 0.875rem 1rem 0.875rem 3rem;
        font-size: 0.95rem;
    }
    
    .map-card {
        margin: 0 auto;
        max-width: 500px;
    }
    
    /* Patreon Page Mobile */
    .patreon-section {
        padding: 140px 20px 80px; /* Más padding-top para el header fijo */
    }
    
    .patreon-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .social-title,
    .contact-title {
        font-size: 1.5rem;
    }
    
    .social-item {
        padding: 1.25rem;
    }
    
    .social-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .social-info h3 {
        font-size: 1.05rem;
    }
    
    .btn-submit {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }
}

/* Patreon móviles muy pequeños */
@media (max-width: 480px) {
    .patreon-section {
        padding: 120px 15px 60px; /* Más espaciado lateral para móviles pequeños */
    }
    
    .patreon-section .container {
        padding: 0 5px; /* Espaciado extra para patreon */
    }
    
    .social-card,
    .contact-card {
        padding: 1.25rem;
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .btn-submit {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
        box-sizing: border-box;
    }
}

/* ========================================
   UTILITY CLASSES & ANIMATIONS
======================================== */

/* Lazy Loading Images */
img.lazy {
    opacity: 0;
    transition: opacity 0.6s var(--transition-smooth);
}

img.loaded {
    opacity: 1;
}

/* Placeholder for loading images */
img[data-src] {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border-color) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   ENHANCED SCROLL REVEAL & EFFECTS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px) translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px) translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    transition: all 0.8s var(--transition-bounce);
    will-change: transform, opacity;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Enhanced sparkle animation */
@keyframes sparkle {
    0% { 
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 0.8;
    }
    100% { 
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

.sparkle {
    animation: sparkle 0.6s ease-out forwards;
}

/* Advanced parallax optimizations */
.hero-section, .hero-content {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.portfolio-section, .services-section, .patreon-section {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Floating elements optimization */
.stat-item, .social-link, .map-card {
    will-change: transform;
    transition: transform 0.3s ease-out;
    transform: translateZ(0);
}

.stat-item:hover, .social-link:hover, .map-card:hover {
    transform: translateY(-3px) translateZ(0) !important;
}

/* Enhanced bounce animation for stats */
.stat-item.active {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3) translateZ(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) translateZ(0);
        opacity: 0.8;
    }
    70% {
        transform: scale(0.95) translateZ(0);
        opacity: 0.9;
    }
    100% {
        transform: scale(1) translateZ(0);
        opacity: 1;
    }
}

/* Enhanced map card reveals */
.map-card.active {
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideInUp {
    0% {
        transform: translateY(60px) scale(0.95) translateZ(0);
        opacity: 0;
    }
    60% {
        transform: translateY(-8px) scale(1.02) translateZ(0);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scale(1) translateZ(0);
        opacity: 1;
    }
}

/* Enhanced social link reveals */
.social-link.active {
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    0% {
        transform: scale(0) rotate(-90deg) translateZ(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(-45deg) translateZ(0);
        opacity: 0.7;
    }
    100% {
        transform: scale(1) rotate(0deg) translateZ(0);
        opacity: 1;
    }
}

/* Performance optimizations for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        transition: opacity 0.3s ease;
        transform: none;
        will-change: auto;
    }
    
    .reveal.active, .reveal-left.active, .reveal-right.active, .reveal-scale.active {
        transform: none;
    }
    
    .sparkle {
        display: none;
    }
    
    .stat-item, .social-link, .map-card {
        will-change: auto;
        animation: none;
    }
}

/* Enhanced interactive hover effects */
.map-card {
    transition: var(--transition-smooth), box-shadow 0.3s ease, transform 0.3s ease;
}

.map-card:hover {
    box-shadow: var(--shadow-lg), 0 0 25px rgba(var(--accent-primary-rgb), 0.4);
    transform: translateY(-8px) scale(1.03) translateZ(0);
}

.stat-item {
    transition: all 0.6s ease-out;
}

.stat-item:hover {
    transform: translateY(-3px) scale(1.01) translateZ(0);
    box-shadow: var(--shadow-md);
}

.social-link {
    transition: var(--transition-smooth), transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.15) rotate(8deg) translateZ(0);
    box-shadow: var(--shadow-sm);
}

/* Stagger delay for multiple elements */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }
.reveal:nth-child(5) { transition-delay: 0.5s; }
.reveal:nth-child(6) { transition-delay: 0.6s; }

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* Custom World Banner Styles */
.custom-world-banner {
    background: linear-gradient(135deg, 
        rgba(var(--accent-primary-rgb), 0.2) 0%,
        rgba(var(--accent-secondary-rgb), 0.15) 50%,
        rgba(var(--accent-primary-rgb), 0.1) 100%);
    border: 2px solid rgba(var(--accent-primary-rgb), 0.4);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        var(--shadow-lg),
        0 0 30px rgba(var(--accent-primary-rgb), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.6s ease;
}

.custom-world-banner:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(var(--accent-primary-rgb), 0.4),
        0 0 20px rgba(var(--accent-secondary-rgb), 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(var(--accent-primary-rgb), 0.6);
}

.custom-world-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(var(--accent-primary-rgb), 0.3) 30%,
        rgba(var(--accent-secondary-rgb), 0.4) 50%, 
        rgba(var(--accent-primary-rgb), 0.3) 70%,
        transparent 100%);
    animation: shimmer 2.5s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.banner-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    color: var(--background-primary);
    font-size: 1.8rem;
    animation: vibrantPulse 2s infinite;
    box-shadow: 
        0 0 25px rgba(var(--accent-primary-rgb), 0.6),
        0 4px 15px rgba(var(--accent-primary-rgb), 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 10;
}

@keyframes vibrantPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 25px rgba(var(--accent-primary-rgb), 0.6),
            0 4px 15px rgba(var(--accent-primary-rgb), 0.4);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 
            0 0 35px rgba(var(--accent-primary-rgb), 0.8),
            0 6px 25px rgba(var(--accent-primary-rgb), 0.6),
            0 0 50px rgba(var(--accent-secondary-rgb), 0.3);
    }
}

.banner-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.3);
    position: relative;
    z-index: 10;
}

.banner-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    position: relative;
    z-index: 10;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--background-primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(var(--accent-primary-rgb), 0.4),
        0 0 20px rgba(var(--accent-primary-rgb), 0.2);
    white-space: nowrap;
    position: relative;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 
        0 8px 25px rgba(var(--accent-primary-rgb), 0.6),
        0 0 40px rgba(var(--accent-primary-rgb), 0.4),
        0 0 20px rgba(var(--accent-secondary-rgb), 0.3);
    color: var(--background-primary);
    text-decoration: none;
}

.cta-button i {
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-1px); }
}

.banner-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.banner-decoration .floating-icon {
    position: absolute;
    font-size: 1rem;
    color: rgba(var(--accent-primary-rgb), 0.15);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.banner-decoration .floating-icon:nth-child(1) {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.banner-decoration .floating-icon:nth-child(2) {
    top: 75%;
    right: 12%;
    animation-delay: 2s;
    color: rgba(var(--accent-secondary-rgb), 0.15);
}

.banner-decoration .floating-icon:nth-child(3) {
    top: 45%;
    right: 3%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.15;
    }
    33% { 
        transform: translateY(-8px) rotate(3deg); 
        opacity: 0.25;
    }
    66% { 
        transform: translateY(4px) rotate(-2deg); 
        opacity: 0.1;
    }
}

/* Responsive Design for Banner */
@media (max-width: 992px) {
    .banner-content {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }
    
    .banner-cta {
        grid-column: span 2;
        text-align: center;
        margin-top: 1rem;
    }
    
    .banner-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .banner-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .custom-world-banner {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .banner-cta {
        grid-column: span 1;
        margin-top: 0;
    }
    
    .cta-button {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
}

/* Admin mini stats */
.mini-stat {
    background: #0b1220;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.mini-stat .label {
    color: #94a3b8;
    font-size: 0.85rem;
}

.mini-stat .value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e6edf3;
}
