:root {
    --primary-color: #730707;
    --secondary-color: #a64446;
    --accent-color: #d4af37;
    /* Gold/Copper accent */
    --text-color: #ffffff;
    --bg-gradient: linear-gradient(135deg, #2c0505 0%, #000000 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --blur: 20px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    color: var(--text-color);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Prevent scrolling */
}

/* Background Animation */
body::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(166, 68, 70, 0.2) 0%, transparent 60%);
    animation: float 15s infinite ease-in-out;
    z-index: -1;
    top: -25%;
    left: -25%;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10%, 10%);
    }

    100% {
        transform: translate(0, 0);
    }
}

.container {
    width: 100%;
    max-width: 900px;
    /* Wider card for horizontal layout */
    padding: 20px;
    perspective: 1000px;
}

.card {
    display: flex;
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Gold border */
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(212, 175, 55, 0.15);
    /* Gold glow */
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    min-height: 400px;
    max-height: 90vh;
    /* Ensure it fits in viewport */
    max-width: 90vw;
    position: relative;
}

/* Gold Corner Accents */
.card::before,
.card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(20px);
}

.card::before {
    top: -50px;
    left: -50px;
}

.card::after {
    bottom: -50px;
    right: -50px;
}

/* Glassmorphism content */
.content-side {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

.image-side {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card:hover .image-side img {
    transform: scale(1.05);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
    opacity: 0;
    animation: slideUp 0.8s ease forwards 0.2s;
}

h1 span {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.button-group {
    opacity: 0;
    animation: slideUp 0.8s ease forwards 0.4s;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.4);
    /* Gold border on button */
    box-shadow: 0 4px 15px rgba(115, 7, 7, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    /* Gold shadow on hover */
    filter: brightness(1.1);
    border-color: rgba(212, 175, 55, 0.8);
}

.btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        flex-direction: column-reverse;
        /* Image on top */
        min-height: auto;
        height: auto;
        max-height: 85vh;
    }

    .image-side {
        height: 40%;
        flex: none;
    }

    .content-side {
        padding: 1.5rem;
        height: 60%;
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }
}