* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --alarcos-blue: #0994DC;
    --alarcos-green: #87cf32;
    --alarcos-red: #e01f2c;
    --alarcos-magenta: #cc3e68;

    --primary: var(--alarcos-blue);
    --primary-glow: rgba(9, 148, 220, 0.3);
    --secondary: var(--alarcos-green);
    --secondary-glow: rgba(135, 207, 50, 0.3);
    --accent-red: var(--alarcos-red);
    --accent-magenta: var(--alarcos-magenta);

    --dark: #0f172a;
    --dark-surface: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

body {
    background-color: #f1f5f9;
    background-image:
        radial-gradient(at 0% 0%, rgba(9, 148, 220, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(135, 207, 50, 0.05) 0px, transparent 50%);
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 44px;
    height: 44px;
    background: url('../img/Bola.png') center/cover no-repeat;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary-glow);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid white;
    position: relative;
    overflow: hidden;
}

.logo-img::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

.logo-link {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-link.span,
.logo-link span {
    background: linear-gradient(135deg, var(--alarcos-blue), var(--alarcos-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 6px 0;
    position: relative;
}

nav a:hover,
nav a.active {
    color: white;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--alarcos-blue), var(--alarcos-green));
    border-radius: 2px;
}

.language-switcher {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.language-switcher:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8)), url('../img/Bola.png') center/contain no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero hr {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--alarcos-blue), var(--alarcos-green), var(--alarcos-red), var(--alarcos-magenta));
    border: none;
    margin: 0 auto 30px;
    border-radius: 2px;
}

.page-description {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
    color: #e2e8f0;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero a {
    color: white;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.hero a:hover {
    color: var(--alarcos-green);
}

.hero p.hero-subtitle {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--alarcos-green);
    margin-top: 30px;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(135, 207, 50, 0.4);
}

/* Section Components */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h1,
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.info-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--alarcos-magenta);
    border-radius: 2px;
}

.info-card:nth-child(2) h3::after {
    background: var(--alarcos-red);
}

.info-card:nth-child(3) h3::after {
    background: var(--alarcos-blue);
}

.info-card p {
    color: var(--gray);
    margin-bottom: 8px;
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.info-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.info-card a:hover::after {
    width: 100%;
}

/* Venue & Accommodation */
.venue-content {
    margin-top: 40px;
}

.venue-intro {
    margin-bottom: 40px;
}

.info-box {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid var(--alarcos-blue);
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.arrival-list,
.routes-list {
    list-style: none;
    margin: 24px 0;
}

.arrival-list li,
.routes-list li {
    padding: 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease;
}

.arrival-list li:hover,
.routes-list li:hover {
    transform: translateX(10px);
}

.arrival-list li::before,
.routes-list li::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--alarcos-green);
    background: rgba(135, 207, 50, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.hotels-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.hotel-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    /* Added for the badge */
}

.recommended-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--alarcos-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(9, 148, 220, 0.4);
    z-index: 10;
    letter-spacing: 0.5px;
}

.discount-code {
    display: inline-block;
    background: rgba(135, 207, 50, 0.1);
    color: var(--alarcos-green);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 20px;
    border: 2px dashed rgba(135, 207, 50, 0.4);
    font-size: 0.95rem;
}

.hotels-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.secondary-hotels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* Consistent height for cards in the secondary grid */
.secondary-hotels-grid .hotel-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: scale(0.95); /* Slightly smaller */
    transition: all 0.3s ease;
}

.secondary-hotels-grid .hotel-card:hover {
    transform: scale(1); /* Return to normal on hover */
}

.secondary-hotels-grid .hotel-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 15px; /* Less padding */
    overflow-wrap: break-word;
    word-break: break-word;
}

.secondary-hotels-grid .hotel-info h4 {
    font-size: 1.1rem; /* Smaller font */
    margin-bottom: 10px;
}

.secondary-hotels-grid .hotel-info p {
    font-size: 0.9rem; /* Smaller font */
    margin-bottom: 5px;
}

