* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, #00d4aa 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, #ffd700 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, #00d4aa 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 50px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.7);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00d4aa;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #00d4aa;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Page Header */
.page-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 50px 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00d4aa, #ffd700, #00d4aa);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #00d4aa;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #00d4aa;
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* Event Filters */
.event-filters {
    padding: 40px 50px;
    background: rgba(0, 212, 170, 0.05);
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 170, 0.3);
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: #00d4aa;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(45deg, #00d4aa, #ffd700);
    color: #000;
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(0, 212, 170, 0.4);
}

/* Events Section */
.events-section {
    padding: 60px 50px 100px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.event-card {
    background: linear-gradient(145deg, rgba(0, 212, 170, 0.08), rgba(255, 215, 0, 0.08));
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.event-card::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.6s ease;
    z-index: 1;
}

.event-card:hover::before {
    left: 100%;
}

.event-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 212, 170, 0.3);
    border-color: #00d4aa;
}

.event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ffd700, #00d4aa);
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.event-badge.featured {
    background: linear-gradient(45deg, #ff0055, #ff6b35);
}

.event-badge.past {
    background: linear-gradient(45deg, #666, #999);
    animation: none;
}

.event-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover .event-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: linear-gradient(45deg, #00d4aa, #ffd700);
    color: #000;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 212, 170, 0.5);
}

.event-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.date-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00d4aa, #ffd700);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
}

.date-info {
    display: flex;
    flex-direction: column;
}

.date-info .month {
    font-size: 0.85rem;
    color: #00d4aa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-info .day {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
}

.event-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.3;
}

.event-description {
    margin-bottom: 20px;
    opacity: 0.85;
    line-height: 1.6;
    font-size: 0.95rem;
}

.event-details {
    margin-bottom: 25px;
}

.event-location,
.event-time {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #00d4aa;
}

.event-location i,
.event-time i {
    margin-top: 3px;
    color: #ffd700;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 212, 170, 0.2);
}

.event-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: #00d4aa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
}

.ticket-button {
    background: linear-gradient(45deg, #00d4aa, #ffd700);
    color: #000;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.ticket-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 212, 170, 0.4);
}

.ticket-button.disabled,
.ticket-button:disabled {
    background: linear-gradient(45deg, #666, #999);
    cursor: not-allowed;
    opacity: 0.6;
}

.ticket-button.disabled:hover,
.ticket-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 50px;
    background: linear-gradient(145deg, rgba(0, 212, 170, 0.1), rgba(255, 215, 0, 0.1));
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00d4aa, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #00d4aa;
}

.newsletter-content p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: 2px solid rgba(0, 212, 170, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #00d4aa;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 15px 30px;
    background: linear-gradient(45deg, #00d4aa, #ffd700);
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 170, 0.4);
}

/* CTA Section */
.cta-section {
    padding: 80px 50px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00d4aa, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.cta-button.primary {
    background: linear-gradient(45deg, #00d4aa, #ffd700);
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: #00d4aa;
    border: 2px solid #00d4aa;
}

.cta-button.secondary:hover {
    background: #00d4aa;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.3);
}

/* Footer */
footer {
    padding: 30px 50px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 170, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.developer-credit {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.developer-credit p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stackwave-link {
    color: #32CD32;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
}

.stackwave-link:hover {
    color: #98FB98;
    text-shadow: 0 0 15px rgba(50, 205, 50, 0.8);
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Event card filtering */
.event-card.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    header {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .page-header {
        padding: 100px 20px 60px;
        background-attachment: scroll;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }

    .event-filters,
    .events-section,
    .newsletter-section,
    .cta-section {
        padding: 40px 20px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2rem;
    }

    .event-title {
        font-size: 1.3rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    footer {
        padding: 20px;
    }
}