/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
    min-height: 100vh;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* Navigation */
.navbar {
    border-bottom: 1px solid #475569;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-icon {
    color: #a855f7;
    margin-right: 0.5rem;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active {
    color: #c084fc;
}

/* Hero Section */
.hero-section {
    padding: 5rem 1rem;
}

.hero-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-gradient {
    background: linear-gradient(to right, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-button-container {
    display: flex;
    justify-content: center;
}

/* Features Section */
.features-section {
    padding: 4rem 1rem;
}

.features-container {
    max-width: 1152px;
    margin: 0 auto;
}

.features-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #475569;
    border-radius: 0.5rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon.purple {
    color: #a855f7;
}

.feature-icon.green {
    color: #22c55e;
}

.feature-icon.blue {
    color: #3b82f6;
}

.feature-icon.amber {
    color: #f59e0b;
}

.feature-icon.red {
    color: #ef4444;
}

.feature-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #cbd5e1;
}

/* CTA Section */
.cta-section {
    padding: 5rem 1rem;
}

.cta-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    padding: 4rem 1rem;
}

.header-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.header-icon {
    color: #a855f7;
    margin: 0 auto 1.5rem;
}

.header-icon.red {
    color: #ef4444;
}

.header-icon.purple {
    color: #a855f7;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.page-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 42rem;
    margin: 0 auto;
}

/* Rules Section */
.rules-section {
    padding: 4rem 1rem;
}

.rules-container {
    max-width: 1152px;
    margin: 0 auto;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.rule-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #475569;
    border-radius: 0.5rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.rule-icon.green {
    color: #22c55e;
}

.rule-icon.yellow {
    color: #eab308;
}

.rule-icon.blue {
    color: #3b82f6;
}

.rule-icon.purple {
    color: #a855f7;
}

.rule-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

.rule-description {
    color: #cbd5e1;
    font-size: 1rem;
}

/* Donation Section */
.donation-section {
    padding: 4rem 1rem;
}

.donation-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.donation-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: white;
    margin-bottom: 2rem;
}

.donation-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #475569;
    border-radius: 0.5rem;
    backdrop-filter: blur(8px);
}

.card-header {
    padding: 1.5rem 1.5rem 0;
}

.card-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-description {
    color: #cbd5e1;
}

.card-content {
    padding: 1.5rem;
}

.donation-amounts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Custom Donation Styles */
.custom-donation {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid #475569;
}

.custom-amount-input {
    margin-bottom: 1rem;
}

.amount-label {
    display: block;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: linear-gradient(to right, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.amount-input {
    width: 100%;
    max-width: 200px;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.amount-input::placeholder {
    color: #a1a1aa;
    font-weight: 400;
}

.amount-input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: rgba(30, 41, 59, 0.9);
    transform: translateY(-1px);
}

.amount-input:hover {
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-1px);
}

/* Events Section */
.events-section {
    padding: 4rem 1rem;
}

.past-events-section {
    padding: 2rem 1rem 4rem;
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #475569;
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
}

.event-card.featured {
    border: 2px solid #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

.event-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: bold;
}

.event-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    line-height: 1;
}

.event-day {
    font-size: 1.25rem;
    line-height: 1;
}

.event-content {
    flex: 1;
}

.event-category {
    color: #a855f7;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.event-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.event-description {
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-time,
.event-host {
    display: flex;
    align-items: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

.detail-icon {
    margin-right: 0.5rem;
    color: #a855f7;
    flex-shrink: 0;
}

/* Past Events */
.past-events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

/* Single event gets featured styling */
.past-events-grid.single-event .past-event-card {
    flex: 0 0 600px;
    max-width: 600px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.2));
    border: 2px solid #a855f7;
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.4);
    transform: none;
}

/* Featured event badge */
.past-events-grid.single-event .past-event-card::before {
    content: "✨ FEATURED EVENT";
    position: absolute;
    top: -10px;
    right: 2rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 20px -4px rgba(168, 85, 247, 0.5);
    z-index: 1;
}

/* Enhanced featured event hover */
.past-events-grid.single-event .past-event-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 35px 70px -12px rgba(168, 85, 247, 0.5);
}

/* Regular grid layout for multiple events */
.past-event-card {
    flex: 0 0 380px;
    max-width: 380px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

/* Subtle gradient overlay */
.past-event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a855f7, #ec4899, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.past-event-card:hover::after {
    opacity: 1;
}

.past-event-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.3), 0 0 0 1px rgba(168, 85, 247, 0.2);
}

