:root {
    --bg-dark: #1a1210;
    --bg-card: rgba(28, 22, 18, 0.85);
    --card-border: rgba(154, 63, 40, 0.3);
    --text-cream: #f3ece5;
    --text-muted: #a89585;
    --accent: #c4613e;
    --accent-glow: rgba(196, 97, 62, 0.4);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    background: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-cream);
}

#tennisCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8vh;
    pointer-events: none;
}

.content-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px 48px;
    max-width: 520px;
    width: 90%;
    pointer-events: auto;
    animation: cardEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(196, 97, 62, 0.05);
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.card-header h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-cream);
}

.dot {
    color: var(--accent);
}

.card-divider {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 20px 0;
    border-radius: 1px;
}

.card-message {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 300;
}

.card-message a {
    color: var(--text-cream);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.card-message a:hover {
    color: var(--accent);
    border-color: transparent;
}

.contact-row {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-cream);
    flex: 1;
}

.btn-primary:hover {
    background: #d4714e;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(168, 149, 133, 0.3);
}

.btn-ghost:hover {
    color: var(--text-cream);
    border-color: var(--text-cream);
}

.btn:active {
    transform: scale(0.97);
}

.contact-intro {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.btn-contact {
    flex: 2;
    cursor: pointer;
    border-color: rgba(168, 149, 133, 0.2);
}

.btn-copy {
    flex: 1;
    justify-content: center;
}

.site-footer {
    position: fixed;
    bottom: 24px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.8;
    z-index: 100;
}

@media (max-width: 600px) {
    .content-overlay {
        padding-top: 5vh;
    }

    .content-card {
        padding: 24px 20px;
        width: 94%;
        max-width: 400px;
    }

    .card-header h1 {
        font-size: 1.5rem;
    }

    .card-message {
        font-size: 13.5px;
    }

    .contact-row {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 14px;
    }

    .site-footer {
        font-size: 12px;
        bottom: 16px;
    }
}