* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Playfair Display", "Times New Roman", serif;
    background: #ffffff;
    color: #141414;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.content {
    text-align: center;
    max-width: 90vw;
    width: 100%;
    animation: fadeInUp 1.2s ease-out;
}

.site-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 100;
    color: #141414;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    position: relative;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.site-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #141414, transparent);
    animation: lineExpand 1.5s ease-out 0.5s both;
}

.video-container {
    margin: 2rem auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    width: 100%;
    max-width: min(600px, 90vw);
    animation: videoFadeIn 1.5s ease-out 0.3s both;
}

.play-button {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.2s ease;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.play-button:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid rgba(255, 255, 255, 0.9);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-left: 2px;
}

.video-container.playing .play-button {
    opacity: 0;
    pointer-events: none;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    border-radius: 4px;
    object-fit: contain;
}

.message {
    margin-top: 2rem;
    animation: textFadeIn 1.8s ease-out 0.6s both;
    max-width: min(600px, 90vw);
    margin-left: auto;
    margin-right: auto;
}

.main-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 5vw, 2.2rem);
    font-weight: 400;
    color: #141414;
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.9;
}

.description {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.8;
    color: #141414;
    margin-bottom: 1.5rem;
    font-weight: 300;
    padding: 0 1rem;
}

.closing {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #141414;
    font-weight: 300;
    line-height: 1.6;
    padding: 0 1rem;
}

/* Decorative Elements */
.decorative-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: min(300px, 30vw);
    height: min(300px, 30vw);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.circle-2 {
    width: min(200px, 25vw);
    height: min(200px, 25vw);
    top: 60%;
    right: -5%;
    animation-delay: 2s;
}

.circle-3 {
    width: min(150px, 20vw);
    height: min(150px, 20vw);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 20px rgba(255,255,255,0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(255,255,255,0.5), 0 0 40px rgba(255,255,255,0.2);
    }
}

@keyframes lineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

@keyframes videoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }
    
    .content {
        max-width: 95vw;
    }
    
    .video-container {
        margin: 1.5rem auto;
        border-radius: 4px;
        max-width: 95vw;
    }
    
    video {
        border-radius: 4px;
        max-height: 60vh;
    }
    
    .message {
        margin-top: 1.5rem;
        max-width: 95vw;
    }
    
    .site-title {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.25rem;
        align-items: flex-start;
        padding-top: 1rem;
    }
    
    .content {
        max-width: 98vw;
    }
    
    .site-title {
        margin-bottom: 1rem; /* Reduced margin */
    }
    
    .site-title::after {
        width: 40px;
    }
    
    .video-container {
        border-radius: 4px;
        max-width: 98vw;
        margin: 1rem auto;
    }
    
    video {
        border-radius: 4px;
        max-height: 50vh;
    }
    
    .message {
        max-width: 98vw;
        margin-top: 1rem; /* Reduced margin */
    }
    
    .description, .closing {
        padding: 0 0.5rem;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .container {
        align-items: flex-start;
        padding-top: 1rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    
    .video-container {
        max-width: 100vw;
        margin: 0.5rem auto;
    }
    
    video {
        max-height: 40vh;
    }
    
    .message {
        max-width: 100vw;
        margin-top: 0.5rem; /* Reduced margin */
    }
    
    .site-title {
        margin-bottom: 0.5rem; /* Further reduced margin */
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 1rem;
    }
    
    video {
        max-height: 35vh;
    }
    
    .site-title {
        font-size: clamp(1.5rem, 6vw, 3rem);
        margin-bottom: 0.5rem; /* Reduced margin */
    }
    
    .message {
        margin-top: 0.5rem; /* Reduced margin */
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #ffffff;
    }

    .site-title, .main-text, .description, .closing {
        color: #141414;
    }
}