:root {
    --primary-red: #ff0033;
    --dark-bg: #050505;
    --darker-bg: #000000;
    --white: #ffffff;
    --gray: #cccccc;
    --transition: all 0.5s ease-in-out;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-red);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 15px;
    text-decoration: none;
    font-weight: 900;
    border-radius: 4px;
    transition: 0.3s;
}

.nav-btn:hover {
    box-shadow: 0 0 15px var(--primary-red);
    transform: scale(1.05);
    animation: pulse 1.5s infinite;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 60px;
    background: url('e7dd4c4c2b6fdaa403f290146b308242.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), var(--dark-bg));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.highlight {
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
}

/* Pulse Button */
.cta-main-btn,
.pulse-btn {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 900;
    border: none;
    padding: 20px 40px;
    font-size: 1.4rem;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.7);
    animation: pulse 2s infinite;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 20px;
}

.cta-main-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 0, 51, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255, 0, 51, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 51, 0);
    }
}

/* Card Deck */
.card-deck-container {
    perspective: 1000px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.card-deck {
    position: relative;
    width: 250px;
    height: 350px;
    transform-style: preserve-3d;
}

.card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #222;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translate3d(0, 0, -200px);
    border: 1px solid #333;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card States */
.card.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.1);
    z-index: 10;
    border-color: var(--primary-red);
    box-shadow: 0 20px 50px rgba(255, 0, 51, 0.3);
}

.card.prev {
    opacity: 0.6;
    transform: translate3d(-100%, 0, -100px) rotateY(15deg);
    z-index: 5;
}

.card.next {
    opacity: 0.6;
    transform: translate3d(100%, 0, -100px) rotateY(-15deg);
    z-index: 5;
}

.card.prev-2,
.card.next-2 {
    opacity: 0.3;
    z-index: 2;
}

.card.prev-2 {
    transform: translate3d(-150%, 0, -200px) rotateY(25deg);
}

.card.next-2 {
    transform: translate3d(150%, 0, -200px) rotateY(-25deg);
}


/* Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.control-btn {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.1);
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    background: #000;
    border-top: 1px solid #222;
    font-size: 0.8rem;
    color: #666;
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .card-deck {
        width: 220px;
        height: 300px;
    }

    .hero {
        padding-top: 80px;
    }
}