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

html {
    height: 100%;
}

body {
    background: #0a0a0a;
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

/* Animated golden lines background */
.lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.1), transparent);
    animation: moveLine 15s linear infinite;
}

.line:nth-child(1) {
    top: 10%;
    left: -100%;
    width: 200%;
    height: 1px;
    animation-delay: 0s;
}

.line:nth-child(2) {
    top: 30%;
    left: -100%;
    width: 200%;
    height: 1px;
    animation-delay: 3s;
}

.line:nth-child(3) {
    top: 50%;
    left: -100%;
    width: 200%;
    height: 1px;
    animation-delay: 6s;
}

.line:nth-child(4) {
    top: 70%;
    left: -100%;
    width: 200%;
    height: 1px;
    animation-delay: 9s;
}

.line:nth-child(5) {
    top: 90%;
    left: -100%;
    width: 200%;
    height: 1px;
    animation-delay: 12s;
}

@keyframes moveLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Radial golden rays from corners */
.rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.ray-corner {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(218, 165, 32, 0.03) 0%, transparent 70%);
}

.ray-corner.top-left {
    top: -250px;
    left: -250px;
}

.ray-corner.top-right {
    top: -250px;
    right: -250px;
}

.ray-corner.bottom-left {
    bottom: -250px;
    left: -250px;
}

.ray-corner.bottom-right {
    bottom: -250px;
    right: -250px;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
}

.logo {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 300;
    color: #DAA520;
    letter-spacing: clamp(4px, 1.5vw, 8px);
    margin-bottom: clamp(30px, 8vh, 60px);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
    white-space: nowrap;
    overflow: visible;
}

.slogan {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: #8B7355;
    letter-spacing: clamp(2px, 0.5vw, 3px);
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 2s ease-in 1s forwards;
    font-style: italic;
}

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

/* Decorative line under logo */
.decorative-line {
    width: clamp(80px, 20vw, 120px);
    height: 1px;
    background: linear-gradient(90deg, transparent, #DAA520, transparent);
    margin: clamp(20px, 5vh, 40px) auto;
    opacity: 0;
    animation: fadeIn 2s ease-in 1.5s forwards;
}

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

    .logo {
        white-space: normal;
        word-break: break-word;
    }

    .ray-corner {
        width: 300px;
        height: 300px;
    }

    .ray-corner.top-left,
    .ray-corner.top-right {
        top: -150px;
    }

    .ray-corner.top-left,
    .ray-corner.bottom-left {
        left: -150px;
    }

    .ray-corner.top-right,
    .ray-corner.bottom-right {
        right: -150px;
    }

    .ray-corner.bottom-left,
    .ray-corner.bottom-right {
        bottom: -150px;
    }
}

/* Extra small devices (phones in portrait, less than 400px) */
@media (max-width: 400px) {
    .content {
        width: 98%;
        padding: 15px;
    }

    .logo {
        white-space: normal;
    }
}