.secondary-hotels-grid .hotel-image img {
    height: 150px; /* Reduced height */
}

.book-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--alarcos-blue);
    color: white !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(9, 148, 220, 0.3);
    margin: 10px 0;
}

.book-link:hover {
    background: var(--alarcos-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 207, 50, 0.4);
}

.map-routes {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.map-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--alarcos-blue) !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.map-link i {
    font-size: 0.9rem;
    color: var(--alarcos-green);
}

.map-link:hover {
    color: var(--alarcos-green) !important;
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .secondary-hotels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 580px) {
    .secondary-hotels-grid {
        grid-template-columns: 1fr;
    }
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hotel-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.hotel-info {
    padding: 24px;
}

.hotel-card h4 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.hotel-card h4 a {
    color: var(--dark);
    text-decoration: none;
}

.hotel-card h4 a:hover {
    color: var(--primary);
}

/* Tourist Page */
.tourist-places {
    margin-top: 60px;
}

.tourist-place {
    display: flex;
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
}

.tourist-place.image-right {
    flex-direction: row-reverse;
}

.place-image {
    flex: 1;
}

.image-container {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-premium);
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.place-content {
    flex: 1.2;
}

.place-content h3 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: var(--dark);
    font-weight: 800;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.city-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.city-image-container {
    height: 100%;
}

.city-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
}

.city-card:hover img {
    transform: scale(1.15);
}

/* Program / Schedule Specifics */
.program-card {
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, var(--alarcos-blue), var(--alarcos-green));
    padding: 25px 30px;
    color: white;
}

.card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 30px;
}

.card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-body li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.card-body li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.time-tag {
    background: var(--light);
    color: var(--alarcos-blue);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    border: 1px solid rgba(9, 148, 220, 0.1);
    min-width: 105px;
    text-align: center;
}

.event-info {
    font-weight: 500;
    color: var(--dark-surface);
}

/* Organizations & Logos */
.organizations-section {
    margin-top: 100px;
}

.organization-category {
    margin-bottom: 80px;
}

.organization-category h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 48px;
    font-weight: 800;
    position: relative;
    padding-bottom: 16px;
}

.organization-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--alarcos-blue), var(--alarcos-green));
    border-radius: 2px;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    align-items: stretch;
}

.logo-item {
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 100px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

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

.logo-item:not(:has(img)) {
    display: none;
}

/* Footer & Social */
footer {
    background: var(--dark);
    color: white;
    padding: 100px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.footer-column h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--alarcos-green);
}

.footer-column p,
.footer-column a {
    color: #cbd5e1;
    margin-bottom: 15px;
    text-decoration: none;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1,
.page-description,
.hero p,
.info-card {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .tourist-place {
        flex-direction: column !important;
        gap: 30px;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .logo {
        flex: 1;
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 1.25rem;
        cursor: pointer;
        z-index: 1001;
        width: 45px;
        height: 45px;
        border-radius: 12px;
        order: 3;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }

    nav#mainNav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 9999;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }

    nav#mainNav.active {
        display: block !important;
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    nav#mainNav ul {
        flex-direction: column;
        gap: 5px;
        align-items: stretch;
        padding: 0 15px;
    }

    nav#mainNav ul li a {
        padding: 15px 20px;
        font-size: 1.1rem;
        color: white !important;
        text-align: center;
        border-radius: 12px;
        display: block;
    }

    nav#mainNav ul li a:hover,
    nav#mainNav ul li a.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--alarcos-blue);
    }

    .language-switcher {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
        background: rgba(255, 255, 255, 0.05);
        padding: 8px 12px;
        border-radius: 10px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

.mobile-menu-toggle {
    display: none;
}

/* Premium Forms */
.form-container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 50px;
    border-radius: 32px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.premium-form .form-group {
    margin-bottom: 24px;
}

.premium-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}

