@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;600&display=swap');

:root {
    --color-bg: #FCe9e9;
    --color-primary: #C74d4d;
    --color-secondary: #8b1e1e;
    --color-text: #511010;
    --font-main: 'Outfit', sans-serif;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    background: radial-gradient(circle at 20% 20%, var(--color-primary), transparent 40%),
        radial-gradient(circle at 80% 80%, var(--color-secondary), transparent 40%),
        radial-gradient(circle at 50% 50%, #fff, transparent 60%);
    animation: drift 20s infinite alternate ease-in-out;
}

@keyframes drift {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1) rotate(2deg);
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 10%;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container svg {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 2rem;
    font-weight: 300;
    /* Thin font */
    color: var(--color-text);
    letter-spacing: 1px;
}

.logo-text span {
    font-weight: 600;
    color: var(--color-primary);
}

/* Panel Button in Header */
.panel-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-primary);
    border-radius: 30px;
    text-decoration: none;
    color: var(--color-secondary);
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(139, 30, 30, 0.05);
}

.panel-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 30, 30, 0.15);
}

.panel-btn svg {
    transition: transform 0.3s ease;
}

.panel-btn:hover svg {
    stroke: white;
    transform: translateX(2px);
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

h1 {
    font-size: 4rem;
    font-weight: 200;
    /* Very light weight */
    color: var(--color-secondary);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

p.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto 50px auto;
    /* Centered with bottom margin */
    opacity: 0.9;
}

/* Keep Glass Panel for other uses but removed from button */
.glass-panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(139, 30, 30, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-weight: 300;
    font-size: 0.9rem;
    opacity: 0.7;
    z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    header {
        padding: 20px 5%;
    }

    main {
        padding: 0 15px;
    }
}