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

:root {
    --gold: #D1A368;
    --dark-bg: #0F1115;
    --dark-bg-2: #1C1E24;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-light: #E8E8E8;
    --text-muted: #A0A0A0;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('/static/images/johnny-pizza.jpg') center/cover no-repeat;
    padding: 80px 20px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding: 60px 15px 30px;
        align-items: flex-start;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 17, 21, 0.85) 0%, rgba(28, 30, 36, 0.75) 100%);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 20px 15px;
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero-title {
        margin-top: 60px !important;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.gold-accent {
    color: var(--gold);
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
}

.cta-button {
    background: linear-gradient(135deg, var(--gold) 0%, #B8935A 100%);
    color: #000;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(209, 163, 104, 0.3);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .cta-button {
        padding: 18px 40px;
        font-size: 1.05rem;
        width: auto;
        margin: 8px 0;
    }
    
    .hero-buttons {
        margin-bottom: 80px !important;
        padding-bottom: 40px !important;
    }
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(209, 163, 104, 0.5);
}

.form-section {
    padding: 80px 20px;
    background: var(--dark-bg);
}

.container {
    max-width: 700px;
    margin: 0 auto;
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    color: var(--gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

.form-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-light);
    font-size: 1rem;
}

.required {
    color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(209, 163, 104, 0.1);
}

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

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, #B8935A 100%);
    color: #000;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(209, 163, 104, 0.3);
    margin-top: 10px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(209, 163, 104, 0.5);
}

.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    margin: 8px 0;
}

.footer-credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px !important;
}

.heart {
    color: #ff6b6b;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.thanks-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.thanks-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.thanks-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.thanks-message {
    font-size: 1.25rem;
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-light);
}

.thanks-details {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    color: var(--text-muted);
}

.thanks-details p {
    margin: 5px 0;
}

.return-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, #B8935A 100%);
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(209, 163, 104, 0.3);
    margin-top: 20px;
}

.return-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(209, 163, 104, 0.5);
}

.admin-body {
    background: var(--dark-bg);
    padding: 40px 20px;
    min-height: 100vh;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.admin-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.admin-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.admin-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    padding: 30px 50px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.admin-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.download-button {
    background: linear-gradient(135deg, var(--gold) 0%, #B8935A 100%);
    color: #000;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(209, 163, 104, 0.3);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(209, 163, 104, 0.5);
}

.logout-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logout-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.delete-button {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 59, 48, 0.3);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-button:hover {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.5);
    transform: translateY(-1px);
}

.admin-table-container {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--gold);
    border-bottom: 2px solid rgba(209, 163, 104, 0.3);
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.empty-subtext {
    font-size: 0.95rem;
}

.admin-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #B8935A;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 50px;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-align: center;
}

.login-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.error-message {
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: #ff6666;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    padding: 20px 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100px;
    text-align: center;
}