.premium-form input[type="text"],
.premium-form input[type="email"],
.premium-form input[type="tel"],
.premium-form input[type="number"],
.premium-form select,
.premium-form textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--dark);
    outline: none;
    font-family: inherit;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
    border-color: var(--alarcos-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(9, 148, 220, 0.1);
}

.premium-form .btn-submit {
    background: linear-gradient(135deg, var(--alarcos-blue), var(--alarcos-green));
    color: white;
    padding: 16px 32px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(9, 148, 220, 0.2);
}

.premium-form .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(9, 148, 220, 0.3);
}

.premium-form .btn-submit:active {
    transform: translateY(-1px);
}

.alert {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-weight: 600;
}

.alert-success {
    background: rgba(135, 207, 50, 0.1);
    color: #3f6212;
    border: 1px solid rgba(135, 207, 50, 0.2);
}

.alert-error {
    background: rgba(224, 31, 44, 0.1);
    color: #991b1b;
    border: 1px solid rgba(224, 31, 44, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(to right, var(--alarcos-blue), var(--alarcos-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- New Advanced Features CSS --- */

/* 1. Quick Actions Floating Widget */
.quick-actions-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Outfit', sans-serif;
}

.quick-actions-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--alarcos-blue), var(--alarcos-green));
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(9, 148, 220, 0.4);
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quick-actions-toggle:hover {
    transform: scale(1.1) rotate(45deg);
    box-shadow: 0 15px 35px rgba(9, 148, 220, 0.6);
}

.quick-actions-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

.quick-actions-menu.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.quick-actions-header {
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--dark), var(--dark-surface));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-actions-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.quick-actions-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s;
}

.quick-actions-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.quick-actions-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 16px;
    transition: all 0.2s ease;
    background: transparent;
}

.quick-action-item i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.quick-action-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

/* 2. Schedule Live Now Badge & Filters */
.schedule-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: var(--gray);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.filter-btn:hover {
    border-color: var(--alarcos-blue);
    color: var(--alarcos-blue);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--alarcos-blue);
    border-color: var(--alarcos-blue);
    color: white;
    box-shadow: 0 6px 20px rgba(9, 148, 220, 0.3);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fee2e2;
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulseLive 2s infinite;
    border: 1px solid #fca5a5;
    margin-left: 10px;
}

@keyframes pulseLive {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.live-event-highlight {
    border-left: 6px solid #ef4444 !important;
    background: linear-gradient(to right, rgba(239, 68, 68, 0.05), transparent) !important;
}

/* 3. Real-time Form Validation & Auto-save */
.premium-form .form-group.valid-input input,
.premium-form .form-group.valid-input select {
    border-color: var(--alarcos-green);
    background: white;
}

.premium-form .form-group {
    position: relative;
}

.valid-icon {
    position: absolute;
    right: 16px;
    top: 42px;
    color: var(--alarcos-green);
    font-size: 1.1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.premium-form .form-group.valid-input .valid-icon {
    opacity: 1;
}

.form-autosave-notice {
    font-size: 0.8rem;
    color: var(--gray);
    text-align: right;
    margin-top: -15px;
    margin-bottom: 20px;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

/* 4. Live Countdown Timer */
.countdown-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.countdown-container {
    display: flex;
    gap: 20px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 36px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    flex-wrap: wrap;
    justify-content: center;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(to bottom, #ffffff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.countdown-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--alarcos-green);
}

/* 5. Live Weather Widget Card */
.weather-widget-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease;
}

.weather-widget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.weather-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}

.weather-live-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--alarcos-green);
    background: rgba(135, 207, 50, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
    animation: pulseWeather 2s infinite;
}

@keyframes pulseWeather {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.weather-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.weather-icon-lg {
    font-size: 2.8rem;
    color: #f59e0b;
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.3));
}

.weather-temp-box {
    display: flex;
    align-items: flex-start;
    line-height: 1;
}

#weatherTempVal {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--dark);
}

.weather-unit {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray);
    margin-top: 4px;
}

.weather-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.weather-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
}