/* Invitation Design - Built from Figma */

@font-face {
    font-family: 'Circular Pro';
    src: url('../../fonts/CircularPro-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Circular Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffd633;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}


.invitation-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.invitation-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    background: #ffd633;
    overflow: hidden;
    transform: translate(-50%, -50%) scale(1.75);
    transform-origin: center;
}

/* Event Details */
.event-details {
    position: absolute;
    left: 71px;
    top: 315px;
    width: 94px;
    height: 43px;
    display: flex;
    flex-direction: column;
    gap: 0.5px;
    align-items: flex-end;
}

.date-text,
.time-text,
.location-text {
    font-family: 'Circular Pro', sans-serif;
    font-size: 10px;
    line-height: 14px;
    letter-spacing: -0.3px;
    color: rgba(0, 0, 0, 0.9);
    font-weight: 400;
}

.time-text {
    color: #000;
    font-weight: 500;
}

.date-line,
.time-line,
.location-line {
    white-space: nowrap;
    margin: 0;
}

/* Decorative Squares */
.square {
    position: absolute;
    width: 50px;
    height: 50px;
}

.bottom-square-1 {
    left: 181px;
    top: 311px;
    background: #f32d00;
}

.bottom-square-2 {
    left: 181px;
    top: 59px;
    background: #000;
}

/* Letter O's */
.letter-o {
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 53.5px;
    animation: colorBlink 4s ease-in-out infinite;
}

.first-o {
    left: 178px;
    top: 134px;
    background: #004afa;
    animation-delay: 0s;
}

.second-o {
    left: 247px;
    top: 132px;
    background: #38bc47;
    animation-delay: 2s;
}

/* Color blink animation for circles */
@keyframes colorBlink {
    0% {
        background: #004afa;
    }
    40% {
        background: #004afa;
    }
    50% {
        background: #38bc47;
    }
    90% {
        background: #38bc47;
    }
    100% {
        background: #004afa;
    }
}

/* Letter R */
.letter-r {
    position: absolute;
    left: 105px;
    top: 124px;
    width: 51px;
    height: 72px;
}

.letter-img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Letter F */
.letter-f {
    position: absolute;
    left: 325px;
    top: 124px;
    width: 45px;
    height: 72px;
}

/* Invitation Text */
.invitation-text {
    position: absolute;
    left: 247px;
    top: 70px;
    width: 124px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Circular Pro', sans-serif;
    font-size: 10px;
    line-height: 14px;
    letter-spacing: -0.3px;
    color: rgba(0, 0, 0, 0.9);
    font-weight: 400;
    animation: float 4s ease-in-out infinite;
}

.invitation-line {
    white-space: nowrap;
    margin: 0;
    text-align: left;
}

/* Decorative Vector Icons */
.vector-icon {
    position: absolute;
    animation: gentleMove 6s ease-in-out infinite;
}

.vector-img {
    width: 100%;
    height: 100%;
    display: block;
}

.vector-1 {
    left: 316px;
    top: 214px;
    width: 64px;
    height: 72px;
    animation-delay: 0s;
}

.vector-2 {
    left: 245px;
    top: 214px;
    width: 59px;
    height: 72px;
    animation-delay: 1s;
}

.vector-3 {
    left: 181px;
    top: 214px;
    width: 51px;
    height: 72px;
    animation-delay: 2s;
}

.vector-4 {
    left: 94px;
    top: 214px;
    width: 71px;
    height: 72px;
    animation-delay: 3s;
}

.vector-5 {
    left: 39px;
    top: 214px;
    width: 50px;
    height: 72px;
    animation-delay: 4s;
}

/* Small Vector Icon */
.small-vector {
    position: absolute;
    left: 49px;
    top: 149px;
    width: 21px;
    height: 22px;
}

.small-vector-img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .invitation-card {
        transform: translate(-50%, -50%) scale(1.386);
    }
}

@media (max-width: 480px) {
    .invitation-card {
        transform: translate(-50%, -50%) scale(1.26);
    }
}

@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .invitation-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    /* Disable animations for print */
    .letter-o,
    .invitation-text,
    .vector-icon {
        animation: none;
    }
}