.past-event-date {
    color: #a855f7;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.past-event-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Enhanced featured event styling */
.past-events-grid.single-event .past-event-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.past-events-grid.single-event .past-event-date {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 0.75rem;
    display: inline-block;
}

.past-events-grid.single-event .past-event-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.past-event-description {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.past-event-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stat {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Click hint for past events */
.event-click-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: #a855f7;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.past-event-card {
    position: relative;
    cursor: pointer;
}

.past-event-card:hover .event-click-hint {
    opacity: 1;
}

/* No Events Message */
.no-events {
    width: 100%;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.1));
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.no-events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #a855f7);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.no-events p {
    margin: 0;
    font-size: 1.25rem;
    color: #e2e8f0;
    font-weight: 500;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    margin: 2% auto;
    padding: 0;
    border: 1px solid #475569;
    border-radius: 1rem;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
    border-bottom: 1px solid #475569;
    margin-bottom: 1.5rem;
}

.modal-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(to right, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close {
    color: #94a3b8;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #a855f7;
    text-decoration: none;
}

.modal-body {
    padding: 0 1.5rem 1.5rem;
}

.modal-event-details {
    color: #e2e8f0;
}

.modal-event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 0.75rem;
}

.modal-date,
.modal-host {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.875rem;
}

.modal-date svg,
.modal-host svg {
    color: #a855f7;
    flex-shrink: 0;
}

.modal-description h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 1px solid #475569;
    padding-bottom: 0.5rem;
}

.modal-description h4 {
    color: #a855f7;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.modal-description p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-description ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-description li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.modal-stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #475569;
    border-radius: 0.75rem;
    backdrop-filter: blur(8px);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #a855f7;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #cbd5e1;
    font-weight: 500;
}

.modal-testimonials {
    margin: 1rem 0;
}

.modal-testimonials blockquote {
    background: rgba(30, 41, 59, 0.6);
    border-left: 4px solid #a855f7;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #cbd5e1;
}

.dj-lineup {
    margin: 1rem 0;
}

.dj-set {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #475569;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.dj-set:hover {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(30, 41, 59, 0.8);
}

.set-time {
    color: #a855f7;
    font-weight: 600;
    font-size: 0.875rem;
}

.gratitude-list blockquote {
    background: rgba(168, 85, 247, 0.1);
    border-left: 4px solid #a855f7;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #e2e8f0;
}

/* Contact Section */
.contact-content {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

/* Message Styles */
.message-container {
    max-width: 1152px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    border: 1px solid;
}

.message.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.message.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.message-icon {
    flex-shrink: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #475569;
    border-radius: 0.5rem;
    backdrop-filter: blur(8px);
}

.contact-form {
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: #475569;
    border: 1px solid #64748b;
    border-radius: 0.375rem;
    color: white;
    font-size: 0.875rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #475569;
    border-radius: 0.5rem;
    backdrop-filter: blur(8px);
    padding: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-icon.purple {
    color: #a855f7;
}

.inline-icon {
    margin-right: 0.5rem;
}

.inline-icon.purple {
    color: #a855f7;
}

.team-description {
    color: #cbd5e1;
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-primary {
    background: #7c3aed;
    color: white;
}

.btn-primary:hover {
    background: #6d28d9;
}

.btn-gradient {
    background: linear-gradient(to right, #7c3aed, #ec4899);
    color: white;
}

.btn-gradient:hover {
    background: linear-gradient(to right, #6d28d9, #db2777);
}

.btn-outline {
    border: 1px solid #a855f7;
    color: #c084fc;
    background: transparent;
}

.btn-outline:hover {
    background: #7c3aed;
    color: white;
}

.btn-full {
    width: 100%;
}

/* Footer */
.footer {
    border-top: 1px solid #475569;
    background: rgba(15, 23, 42, 0.5);
    padding: 2rem 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-icon {
    color: #a855f7;
    margin-right: 0.5rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }

    .page-title {
        font-size: 4rem;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-brand {
        margin-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .donation-amounts {
        flex-direction: column;
        align-items: center;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .past-events-grid {
        justify-content: center;
    }

    .past-event-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* Mobile featured event adjustments */
    .past-events-grid.single-event .past-event-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .past-events-grid.single-event .past-event-title {
        font-size: 1.5rem;
    }

    .past-events-grid.single-event .past-event-card::before {
        right: 1rem;
        font-size: 0.6rem;
        padding: 0.375rem 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .hero-section,
    .page-header {
        padding: 3rem 1rem;
    }

    .hero-title,
    .page-title {
        font-size: 2rem;
    }

    .hero-description,
    .page-description {
        font-size: 1rem;
    }

    /* Modal responsive styles */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }

    .modal-header {
        padding: 1rem 1rem 0;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 0 1rem 1rem;
    }

    .modal-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-stat-item {
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .dj-set {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .set-time {
        margin-top: 0.25rem;
    }
}