* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c9a961;
    --primary-dark: #8b7355;
    --secondary-color: #0d1b3d;
    --accent-color: #d4af37;
    --success-color: #2d8659;
    --danger-color: #c41e3a;
    --bg-dark: #0a1629;
    --bg-light: #0d1b3d;
    --bg-white: #f5f5f0;
    --text-dark: #0f0f1e;
    --text-light: #666666;
    --text-white: #f5f5f0;
    --border-color: #c9a961;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.6;
}

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

.hidden {
    display: none !important;
}

/* ===== LANDING PAGE ===== */
.landing-page {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-hero {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-attachment: fixed;
    gap: 40px;
    flex-wrap: wrap;
}

.landing-image {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.leo-image {
    max-width: 100%;
    width: 400px;
    height: auto;
    border-radius: 0;
    border: 4px solid var(--accent-color);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.5);
    transition: all 0.4s ease;
    animation: imageFloat 3s ease-in-out infinite;
}

.leo-image:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.7);
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.landing-content {
    text-align: center;
    color: var(--text-white);
    z-index: 10;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.5);
}

.landing-title .highlight {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.landing-taglines {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tagline {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.landing-description {
    font-size: 20px;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.btn-cta {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    padding: 20px 60px;
    background: linear-gradient(135deg, var(--accent-color), #e6c13e);
    color: #000;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.6);
    letter-spacing: 3px;
}

.btn-cta:active {
    transform: translateY(-1px);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--secondary-color), #051118);
    color: var(--text-white);
    padding: 25px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--accent-color), #c9a961);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 0;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--text-white);
}

.btn-small {
    padding: 10px 16px;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
    border: 2px solid var(--danger-color);
}

.btn-danger:hover {
    background-color: transparent;
    color: var(--danger-color);
}

.btn-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--accent-color);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close:hover {
    color: var(--danger-color);
}

/* Celebration Modal */
.celebration-content {
    background: linear-gradient(135deg, var(--bg-white), #efefea);
    border-radius: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--accent-color);
    animation: celebrationPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 40px;
    text-align: center;
    position: relative;
}

@keyframes celebrationPop {
    0% {
        transform: scale(0.3) rotateZ(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) rotateZ(2deg);
    }
    100% {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
    }
}

.celebration-content img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 30px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.celebration-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent-color), #c9a961);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 0.8s ease-out;
}

@keyframes textGlow {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 5px;
}

