@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@700&display=swap');

:root {
    --bg-dark: #050505;
    --bg-card: #121212;
    --accent-gold: #d4af37;
    --accent-gold-hover: #f1c40f;
    --accent-red: #8b0000;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

/* Background Ornament */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(139, 0, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header & Nav */
header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo span {
    color: var(--text-main);
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 4px;
    border-left: 2px solid var(--accent-red);
    padding-left: 15px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--accent-gold);
}

.lang-switcher {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--glass-border);
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.lang-switcher span {
    cursor: pointer;
    transition: var(--transition);
}

.lang-switcher span:hover,
.lang-switcher span.active {
    color: var(--accent-gold);
}

/* Hero Section (Gallery) */
.hero {
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Landing Page Hero */
.landing-hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Importante para el zoom */
    background: #000;
    margin: -40px -40px 60px -40px;
    padding: 40px;
    border-bottom: 2px solid var(--accent-gold);
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0.9)), url('james-bond-6-1.jpg');
    background-size: cover;
    background-position: center 20%;
    z-index: 1;
    animation: kenBurns 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gun Barrel Blood Effect */
.blood-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(139, 0, 0, 0.8) 0%,
            rgba(139, 0, 0, 0.6) 20%,
            rgba(139, 0, 0, 0.2) 50%,
            transparent 100%);
    z-index: 1.5;
    opacity: 0;
    transform: translateY(-100%);
    animation: bloodDrip 8s forwards 2.5s;
    pointer-events: none;
}

/* Simulación de chorretones con pseudoelementos */
.blood-overlay::before,
.blood-overlay::after {
    content: '';
    position: absolute;
    background: rgba(139, 0, 0, 0.8);
    width: 60px;
    height: 150%;
    top: 0;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.blood-overlay::before {
    left: 15%;
    width: 80px;
}

.blood-overlay::after {
    right: 25%;
    width: 50px;
}

@keyframes bloodDrip {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }

    20% {
        opacity: 0.8;
        transform: translateY(-60%);
    }

    100% {
        opacity: 0.4;
        transform: translateY(0%);
    }
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15) translateY(-2%);
    }
}

.landing-hero h1,
.landing-hero p,
.cta-box {
    position: relative;
    z-index: 2;
}

.landing-hero h1 {
    font-size: 7rem;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: fadeInSlideUp 1.2s forwards 0.5s;
}

.landing-hero p {
    opacity: 0;
    animation: fadeIn 1.5s forwards 1.2s;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cta-box {
    margin-top: 50px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.8s;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 18px 45px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-gold);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

/* Actors Preview - Light Table Style */
.actors-preview {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.actor-card {
    width: 160px;
    position: relative;
    transition: var(--transition);
    border: 4px solid #1a1a1a;
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.actor-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: grayscale(80%) brightness(0.7);
    transition: all 0.5s ease;
}

.actor-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 10px 5px;
    text-align: center;
    border-top: 1px solid var(--accent-gold);
    transform: translateY(100%);
    transition: var(--transition);
}

/* Light table glow effect */
.actor-card:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.actor-card:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.1);
}

.actor-card:hover .actor-name {
    transform: translateY(0);
}

/* Modern Social Section Improvement */
.modern-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 20px;
}

/* Filter Bar */
.filter-bar {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

/* Movie Grid */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 100px;
}

/* Movie Card - Historical Archive Style */
.movie-card {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.movie-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.movie-card .thumb-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
    position: relative;
    border-bottom: 3px solid #1a1a1a;
}

/* Mission Label */
.mission-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-red);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    z-index: 5;
    border-radius: 2px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.movie-card:hover .mission-tag {
    background: var(--accent-gold);
    color: #000;
}

/* Year Badge */
.movie-year {
    position: absolute;
    top: 15px;
    right: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    text-shadow: 0 2px 5px #000;
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.7;
}

.movie-card:hover img {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.movie-card:hover .card-overlay {
    opacity: 1;
}

.dossier-btn {
    background: var(--accent-gold);
    color: #000;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 2px;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: var(--transition);
}

.movie-card:hover .dossier-btn {
    transform: translateY(0);
}

.dossier-btn:hover {
    background: #fff;
    box-shadow: 0 0 15px var(--accent-gold);
}

.movie-info {
    padding: 15px;
    background: linear-gradient(to bottom, #1a1a1a, #111);
}

.movie-info h3 {
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-info p {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Story */
.section-story {
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--accent-gold);
}

.story-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}


/* Modal Player */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 1000px;
    background: #000;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    position: relative;
    padding-top: 56.25%;
    /* 16:9 */
}

.modal video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .section-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero h1,
    .landing-hero h1 {
        font-size: 3rem;
    }

    .filter-bar {
        flex-wrap: wrap;
        border-radius: 20px;
    }

    /* Hamburger Menu Button */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
        padding: 5px;
    }

    .hamburger span {
        width: 28px;
        height: 3px;
        background: var(--accent-gold);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Mobile Nav Panel */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 15px;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--accent-gold);
        overflow-y: auto;
    }

    nav.open {
        right: 0;
    }

    nav a {
        font-size: 1rem;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 15px;
        border-top: 1px solid var(--glass-border);
    }
}

/* Hide hamburger on desktop */
.hamburger {
    display: none;
}


/* Wikipedia Links Styles */
.actor-link {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.actor-link:hover {
    color: #fff;
    border-bottom: 1px solid var(--accent-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.actor-card a {
    text-decoration: none;
}

/* Format Badges */
.format-selector {
    margin-top: 10px;
}

.format-badge {
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    color: #fff;
}

.mkv-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 2px 5px rgba(46, 204, 113, 0.3);
}

.mkv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.5);
}

.mp4-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
}

.mp4-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.5);
}

.site-footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #e2e8f0;
    padding: 50px 20px 30px;
    margin-top: 60px;
    border-top: 5px solid #10b981;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.social-section {
    text-align: center;
    margin: 30px 0 50px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.social-section h3 {
    color: #10b981;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.modern-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: white;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.social-link:hover {
    transform: translateY(-10px) scale(1.15);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.facebook:hover {
    background: #1877f2;
}

.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.x-twitter:hover {
    background: #000000;
}

.youtube:hover {
    background: #ff0000;
}

.tiktok:hover {
    background: #000000;
}

.discord:hover {
    background: #5865f2;
}

.whatsapp:hover {
    background: #25d366;
}

.linkedin:hover {
    background: #0a66c2;
}

.github:hover {
    background: #171515;
}

.footer-bottom {
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 40px;
}

.footer-info a {
    color: #10b981;
    text-decoration: none;
}