@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0b1426 100%);
    color: #fff;
    overflow-x: hidden;
}

/* Animated background particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255,215,0,0.8) 0%, rgba(255,215,0,0) 70%);
    border-radius: 50%;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #0b63ce 0%, #1e3a8a 30%, #1a2332 70%, #0f1419 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,215,0,0.18) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.graduate-photo-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 3rem;
    animation: fadeInScale 1.5s ease;
}

.photo-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #0b63ce, #ffd700, #0b63ce);
    animation: rotate 10s linear infinite;
    filter: blur(6px);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.graduate-photo {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgba(255,255,255,0.9);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255,215,0,0.5);
    animation: fadeInDown 1.2s ease;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease 0.3s backwards;
}

.hero .grad-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffd700;
    margin: 2rem 0;
    animation: fadeInUp 1.2s ease 0.6s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: '↓';
    font-size: 2rem;
    color: #ffd700;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-20px); }
}

/* Main content sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section.dark {
    background: linear-gradient(135deg, #0f1419 0%, #1e3a8a 50%, #0b63ce 100%);
}

.section.light {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 50%, #1e3a8a 100%);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section.dark .section-title {
    background: linear-gradient(to right, #667eea, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section.light .section-title {
    color: #1a1a2e;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #0b63ce, #ffd700);
    border-radius: 2px;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255,215,0,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.detail-card:hover::before {
    opacity: 1;
}

.detail-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 30px 60px rgba(11, 99, 206, 0.35);
}

.detail-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.detail-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.detail-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.map-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #0b63ce, #ffd700);
    color: black;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(11, 99, 206, 0.25);
}

.map-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.5);
}

/* RSVP Section */
.rsvp-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 60px rgba(11, 99, 206, 0.1);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.rsvp-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.rsvp-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 2rem;
    text-align: center;
}

form {
    display: grid;
    gap: 1.8rem;
    position: relative;
    z-index: 1;
}

.form-group {
    position: relative;
}

label {
    display: block;
    color: #0b63ce;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input, select, textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    color: #fff;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

input::placeholder, select::placeholder, textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0b63ce;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 5px rgba(11, 99, 206, 0.15), inset 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #0b63ce 0%, #ffd700 100%);
    color: black;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(11, 99, 206, 0.45);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.6);
}

.submit-btn:active {
    transform: translateY(-2px);
}