.nav-tab {
    background: transparent;
    color: rgba(245, 245, 240, 0.6);
    border: none;
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-tab:hover {
    color: var(--text-white);
}

.nav-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Event Detail Page - Luxury Invitation */
.event-detail-page {
    background-color: var(--bg-dark);
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-detail-container {
    max-width: 700px;
    width: 100%;
}

.btn-back {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--accent-color);
    color: #000;
}

/* Invitation Card */
.invitation-card {
    margin-bottom: 30px;
    animation: fadeIn 0.6s ease;
}

.invitation-border {
    background: linear-gradient(135deg, var(--accent-color), #8b7355, var(--accent-color), #8b7355);
    padding: 4px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.15);
}

.invitation-inner {
    background: linear-gradient(180deg, #0d1b3d 0%, #0a1629 40%, #0d1b3d 100%);
    padding: 60px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.invitation-inner::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    pointer-events: none;
}

.invitation-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.invitation-top-ornament {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 30px;
    letter-spacing: 8px;
    position: relative;
    z-index: 1;
}

.invitation-pretext {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(201, 169, 97, 0.7);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.invitation-event-name {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.invitation-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
    position: relative;
    z-index: 1;
}

.divider-ornament {
    display: block;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.invitation-details {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.invitation-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.invitation-detail-row:last-child {
    border-bottom: none;
}

.inv-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
    min-width: 80px;
    text-align: left;
}

.inv-value {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: var(--text-white);
    text-align: right;
    flex: 1;
    margin-left: 20px;
}

.invitation-closing {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 16px;
    color: rgba(245, 245, 240, 0.6);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.invitation-footer {
    position: relative;
    z-index: 1;
}

.invitation-brand {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.invitation-tagline {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(201, 169, 97, 0.5);
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .btn {
    min-width: 180px;
    padding: 15px 30px;
    font-size: 16px;
}

@media print {
    .btn-back,
    .action-buttons,
    .header {
        display: none !important;
    }

    .event-detail-page {
        background: white;
        padding: 0;
    }

    .invitation-border {
        box-shadow: none;
    }

    .invitation-inner {
        background: #0d1b3d !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ===== MEMBERSHIP SECTION ===== */
.membership-section {
    background-color: var(--bg-dark);
    min-height: 80vh;
    padding: 60px 0;
}

.membership-hero {
    text-align: center;
    margin-bottom: 60px;
}

.membership-hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.membership-hero .highlight {
    color: var(--accent-color);
}

.membership-subtitle {
    font-size: 16px;
    color: rgba(245, 245, 240, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.membership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.membership-benefits h3,
.membership-form-wrapper h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.benefits-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.benefit-icon {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.benefits-list li strong {
    display: block;
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 5px;
}

.benefits-list li p {
    font-size: 14px;
    color: rgba(245, 245, 240, 0.5);
    line-height: 1.5;
}

.membership-form-wrapper {
    background: linear-gradient(135deg, rgba(13, 27, 61, 0.8), rgba(10, 22, 41, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 40px;
}

.membership-form .form-group {
    margin-bottom: 20px;
}

.membership-form .form-group label {
    color: var(--text-white);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.membership-form .form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-white);
    padding: 14px;
    font-size: 15px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.membership-form .form-group input::placeholder {
    color: rgba(245, 245, 240, 0.3);
}

.membership-form .form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.membership-success {
    text-align: center;
    padding: 40px 20px;
}

.membership-success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.membership-success p {
    color: rgba(245, 245, 240, 0.6);
    line-height: 1.6;
}

.members-list-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.members-list-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 25px;
    text-align: center;
}

.members-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.member-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeIn 0.4s ease;
}

.member-initial {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-color), #8b7355);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a1629;
    flex-shrink: 0;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-name {
    font-weight: 600;
    color: var(--text-white);
    font-size: 15px;
    margin-bottom: 3px;
}

.member-location {
    font-size: 12px;
    color: rgba(245, 245, 240, 0.4);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .event-detail-page {
        padding: 20px 10px;
    }

    .invitation-inner {
        padding: 40px 25px;
    }

    .invitation-event-name {
        font-size: 30px;
    }

    .invitation-detail-row {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .inv-label {
        text-align: center;
    }

    .inv-value {
        text-align: center;
        margin-left: 0;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }

    .nav-tabs {
        display: none;
    }

    .membership-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .membership-hero h2 {
        font-size: 30px;
    }

    .membership-form-wrapper {
        padding: 30px 20px;
    }

    .members-list {
        grid-template-columns: 1fr;
    }
}

/* Mobile nav toggle for tabs */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .nav-tabs {
        display: flex;
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .nav-tab {
        font-size: 12px;
        padding: 8px 15px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    padding: 20px;
    overflow-y: auto;
}

.modal.hidden {
    display: none;
}

.modal:not(.hidden) {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, var(--bg-white), #efefea);
    border-radius: 0;
    max-width: 550px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent-color);
    animation: slideIn 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}

@keyframes slideIn {
    from {
        transform: translateY(-80px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 2px solid var(--accent-color);
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Forms */
.party-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--accent-color);
    background-color: white;
    color: var(--text-dark);
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b7355;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid var(--accent-color);
}

.form-actions .btn {
    min-width: 120px;
}

/* Party Grid */
.parties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    padding: 40px 0;
}

.party-card {
    background: linear-gradient(135deg, var(--bg-white), #efefea);
    border: 2px solid var(--accent-color);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    animation: fadeIn 0.4s ease;
    position: relative;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.party-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: #e6c13e;
}

.party-card-header {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.95), rgba(150, 120, 85, 0.95)), url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=600&q=80') center/cover;
    color: var(--text-white);
    padding: 30px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.party-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.party-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.party-card-date-time {
    font-size: 14px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
}

.party-card-body {
    padding: 30px;
}

.party-detail {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.party-detail-label {
    font-weight: 700;
    min-width: 85px;
    color: var(--text-dark);
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.party-detail-value {
    color: var(--text-light);
    flex: 1;
    word-break: break-word;
    font-size: 15px;
}

.countdown {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(201, 169, 97, 0.1));
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    margin: 20px 0;
    text-align: center;
}

.countdown-time {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 1px;
}

.countdown-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 8px;
    letter-spacing: 1px;
}

.party-card-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--accent-color);
}

.party-card-actions .btn {
    flex: 1;
    padding: 11px 12px;
    font-size: 13px;
}

/* About Us Section */
.about-section {
    padding: 80px 0 60px;
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 18px;
    margin-bottom: 20px;
}

.about-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.about-col p {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(245, 245, 240, 0.6);
    text-align: justify;
}

.about-col em {
    color: var(--accent-color);
    font-style: italic;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(245, 245, 240, 0.4);
}

/* Main App Section */
.main-app {
    background-color: var(--bg-dark);
    min-height: 100vh;
}

/* Hero Banner - Photo Collage */
.hero-banner {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 1fr;
    gap: 3px;
    width: 100%;
    height: 100%;
}

.collage-item {
    overflow: hidden;
    position: relative;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-banner:hover .collage-item img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 41, 0.65), rgba(13, 27, 61, 0.55));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-overlay h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--text-white);
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.5);
    padding: 0 20px;
}

@media (max-width: 1024px) {
    .parties-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }

    .container {
        padding: 0 30px;
    }

    .leo-image {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .parties-grid {
        grid-template-columns: 1fr;
    }

    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 100%;
        width: calc(100% - 40px);
        max-height: 85vh;
    }

    .party-form {
        padding: 25px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-row {
        gap: 20px;
    }

    .form-actions {
        flex-direction: column;
        gap: 12px;
        justify-content: stretch;
    }

    .form-actions .btn {
        width: 100%;
        min-width: auto;
    }

    .landing-hero {
        flex-direction: column;
        gap: 30px;
    }

    .landing-image {
        flex: none;
    }

    .leo-image {
        width: 250px;
    }

    .landing-title {
        font-size: 48px;
    }

    .landing-taglines {
        flex-direction: column;
        gap: 20px;
    }

    .tagline {
        font-size: 24px;
    }

    .btn-cta {
        font-size: 18px;
        padding: 16px 50px;
        letter-spacing: 1px;
    }

    .container {
        padding: 0 20px;
    }

    .party-card-header {
        min-height: 100px;
        padding: 20px;
    }

    .party-card-body {
        padding: 20px;
    }

    .hero-banner {
        height: 280px;
    }

    .collage-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .collage-item:nth-child(n+5) {
        display: none;
    }

    .hero-overlay h2 {
        font-size: 28px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 36px;
    }

    .landing-taglines {
        gap: 15px;
    }

    .tagline {
        font-size: 18px;
    }

    .btn-cta {
        font-size: 16px;
        padding: 14px 40px;
    }

    .parties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .party-card-title {
        font-size: 22px;
    }

    .about-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-header h2 {
        font-size: 30px;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-number {
        font-size: 30px;
    }

    .about-section {
        padding: 50px 0 40px;
    }

    .modal-content {
        width: calc(100% - 20px);
        max-height: 90vh;
    }

    .party-form {
        padding: 20px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .header .container {
        padding: 0 15px;
    }

    .header {
        padding: 20px 0;
    }

    .logo {
        font-size: 24px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 16px;
    }

    .leo-image {
        width: 200px;
    }

    .landing-description {
        font-size: 16px;
    }

    .hero-banner {
        height: 220px;
    }

    .collage-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .collage-item:nth-child(n+4) {
        display: none;
    }

    .hero-overlay h2 {
        font-size: 22px;
        padding: 15px;
    }
}