@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Montserrat:wght@300;400;600&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background: #000000;
    color: #FFFFFF;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.disco-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 10px #FFFFFF;
    animation: sparkleFloat 3s infinite ease-in-out;
    opacity: 0;
}

@keyframes sparkleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1.5);
    }
}

/* Main Container */
.container {
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Title Section */
.title-section {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInScale 1.2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #FFFFFF, #CCCCCC, #FFFFFF);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite, titlePulse 2s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes titlePulse {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }

    50% {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

.name {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    font-style: italic;
    margin: 20px 0;
    color: #E8E8E8;
    animation: fadeIn 1.5s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Details Section */
.details-section {
    text-align: center;
    margin: 50px 0;
    padding: 0 20px;
    animation: slideInLeft 1s ease-out 0.5s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.detail-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    font-family: 'Playfair Display', serif;
    flex-wrap: wrap;
}

.detail-item {
    font-size: 1.8rem;
    font-weight: 400;
    position: relative;
    animation: bounceIn 0.8s ease-out;
    animation-fill-mode: both;
}

.detail-item:nth-child(1) {
    animation-delay: 0.6s;
}

.detail-item:nth-child(3) {
    animation-delay: 0.8s;
}

.detail-item:nth-child(5) {
    animation-delay: 1s;
}

@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);
    }
}

.divider {
    width: 2px;
    height: 50px;
    background: #FFFFFF;
    opacity: 0.5;
    animation: dividerGrow 0.8s ease-out;
    animation-fill-mode: both;
}

.divider:nth-of-type(1) {
    animation-delay: 0.7s;
}

.divider:nth-of-type(2) {
    animation-delay: 0.9s;
}

@keyframes dividerGrow {
    from {
        height: 0;
        opacity: 0;
    }

    to {
        height: 50px;
        opacity: 0.5;
    }
}

.detail-label {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
    opacity: 0.7;
    font-weight: 300;
}

.detail-value {
    font-size: 2rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.detail-item:hover .detail-value {
    transform: scale(1.1);
}

.location-section {
    margin: 50px 0;
    text-align: center;
    animation: slideInRight 1s ease-out 0.7s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.location-label {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.location-name {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    transition: all 0.3s ease;
    display: inline-block;
}

.location-name:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.location-address {
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Buttons */
.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 50px 0 30px 0;
    flex-wrap: wrap;
    animation: fadeIn 1.2s ease-out 1s both;
}

.btn {
    padding: 18px 50px;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    border: 3px solid #FFFFFF;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.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 ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-yes {
    background: #FFFFFF;
    color: #000000;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

.btn-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-no {
    background: transparent;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-no.shrink {
    padding: 12px 35px;
    font-size: 1rem;
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.btn-no.move {
    animation: dodge 0.5s ease;
}

@keyframes dodge {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20px, -10px);
    }

    50% {
        transform: translate(-20px, 10px);
    }

    75% {
        transform: translate(15px, 5px);
    }
}

/* Footer Notes */
.footer-notes {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.8;
    animation: fadeIn 1.5s ease-out 1.2s both;
}

.footer-notes p {
    margin: 5px 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(10px);
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border: 3px solid #FFFFFF;
    padding: 50px 40px;
    max-width: 550px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.5s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #FFFFFF;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: #FF6B6B;
}

.modal h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 35px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 2px;
    animation: fadeIn 0.6s ease 0.2s both;
}

.form-group {
    margin-bottom: 25px;
    animation: slideInLeft 0.5s ease both;
}

.form-group:nth-child(1) {
    animation-delay: 0.3s;
}

.form-group:nth-child(2) {
    animation-delay: 0.4s;
}

.form-group:nth-child(3) {
    animation-delay: 0.5s;
}

.form-group label {
    display: block;
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background: #1a1a1a;
    color: #FFFFFF;
}

.optional {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.6;
    font-style: italic;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #FFFFFF;
    color: #000000;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease 0.6s both;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::after {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.submit-btn:disabled {
    background: #666;
    color: #ccc;
    cursor: not-allowed;
    animation: none;
}

.success-message {
    display: none;
    text-align: center;
    color: #FFFFFF;
}

.success-message.active {
    display: block;
    animation: successPop 0.6s ease;
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.success-message h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.success-message p {
    font-size: 1.3rem;
    line-height: 1.8;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: rotate360 1s ease infinite;
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .name {
        font-size: 2.2rem;
    }

    .detail-item {
        font-size: 1.4rem;
    }

    .detail-value {
        font-size: 1.6rem;
    }

    .location-name {
        font-size: 1.8rem;
    }

    .divider {
        display: none;
    }

    .detail-row {
        flex-direction: column;
        gap: 20px;
    }

    .btn {
        padding: 15px 40px;
        font-size: 1rem;
    }

    .modal-content {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .name {
        font-size: 1.8rem;
    }

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

    .btn {
        width: 100%;
    }

    .location-name {
        font-size: 1.5rem;
    }
}