.success-message {
    display: none;
    padding: 2rem;
    background: linear-gradient(135deg, #ffd700 0%, #0b63ce 100%);
    border-radius: 20px;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    margin-top: 2rem;
    animation: slideIn 0.5s ease;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(11, 99, 206, 0.25);
}

/* Success page specific styling - show message by default */
.success-page .success-message {
    display: block;
    background: transparent;
    padding: 0;
    margin: 1rem 0;
    text-align: center;
    color: #fff;
    animation: slideIn 0.5s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.success-message.show {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Calendar Section */
.calendar-section {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(11, 99, 206, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    animation: slideIn 0.5s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.calendar-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.calendar-btn {
    background: linear-gradient(135deg, rgba(11, 99, 206, 0.8), rgba(255, 215, 0, 0.8));
    color: #fff;
    border: none;
    padding: 0.875rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(11, 99, 206, 0.2);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(11, 99, 206, 0.4);
    background: linear-gradient(135deg, rgba(11, 99, 206, 1), rgba(255, 215, 0, 1));
}

.calendar-btn:active {
    transform: translateY(-1px);
}

/* Guest Names Section */
.guest-names-container {
    margin: 1.5rem 0;
    animation: slideIn 0.5s ease;
}

.guest-names-label {
    display: block;
    color: #0b63ce;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guest-names-help {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.4;
}

.guest-names-list {
    display: grid;
    gap: 1rem;
}

.guest-name-field {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-number {
    background: linear-gradient(135deg, #0b63ce, #ffd700);
    color: #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(11, 99, 206, 0.3);
}

.guest-name-input {
    flex: 1;
    margin: 0 !important;
}

.guest-name-input input {
    margin: 0;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.footer p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer .heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 1rem;
        min-height: 95vh;
    }

    .hero-content {
        padding: 0.5rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 0.5rem;
    }

    .hero .subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 0.8rem;
    }

    .hero .grad-name {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin: 1.5rem 0;
    }

    .graduate-photo-wrapper {
        width: 180px;
        height: 180px;
        margin-bottom: 2rem;
    }

    .photo-ring {
        inset: -15px;
        filter: blur(4px);
    }

    .rsvp-container {
        padding: 2rem 1.2rem;
        margin: 0 1rem;
    }

    .rsvp-container h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section {
        padding: 2.5rem 1rem;
        min-height: auto;
    }

    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 2.5rem;
    }

    .detail-card {
        padding: 1.8rem;
    }

    .detail-card h3 {
        font-size: 1.5rem;
    }

    .detail-card p {
        font-size: 1rem;
    }

    .detail-icon {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .map-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .calendar-buttons {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .calendar-btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    form {
        gap: 1.5rem;
    }

    input, select, textarea {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .scroll-indicator {
        bottom: 2rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero {
        padding: 0.5rem;
    }

    .graduate-photo-wrapper {
        width: 150px;
        height: 150px;
    }

    .rsvp-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }

    .section {
        padding: 2rem 0.5rem;
    }

    .detail-card {
        padding: 1.5rem;
    }

    .calendar-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .guest-name-field {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .guest-number {
        align-self: flex-start;
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .detail-card:hover {
        transform: none;
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }

    .map-link:hover,
    .submit-btn:hover,
    .calendar-btn:hover {
        transform: none;
    }

    .submit-btn:hover::before {
        width: 0;
        height: 0;
    }

    /* Increase touch targets */
    .map-link,
    .submit-btn,
    .calendar-btn,
    input,
    select,
    textarea {
        min-height: 48px;
    }

    .scroll-indicator {
        font-size: 2.5rem;
        padding: 1rem;
    }
}

/* Success Page Styles */
.success-page {
    background: linear-gradient(135deg, #0b63ce 0%, #1e3a8a 30%, #1a2332 70%, #0f1419 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.success-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.success-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.success-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.success-animation {
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #10b981, #22c55e);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out 0.3s both;
}

.checkmark {
    width: 30px;
    height: 15px;
    border: 3px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: drawCheckmark 0.3s ease-out 0.6s both;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes drawCheckmark {
    0% { width: 0; height: 0; }
    100% { width: 30px; height: 15px; }
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.success-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-details {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
    text-align: left;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item .detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.detail-item strong {
    color: #ffd700;
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.detail-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

.detail-item small {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.success-actions .btn-primary,
.success-actions .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.success-actions .btn-primary {
    background: linear-gradient(45deg, #0b63ce, #1e3a8a);
    color: white;
    border-color: #0b63ce;
}

.success-actions .btn-primary:hover {
    background: linear-gradient(45deg, #1e3a8a, #0b63ce);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 99, 206, 0.4);
}

.success-actions .btn-secondary {
    background: transparent;
    color: #ffd700;
    border-color: #ffd700;
}

.success-actions .btn-secondary:hover {
    background: #ffd700;
    color: #0b63ce;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.success-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.success-note p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.success-note small {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.4;
}

.personal-summary {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    text-align: left;
}

.personal-summary h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.3rem;
}

.summary-grid {
    display: grid;
    gap: 0.8rem;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.summary-item span {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.summary-item strong {
    color: #ffd700;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
}

/* Success Page Mobile Responsiveness */
@media (max-width: 768px) {
    .success-page .success-container {
        padding: 0 0.5rem;
    }
    
    .success-page .success-content {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .success-title {
        font-size: 2rem;
    }
    
    .success-subtitle {
        font-size: 1rem;
    }
    
    .calendar-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .calendar-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .success-actions {
        flex-direction: column;
        margin-top: 2rem;
    }
    
    .success-actions .btn-primary,
    .success-actions .btn-secondary {
        width: 100%;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .success-page .success-container {
        padding: 0 0.25rem;
    }
    
    .success-page .success-content {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .success-title {
        font-size: 1.75rem;
    }
    
    .calendar-section {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .calendar-btn {
        padding: 0.875rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* JotForm Integration Styles */
.jotform-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 1rem;
}

/* Calendar Success Message */
.calendar-success-message {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    animation: slideInUp 0.8s ease-out;
}

.calendar-success-message h3 {
    color: #ffd700;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.calendar-success-message p {
    color: #fff;
    opacity: 0.9;
    margin: 0;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jotform-container iframe {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for JotForm */
@media (max-width: 768px) {
    .jotform-container {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .jotform-container iframe {
        height: 600px !important;
    }
}

@media (max-width: 480px) {
    .jotform-container {
        padding: 0.5rem;
        border-radius: 10px;
        margin: 0 -0.5rem;
    }
    
    .jotform-container iframe {
        height: 650px !important;
    }
}

/* Save Event Notification Styles */
.save-event-notification {
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease-out;
}

.save-success-message {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.08) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounceIn 1s ease-out;
}

.save-success-message h3 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.save-success-message > p {
    color: #fff;
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.event-details-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-details-summary p {
    color: #fff;
    margin: 0.5rem 0;
    font-size: 1rem;
    opacity: 0.9;
}

.event-details-summary strong {
    color: #ffd700;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments for save notification */
@media (max-width: 768px) {
    .save-success-message {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .success-icon {
        font-size: 2.5rem;
    }
    
    .save-success-message h3 {
        font-size: 1.5rem;
    }
    
    .event-details-summary {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .save-success-message {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .success-icon {
        font-size: 2rem;
    }
    
    .save-success-message h3 {
        font-size: 1.3rem;
    }
    
    .save-success-message > p {
        font-size: 1rem;
    }
    
    .event-details-summary p {
        font-size: 0.9rem;
    }
}