.countdown-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-section {
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-box {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-name {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.guest-list-section,
.message-board-section,
.celebration-section,
.qr-section {
    padding: 80px 20px;
}

.celebration-slider-wrapper {
    position: relative;
    margin-top: 40px;
    max-width: 100%;
}

.celebration-slider {
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.celebration-slider::-webkit-scrollbar {
    display: none;
}

.guest-grid,
.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.celebration-grid {
    display: flex;
    gap: 20px;
    margin-top: 0;
    padding: 0 5px;
}

.celebration-section .guest-card,
.celebration-section .message-card {
    flex: 0 0 280px;
    min-width: 280px;
}

.celebration-section .message-card.with-photo {
    flex: 0 0 380px;
    min-width: 380px;
}

/* Desktop: Show 3.5 cards to hint at more content */
@media (min-width: 1024px) {
    .celebration-slider-wrapper {
        max-width: 1090px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .celebration-section .guest-card,
    .celebration-section .message-card {
        flex: 0 0 300px;
        min-width: 300px;
    }
    
    .celebration-section .message-card.with-photo {
        flex: 0 0 400px;
        min-width: 400px;
    }
}

/* Tablet: Show 2.5 cards */
@media (min-width: 768px) and (max-width: 1023px) {
    .celebration-slider-wrapper {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile: Show 1.3 cards to hint at more */
@media (max-width: 767px) {
    .celebration-section .guest-card,
    .celebration-section .message-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
    
    .celebration-section .message-card.with-photo {
        flex: 0 0 320px;
        min-width: 320px;
    }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(209, 163, 104, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-left {
    left: -24px;
}

.slider-arrow-right {
    right: -24px;
}

@media (max-width: 768px) {
    .slider-arrow-left {
        left: 10px;
    }
    
    .slider-arrow-right {
        right: 10px;
    }
}

.guest-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.guest-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(209, 163, 104, 0.2);
}

.guest-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, #B8935A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 auto 15px;
}

.guest-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.guest-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.message-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.message-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.message-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 15px;
}

.message-author {
    text-align: right;
    color: var(--gold);
    font-weight: 600;
}

.party-members {
    text-align: right;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    font-style: normal;
}

.qr-container {
    text-align: center;
    margin-top: 30px;
}

#qr-code {
    max-width: 300px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 16px;
}

.price-tag {
    display: inline-block;
    background: var(--gold);
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 15px;
}

.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--gold);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--gold);
    margin-right: 12px;
    flex-shrink: 0;
}

.checkbox-item span {
    font-size: 0.95rem;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-price {
    color: var(--gold);
    font-weight: 600;
    font-size: 14px;
    margin-left: 12px;
}

/* Total display */
.total-display {
    display: none;
    flex-direction: column;
    padding: 28px;
    margin: 30px 0;
    background: linear-gradient(135deg, rgba(209, 163, 104, 0.15) 0%, rgba(209, 163, 104, 0.05) 100%);
    border: 2px solid rgba(209, 163, 104, 0.4);
    border-radius: 15px;
    animation: slideIn 0.4s ease-out;
}

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

.total-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.breakdown-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.breakdown-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.breakdown-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(209, 163, 104, 0.5), transparent);
    margin: 8px 0;
}

.total-row {
    margin-top: 8px;
}

.total-label {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.total-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.transparency-note {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.transparency-note strong {
    color: var(--gold);
    font-weight: 600;
}

.form-note {
    margin: 20px 0;
    padding: 15px;
    background: rgba(209, 163, 104, 0.1);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.loading,
.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.payment-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    max-width: 600px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.payment-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-align: center;
}

.payment-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.order-summary {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.order-summary h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-item.total {
    border-bottom: none;
    font-size: 1.3rem;
    margin-top: 10px;
    padding-top: 15px;
}

.summary-divider {
    height: 2px;
    background: rgba(209, 163, 104, 0.3);
    margin: 15px 0;
}

.payment-button {
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, #B8935A 100%);
    color: #000;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(209, 163, 104, 0.3);
}

.payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(209, 163, 104, 0.5);
}

.payment-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 20px;
}

.skip-button {
    display: block;
    text-align: center;
    color: var(--text-muted);
    text-decoration: none;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.skip-button:hover {
    color: var(--gold);
}

.back-link {
    display: block;
    text-align: center;
    color: var(--gold);
    text-decoration: none;
    margin-top: 25px;
    font-size: 1rem;
}

.back-link:hover {
    text-decoration: underline;
}

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

.animate-bounce {
    animation: bounce 2s infinite;
}

.stat-card.stat-success .stat-number {
    color: #4CAF50;
}

.stat-card.stat-warning .stat-number {
    color: #FFA726;
}

.stat-card.stat-revenue .stat-number {
    color: var(--gold);
}

.stat-card.stat-pending-revenue .stat-number {
    color: #999;
}

.payment-breakdown {
    margin-top: 30px;
    text-align: center;
}

.payment-breakdown h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.breakdown-items {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.breakdown-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(255, 167, 38, 0.15);
    color: #FFA726;
    border: 1px solid rgba(255, 167, 38, 0.3);
}

.status-paid {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-refunded {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.action-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cash {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.btn-cash:hover {
    background: rgba(76, 175, 80, 0.25);
    transform: translateY(-1px);
}

.btn-check {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.btn-check:hover {
    background: rgba(33, 150, 243, 0.25);
    transform: translateY(-1px);
}

.btn-refund {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.btn-refund:hover {
    background: rgba(255, 152, 0, 0.25);
    transform: translateY(-1px);
}

.btn-refund:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-unpaid {
    background: rgba(156, 39, 176, 0.15);
    color: #9C27B0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.btn-unpaid:hover {
    background: rgba(156, 39, 176, 0.25);
    transform: translateY(-1px);
}

.btn-delete {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.btn-delete:hover {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.5);
    transform: translateY(-1px);
}

.row-paid {
    background: rgba(76, 175, 80, 0.03);
}

.row-pending {
    background: rgba(255, 167, 38, 0.03);
}

.row-refunded {
    background: rgba(255, 107, 107, 0.03);
}

@media (max-width: 768px) {
    .form-card {
        padding: 30px 25px;
    }
    
    .thanks-card {
        padding: 40px 30px;
    }
    
    .admin-stats {
        flex-direction: column;
        align-items: stretch;
    }
    
    .stat-card {
        padding: 20px 30px;
    }
    
    .admin-table {
        font-size: 0.9rem;
    }
    
    .admin-table thead {
        display: none;
    }
    
    .admin-table tr {
        display: block;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        padding: 15px;
    }
    
    .admin-table td {
        display: block;
        text-align: right;
        padding: 10px 0;
        border: none;
    }
    
    .admin-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: var(--gold);
    }
    
    .action-buttons {
        justify-content: flex-end;
    }
}

.audio-player-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.audio-button {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    background: rgba(28, 30, 36, 0.95);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(209, 163, 104, 0.4);
}

.audio-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(209, 163, 104, 0.6);
}

.audio-button.playing {
    animation: pulse-play 2s ease-in-out infinite;
}

@keyframes pulse-play {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(209, 163, 104, 0.4);
    }
    50% {
        box-shadow: 0 12px 50px rgba(209, 163, 104, 0.8);
    }
}

.audio-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.audio-button:hover .audio-icon {
    transform: scale(1.1);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--gold);
    opacity: 0;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }
    100% {
        width: 140%;
        height: 140%;
        opacity: 0;
    }
}

.play-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--gold);
    color: var(--dark-bg);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.audio-button:hover .play-indicator {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .audio-player-float {
        bottom: 20px;
        right: 20px;
    }
    
    .audio-button {
        width: 70px;
        height: 70px;
    }
    
    .play-indicator {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
}

/* Party Buzz Section */
.party-buzz-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1c24 0%, #0f1115 100%);
    border-top: 1px solid rgba(209, 163, 104, 0.1);
    border-bottom: 1px solid rgba(209, 163, 104, 0.1);
}

.buzz-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .buzz-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.buzz-stat {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(209, 163, 104, 0.2);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.buzz-stat:hover {
    transform: translateY(-5px);
    border-color: rgba(209, 163, 104, 0.4);
    box-shadow: 0 8px 30px rgba(209, 163, 104, 0.15);
}

.buzz-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 10px rgba(209, 163, 104, 0.3));
}

.buzz-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    margin: 10px 0;
    text-shadow: 0 2px 15px rgba(209, 163, 104, 0.4);
    line-height: 1;
}

