/* styles.css - The Wave Theme */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Cinzel:wght@400;600&display=swap');

:root {
    --bg: #050505;
    --bg-overlay: rgba(5, 5, 5, 0.85);
    --gold: #f0e6c3;
    --gold-light: #faf6e9;
    --gold-dim: #8b7355;
    --gold-dark: #4a3f2a;
    --gold-glow: rgba(240, 230, 195, 0.3);
    --frame: #2a2520;

    --font-mono: 'VT323', monospace;
    --font-serif: 'Playfair Display', serif;
    --font-display: 'Cinzel', serif;
}

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

body {
    background: var(--bg);
    color: var(--gold);
    font-family: var(--font-mono);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Image Layer */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(
        135deg,
        rgba(5, 5, 5, 0.9) 0%,
        rgba(5, 5, 5, 0.7) 50%,
        rgba(5, 5, 5, 0.9) 100%
    );
    backdrop-filter: blur(2px);
}

/* Noise Texture Overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Decorative Frame */
.frame-border {
    position: relative;
    border: 1px solid var(--gold-dark);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
}

.frame-border::before,
.frame-border::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--gold-dim);
}

.frame-border::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.frame-border::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.corner-decor {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--gold-dim);
}

.corner-decor.tr {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
}

.corner-decor.bl {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
}

/* Typography */
.title {
    font-family: var(--font-display);
    font-size: 3rem;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 20px var(--gold-glow);
    margin-bottom: 1rem;
}

.subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold-dim);
    font-size: 1.1rem;
    letter-spacing: 0.2rem;
}

.status-text {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    color: var(--gold-dim);
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--gold-glow); }
    50% { box-shadow: 0 0 20px var(--gold-glow), 0 0 40px var(--gold-glow); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Button/Link Style */
.wave-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--gold-dark);
    color: var(--gold);
    text-decoration: none;
    font-family: var(--font-mono);
    letter-spacing: 0.2rem;
    transition: all 0.3s ease;
    background: rgba(240, 230, 195, 0.05);
    position: relative;
    overflow: hidden;
}

.wave-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(240, 230, 195, 0.1),
        transparent
    );
    transition: left 0.5s;
}

.wave-btn:hover {
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.wave-btn:hover::before {
    left: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
        letter-spacing: 0.3rem;
    }

    .container {
        padding: 1rem;
    }
}
