:root {
    /* Default Neon Theme */
    --primary-color: #ff3e3e;
    /* Bold red-orange */
    --accent-color: #00d4ff;
    --bg-dark: #0a0a0b;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --glass: rgba(255, 255, 255, 0.03);
    --font-main: 'Outfit', sans-serif;
}

/* Theme Variantes */
[data-theme="warm"] {
    --primary-color: #ff9f1c;
    --accent-color: #ffbf69;
}

[data-theme="classic"] {
    --primary-color: #e0e1dd;
    --accent-color: #778da9;
}

[data-theme="dark-purple"] {
    --primary-color: #9d4edd;
    --accent-color: #ff006e;
}

[data-theme="light"] {
    --primary-color: #ff3e3e;
    --accent-color: #007bff;
    --bg-dark: #f8f9fa;
    --card-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-white: #1a1a1a;
    --text-gray: #4a4a4a;
    --glass: rgba(0, 0, 0, 0.02);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* ── Animated Background Glow ── */
.bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg-dark);
}

.bg-glow::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 62, 62, 0.1) 0%, transparent 70%);
    animation: float-glow 15s ease-in-out infinite;
    filter: blur(60px);
}

.bg-glow::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    animation: float-glow 20s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes float-glow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

/* Optimize Admin Background */
.admin-layout .bg-glow::before,
.admin-layout .bg-glow::after {
    animation-duration: 30s;
    /* Slower and smoother */
    opacity: 0.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 62, 62, 0.4);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
}

header.scrolled {
    background: rgba(15, 15, 15, 0.9);
    padding: 15px 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 10%;
    overflow: hidden;
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

[data-theme="light"] .hero::before {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)) !important;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.3s;
}

[data-theme="light"] .hero h1 {
    background: linear-gradient(to right, #1a1a1a, #444);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Section Background Media */
.section-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.15;
    transition: opacity 0.5s ease;
}

.section-bg-media video,
.section-bg-media .bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.section-bg-media iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
}

.section {
    position: relative;
    padding: 120px 10%;
    z-index: 1;
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: var(--primary-color);
}

/* Gallery & Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--glass);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

.media-item {
    width: 100%;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 15px;
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.2rem);
    max-width: 600px;
    margin-bottom: 30px;
    color: var(--text-gray);
    margin-left: auto;
    margin-right: auto;
}

[data-theme="light"] .hero p {
    color: #333;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input[type="text"],
input[type="url"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

select option {
    background: #1a1a1a;
    color: white;
    padding: 10px;
}

[data-theme="light"] select option {
    background: white;
    color: #1a1a1a;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-section {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.form-section-title {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* =============================================
   ANIMATED BURGER BUTTON
   ============================================= */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    gap: 6px;
}

.burger-line {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

/* Burger → X Animation */
.burger-btn.active .burger-line-1 {
    transform: translateY(9px) rotate(45deg);
    background: var(--primary-color);
}

.burger-btn.active .burger-line-2 {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.active .burger-line-3 {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--primary-color);
}

/* =============================================
   MOBILE MENU OVERLAY
   ============================================= */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =============================================
   RESPONSIVE / ADMIN DOT
   ============================================= */
.admin-dot {
    margin-left: 15px;
    cursor: pointer;
    opacity: 0.3;
    font-size: 0.8rem;
    padding: 5px;
}

/* Hide icons on desktop nav */
nav#public-nav ul li a i {
    display: none;
}