.buzz-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .buzz-stat {
        padding: 25px 15px;
    }
    
    .buzz-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .buzz-number {
        font-size: 2.5rem;
    }
    
    .buzz-label {
        font-size: 0.85rem;
    }
}

/* Activity Feed Section */
.activity-feed-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f1115 0%, #1a1c24 100%);
}

.activity-list {
    max-width: 800px;
    margin: 0 auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(209, 163, 104, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    border-color: rgba(209, 163, 104, 0.3);
    transform: translateX(5px);
}

.activity-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: var(--text-light);
    margin-bottom: 5px;
    line-height: 1.5;
}

.activity-text strong {
    color: var(--gold);
}

.activity-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.activity-empty,
.activity-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-style: italic;
}

/* Leaderboards Section */
.leaderboards-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1c24 0%, #0f1115 100%);
}

.leaderboards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .leaderboards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.leaderboard-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(209, 163, 104, 0.2);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.leaderboard-card:hover {
    transform: translateY(-5px);
    border-color: rgba(209, 163, 104, 0.4);
    box-shadow: 0 8px 25px rgba(209, 163, 104, 0.15);
}

.leaderboard-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.leaderboard-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.leaderboard-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
    line-height: 1.3;
}

.leaderboard-detail {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .activity-item {
        padding: 15px;
    }
    
    .activity-icon {
        font-size: 1.5rem;
    }
    
    .leaderboard-card {
        padding: 20px 15px;
    }
    
    .leaderboard-icon {
        font-size: 2rem;
    }
    
    .leaderboard-name {
        font-size: 1.1rem;
    }
}

/* Memory Lane Section */
.memory-lane-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
}

.memory-slider-wrapper {
    position: relative;
    margin-top: 40px;
    max-width: 100%;
}

.memory-slider {
    overflow-x: hidden;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.memory-slider::-webkit-scrollbar {
    display: none;
}

.memory-carousel {
    display: flex;
    gap: 30px;
}

/* Desktop: Full width section to show all 4 cards */
@media (min-width: 1024px) {
    .memory-lane-section .container {
        max-width: 1300px;
        margin: 0 auto;
    }
}

.memory-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.memory-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(209, 163, 104, 0.2);
}

/* Desktop: Show all 4 in a row with good size */
@media (min-width: 1024px) {
    .memory-arrow-left,
    .memory-arrow-right {
        display: none;
    }
    
    .memory-card {
        flex: 1 1 0;
        min-width: 0;
    }
    
    .memory-slider {
        overflow-x: hidden;
    }
}

