.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 30px 20px;
    border-radius: 24px;
    margin-bottom: 20px;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card {
    border: none;
    border-radius: 20px;
    background: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.icon-box {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.find-events-section {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    border-radius: 32px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hover-card {
    transition: all 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    border: none;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12) !important;
}

/* Location Discovery Styles */
.location-card {
    cursor: pointer;
    border: none;
    border-radius: 24px;
    background: white;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

.location-card.country-card {
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.compact-country-card {
    cursor: pointer;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 12px 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.compact-country-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

.custom-set-default-btn-compact {
    opacity: 0.5;
    transition: all 0.2s ease;
}

.compact-country-card:hover .custom-set-default-btn-compact {
    opacity: 1;
}

.custom-set-default-btn-compact:hover {
    color: #f59e0b;
    background: transparent;
}

.location-card .flag-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1;
}

.location-card .location-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1f2937;
    margin: 0;
}

.btn-back-location {
    cursor: pointer;
    color: #6366f1;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.btn-back-location:hover {
    color: #4f46e5;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.custom-set-default-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-set-default-btn:hover {
    background: #f8f9fa;
}

/* Top Feature Ticker */
.top-feature-ticker {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 44px;
    width: 280px;
    max-width: 90vw;
    margin: 0 auto 30px auto;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.ticker-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    /* 9s total duration for 3 items (3s per segment) */
    animation: gentlePulse 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ticker-item i {
    font-size: 1.1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Stagger animations so they appear sequentially */
.ticker-item:nth-child(1) { animation-delay: 0s; }
.ticker-item:nth-child(2) { animation-delay: 3s; }
.ticker-item:nth-child(3) { animation-delay: 6s; }

@keyframes gentlePulse {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    5%, 25% {
        opacity: 1;
        transform: translateY(0);
    }
    30%, 100% {
        opacity: 0;
        transform: translateY(-15px);
    }
}