/* =============================================
   MOBILE RESPONSIVE (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
    header {
        padding: 15px 5%;
        background: rgba(10, 10, 11, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .burger-btn {
        display: flex;
    }

    /* Prevenir desbordamiento horizontal en formularios */
    input,
    textarea,
    select {
        max-width: 100%;
        font-size: 16px !important;
        /* Evita zoom automático en iOS */
    }

    /* ---- Slide-in Mobile Nav ---- */
    nav#public-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 11, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
        padding: 100px 30px 40px 30px;
        z-index: 999;
        transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        overflow-y: auto;
    }

    nav#public-nav.active {
        right: 0;
    }

    nav#public-nav ul {
        flex-direction: column;
        gap: 0;
    }

    /* ---- Menu Item Styling (Mobile) ---- */
    nav#public-nav ul li {
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* Staggered animation for each item */
    nav#public-nav.active ul li:nth-child(1) {
        transition-delay: 0.1s;
    }

    nav#public-nav.active ul li:nth-child(2) {
        transition-delay: 0.15s;
    }

    nav#public-nav.active ul li:nth-child(3) {
        transition-delay: 0.2s;
    }

    nav#public-nav.active ul li:nth-child(4) {
        transition-delay: 0.25s;
    }

    nav#public-nav.active ul li:nth-child(5) {
        transition-delay: 0.3s;
    }

    nav#public-nav.active ul li:nth-child(6) {
        transition-delay: 0.35s;
    }

    nav#public-nav.active ul li:nth-child(7) {
        transition-delay: 0.4s;
    }

    nav#public-nav.active ul li {
        opacity: 1;
        transform: translateX(0);
    }

    nav#public-nav ul li a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px 10px;
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        color: var(--text-gray);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: color 0.3s ease, padding-left 0.3s ease, background 0.3s ease;
        border-radius: 10px;
    }

    nav#public-nav ul li a:hover,
    nav#public-nav ul li a:active {
        color: var(--primary-color);
        padding-left: 18px;
        background: rgba(255, 62, 62, 0.05);
    }

    /* Show icons on mobile */
    nav#public-nav ul li a i {
        display: inline-block;
        font-size: 1rem;
        width: 24px;
        text-align: center;
        color: var(--primary-color);
        opacity: 0.7;
    }

    /* Admin dot styling on mobile */
    nav#public-nav ul li.admin-dot {
        margin-left: 0;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--glass-border);
        opacity: 0.4;
    }

    /* ---- Other Mobile Adjustments ---- */
    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.1;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
        text-align: center;
    }

    .cta-title {
        font-size: clamp(1.8rem, 7vw, 2.3rem) !important;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    .hero p {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 20px;
        padding: 0 5%;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    .grid {
        grid-template-columns: 1fr !important;
    }

    .section {
        padding: 60px 5%;
    }
}

/* Admin Dashboard & Management Styles */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #000;
    padding: 30px;
    border-right: 1px solid var(--glass-border);
    transition: 0.3s;
}

.content {
    flex: 1;
    padding: 50px;
}

.sidebar-nav {
    list-style: none !important;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 20px;
}

.sidebar-nav a {
    font-weight: 700;
    color: var(--text-gray);
    display: block;
}

.sidebar-nav a:hover {
    color: var(--primary-color);
}

.sidebar-header-mobile {
    display: none;
}

.mobile-only-link {
    display: none;
}

/* Mobile Admin Adjustments */
@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        padding: 10px;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 2000;
        background: #000;
    }

    .sidebar h2 {
        display: none;
    }

    .sidebar-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .btn-back-home {
        background: var(--glass);
        padding: 8px 15px;
        border-radius: 8px;
        font-size: 0.8rem;
        color: white;
        border: 1px solid var(--glass-border);
        text-decoration: none;
    }

    .mobile-only-link {
        display: block;
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 10px;
        margin-bottom: 20px !important;
    }

    .sidebar-nav {
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
        max-height: calc(100vh - 80px);
        /* Leave space for header */
        overflow-y: auto;
    }

    .sidebar-nav.active {
        display: flex;
    }

    .content {
        padding: 100px 15px 30px 15px;
        /* Extra top padding for fixed header */
    }

    /* Column stacks for dashboard */
    .dashboard-stats {
        grid-template-columns: 1fr !important;
    }

    .grid,
    .shortcut-grid,
    .activity-grid {
        grid-template-columns: 1fr !important;
    }
}

.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 0px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