/* Tablet: Show 2 cards */
@media (min-width: 768px) and (max-width: 1023px) {
    .memory-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
    
    .memory-arrow-left,
    .memory-arrow-right {
        display: flex;
    }
}

/* Mobile: Show 1 card at a time with arrows */
@media (max-width: 767px) {
    .memory-card {
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: center;
    }
    
    .memory-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .memory-arrow-left,
    .memory-arrow-right {
        display: flex;
    }
}

.memory-photo {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .memory-photo {
        height: 400px;
    }
}

.photo-placeholder {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    border-radius: 10px;
}

.memory-caption {
    padding: 20px;
    text-align: center;
}

.memory-years {
    display: inline-block;
    background: rgba(209, 163, 104, 0.15);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.memory-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
}

/* Predictions Section */
.predictions-section {
    background: linear-gradient(135deg, rgba(209, 163, 104, 0.08) 0%, rgba(209, 163, 104, 0.03) 100%);
    border: 2px solid rgba(209, 163, 104, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.predictions-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-align: center;
}

.predictions-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* File Input Styling */
.file-input {
    display: block;
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(209, 163, 104, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input:hover {
    border-color: var(--gold);
    background: rgba(209, 163, 104, 0.1);
}

.file-input::file-selector-button {
    background: linear-gradient(135deg, var(--gold) 0%, #B8935A 100%);
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.file-input::file-selector-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(209, 163, 104, 0.4);
}

.file-note {
    margin-top: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Message Cards with Photos */
.message-card.with-photo {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.message-photo {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.message-content {
    padding: 20px;
}

@media (max-width: 767px) {
    .message-photo {
        height: 320px;
    }
    
    .message-content {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .memory-carousel {
        grid-template-columns: 1fr;
    }
    
    .memory-photo {
        height: 450px;
    }
}

/* Enhanced Select/Dropdown Styling for Better Readability */
.form-group select {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
}

.form-group select option {
    background: #1C1E24;
    color: #ffffff;
    padding: 10px;
    font-weight: 500;
}

.form-group select:focus option {
    background: #2C2E34;
    color: #ffffff;
}

/* Better focus state for dropdowns */
.form-group select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    outline: none;
    color: #ffffff;
}

/* Clickable Card Styling */
.clickable-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(209, 163, 104, 0.3);
}

/* Tap Indicator - Only visible on mobile/tablet */
.tap-indicator {
    display: none;
}

@media (max-width: 1024px) {
    .tap-indicator {
        display: flex;
        align-items: center;
        gap: 6px;
        position: absolute;
        top: 12px;
        right: 12px;
        background: linear-gradient(135deg, rgba(209, 163, 104, 0.95) 0%, rgba(184, 145, 79, 0.95) 100%);
        color: #1C1E24;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(209, 163, 104, 0.4);
        animation: subtlePulse 2s ease-in-out infinite;
        pointer-events: none;
    }
    
    @keyframes subtlePulse {
        0%, 100% {
            transform: scale(1);
            opacity: 0.9;
        }
        50% {
            transform: scale(1.05);
            opacity: 1;
        }
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1C1E24 0%, #2A2C34 100%);
    border: 2px solid rgba(209, 163, 104, 0.3);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    padding: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(209, 163, 104, 0.2);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: var(--gold);
    color: #1C1E24;
    transform: rotate(90deg);
}

#modalBody {
    padding: 40px;
}

.modal-header-section {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(209, 163, 104, 0.2);
}

.modal-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8914f 100%);
    color: #1C1E24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(209, 163, 104, 0.4);
    font-family: 'Playfair Display', serif;
}

.modal-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    margin: 0 0 10px 0;
}

.modal-timestamp {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.modal-photo-section {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.modal-photo {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

.modal-message-section {
    margin-bottom: 30px;
}

.modal-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 15px 0;
    text-align: center;
}

.modal-message {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
}

.modal-party-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(209, 163, 104, 0.2);
}

.modal-party-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.modal-party-member {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(209, 163, 104, 0.2);
    transition: all 0.3s ease;
}

.modal-party-member:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.modal-party-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(209, 163, 104, 0.3) 0%, rgba(184, 145, 79, 0.3) 100%);
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 12px;
    font-family: 'Playfair Display', serif;
}

.modal-party-name {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    #modalBody {
        padding: 30px 20px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 28px;
    }
    
    .modal-avatar {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .modal-name {
        font-size: 26px;
    }
    
    .modal-section-title {
        font-size: 20px;
    }
    
    .modal-message {
        font-size: 16px;
        padding: 20px;
    }
    
    .modal-party-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
}