/* Floating Gallery Viewer */
.floating-viewer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 95%;
    max-width: 800px;
    height: auto;
    max-height: 85vh;
    z-index: 99999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.floating-viewer.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.viewer-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.viewer-close:hover {
    background: var(--primary-color);
}

.viewer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
    position: relative;
}

.viewer-img-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.viewer-img-container img {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
}

.viewer-caption {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.viewer-nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 1.2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.viewer-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.gallery-item {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: scale(1.05) translateY(-8px);
    z-index: 10;
}

@media (max-width: 768px) {
    .floating-viewer {
        padding: 20px 20px 80px 20px;
        position: fixed;
    }

    .viewer-content {
        flex-direction: row;
        gap: 5px;
        position: relative;
    }

    .viewer-nav {
        position: absolute;
        bottom: -60px;
        background: var(--primary-color);
        width: 45px;
        height: 45px;
        display: flex !important;
    }

    .viewer-nav.prev {
        left: 20%;
    }

    .viewer-nav.next {
        right: 20%;
    }

    .viewer-img-container img {
        max-height: 50vh;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    margin: 40px 0;
    perspective: 1000px;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 30px 10px;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track>* {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: center;
}

@media (max-width: 992px) {
    .carousel-track>* {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .carousel-track>* {
        flex: 0 0 85%;
    }
}

/* Fix: Aspect Ratio for Gallery & Videos */
.media-item {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 15px;
    display: block;
}

.video-preview-container img,
.video-preview-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Animations */
.reveal-item {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tilt-card {
    transition: transform 0.15s ease-out, box-shadow 0.3s;
    transform-style: preserve-3d;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
    opacity: 0;
}

.carousel-container:hover .carousel-nav {
    opacity: 0.9;
}

.carousel-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    background: white;
    color: var(--primary-color);
}

.carousel-nav.prev {
    left: -25px;
}

.carousel-nav.next {
    right: -25px;
}

@media (max-width: 1200px) {
    .carousel-nav {
        opacity: 0.7;
        width: 40px;
        height: 40px;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }
}

.cinema-mode {
    background: rgba(0, 0, 0, 0.95);
    max-width: 1100px;
    border: 1px solid var(--primary-color);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    opacity: 0.8;
    transition: 0.3s;
    pointer-events: none;
}

/* --- Steiger Refinements & Carousel --- */

.badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 62, 62, 0.05);
}

.testimonial-carousel-container {
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    cursor: default;
}

.testimonial-card {
    transition: all 0.5s ease;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    transition: transform 0.8s ease;
}

.testimonial-track:hover {
    transition-timing-function: ease-in-out;
}

.activity-pagination-wrapper {
    width: 100%;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    min-height: 500px;
}

.activity-card-item {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.activity-card-item.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding: 15px 30px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pagination-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
}

.pagination-btn:hover:not(:disabled) {
    color: var(--primary-color);
    background: rgba(255, 62, 62, 0.05);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 12px;
}

.page-num {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    font-size: 0.9rem;
    font-weight: 700;
}

.page-num.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 62, 62, 0.4);
}

.page-num:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .activity-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Custom Notification System --- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(25, 25, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    min-width: 280px;
}

.toast.success {
    border-left: 4px solid #28a745;
}

.toast.error {
    border-left: 4px solid var(--primary-color);
}

.toast.info {
    border-left: 4px solid var(--accent-color);
}

.toast i {
    font-size: 1.2rem;
}

.toast.success i {
    color: #28a745;
}

.toast.error i {
    color: var(--primary-color);
}

.toast.info i {
    color: var(--accent-color);
}

@keyframes toast-in {
    from {
        transform: translateX(120%) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes toast-out {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    to {
        transform: translateX(120%) scale(0.9);
        opacity: 0;
    }
}

.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.confirm-modal-overlay.active {
    display: flex !important;
    animation: fadeIn 0.3s ease;
}

.confirm-modal {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.confirm-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.btn-confirm {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}