@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&family=Montserrat:wght@200;300;400;500;600&display=swap');

:root {
    /* New Futuristic Palette based on input image */
    --bg-primary: #050a0a;
    --bg-secondary: #0b1a1a;
    --bg-card: rgba(10, 25, 25, 0.6);
    /* More transparent/glassy */
    --bg-overlay: rgba(0, 5, 5, 0.8);

    --text-primary: #f0fbfa;
    /* Softer white */
    --text-hl: #00ffaa;
    --text-secondary: #a7e0db;

    --accent-color: #00ffaa;
    --accent-secondary: #ff00cc;
    /* Neon Pink added */
    --accent-tertiary: #ff5c5c;
    /* Softer red */
    --accent-pink: #ff00cc;
    /* Specific pink variable */

    --glow-cyan: 0 0 15px rgba(0, 255, 170, 0.4), 0 0 30px rgba(0, 255, 170, 0.2);
    --glow-gold: 0 0 15px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    --glow-pink: 0 0 15px rgba(255, 0, 204, 0.4), 0 0 30px rgba(255, 0, 204, 0.2);
    /* Pink glow */
    --glow-red: 0 0 15px rgba(255, 92, 92, 0.4);

    /* UI Measurements */
    --header-height: 100px;
    --border-radius: 20px;
    /* Softer, organic curves */
    --container-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* Cleaner, elegant font */
    font-weight: 300;
    /* Lighter weight */
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    /* New User Provided Background */
    background-image:
        linear-gradient(rgba(5, 10, 10, 0.75), rgba(5, 10, 10, 0.9)),
        url("https://i.postimg.cc/VNWYx3kT/Gemini-Generated-Image-t7r7ott7r7ott7r7.png");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

/* Background Animated Grid */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 204, 0.03), rgba(0, 255, 170, 0.02), rgba(0, 0, 255, 0.03));
    /* Pink tint in grid */
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.15;
    animation: scanlines 10s linear infinite;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Jura', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Header HUD */
header {
    height: var(--header-height);
    background: rgba(5, 5, 16, 0.6);
    /* More transparent */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 0, 204, 0.2);
    /* Pink border accent */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 85px;
    /* Increased logo size */
    width: auto;
    filter: drop-shadow(0 0 8px var(--accent-pink));
    /* Pink glow */
}

.logo i {
    display: none;
    /* Hide old icon */
}

/* Navigation - HUD Buttons */
.nav-menu {
    display: flex;
    gap: 15px;
    list-style: none;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 25px;
    color: var(--text-secondary);
    position: relative;
    border-radius: 30px;
    /* Fully rounded/pill shape for feminine look */
    border: 1px solid rgba(0, 255, 170, 0.2);
    transition: all 0.3s ease;
    clip-path: none;
    /* Removed angular cut */
}

.nav-link:hover,
.nav-link.active {
    background: rgba(0, 255, 170, 0.1);
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.2);
}

.nav-link::before {
    display: none;
    /* Removing the double border effect */
}

/* Hero */
.hero {
    margin-top: var(--header-height);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
    position: relative;
    display: inline-block;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '//';
    color: var(--text-secondary);
    margin: 0 10px;
    font-weight: 900;
}

/* Grid & Cards */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 100px;
}

.video-card {
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 170, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: var(--border-radius);
    /* Rounded cards */
}

.video-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--glow-cyan);
    z-index: 10;
    border-color: var(--accent-color);
}

.video-card::before {
    display: none;
    /* Removing double border */
}

.card-thumbnail {
    position: relative;
    padding-top: 177.78%;
    /* 9:16 Story Format */
    background-size: cover;
    background-position: center;
    filter: sepia(20%) contrast(1.1);
    /* Warmer tone */
    transition: all 0.5s;
}

.video-card:hover .card-thumbnail {
    filter: sepia(0%) contrast(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 16, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
    backdrop-filter: blur(2px);
}

.video-card:hover .card-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 4rem;
    color: var(--accent-color);
    text-shadow: var(--glow-cyan);
    transform: scale(0.9);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card:hover .play-icon {
    transform: scale(1.1);
}

/* Badges & Content */
.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent-color);
    padding: 4px 12px;
    font-family: 'Jura';
    font-size: 0.8rem;
    border: 1px solid var(--accent-color);
    border-radius: 12px;
}

.card-content {
    padding: 25px;
    background: linear-gradient(180deg, rgba(20, 20, 40, 0) 0%, rgba(0, 255, 170, 0.05) 100%);
}

.card-category {
    color: var(--accent-secondary);
    font-family: 'Jura';
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    display: block;
    text-transform: uppercase;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #fff;
    min-height: 3.2rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.lock-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--accent-tertiary);
    color: var(--accent-tertiary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    /* Circle */
    box-shadow: 0 0 10px rgba(255, 92, 92, 0.2);
    backdrop-filter: blur(5px);
}

.video-card.unlocked .lock-icon {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.2);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(10, 15, 20, 0.95);
    width: 100%;
    max-width: 420px;
    padding: 45px;
    border: 1px solid rgba(0, 255, 170, 0.3);
    box-shadow: var(--glow-cyan);
    position: relative;
    border-radius: 30px;
    /* Very rounded modal */
    text-align: center;
}

.modal-content::before {
    content: "ACESSAR CONTEÚDO";
    /* Generic text */
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    font-family: 'Jura';
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    opacity: 0.5;
}

.lock-large-icon {
    font-size: 3rem;
    color: var(--accent-tertiary);
    margin-bottom: 25px;
    text-shadow: var(--glow-red);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.modal-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Jura';
}

.modal-subtitle {
    color: var(--text-secondary);
    font-family: 'Montserrat';
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.password-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: var(--accent-color);
    font-family: 'Jura';
    letter-spacing: 3px;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
}

.password-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

.btn-primary {
    width: 100%;
    padding: 16px;
    margin-top: 25px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #00cec9 100%);
    color: #000;
    border: none;
    font-family: 'Jura';
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 50px;
    /* Pill button */
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 255, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 170, 0.4);
    filter: brightness(1.1);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    position: absolute;
    top: 20px;
    right: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--accent-tertiary);
    transform: rotate(90deg);
}

.attempts-counter {
    margin-top: 20px;
    font-family: 'Montserrat';
    color: var(--accent-tertiary);
    font-size: 0.85rem;
}

/* PLAYER & CONTROLS */
.player-container {
    margin-top: var(--header-height);
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    padding: 40px 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border: 1px solid var(--accent-color);
    box-shadow: var(--glow-cyan);
    overflow: hidden;
    aspect-ratio: 16/9;
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.controls-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(5, 5, 16, 0.95));
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    /* Allow clicks to pass through to iframe */
}

.video-wrapper:hover .controls-overlay,
.video-wrapper.paused .controls-overlay {
    opacity: 1;
}

.progress-area {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    /* Enable clicks on progress bar */
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    position: relative;
    box-shadow: 0 0 10px var(--accent-color);
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 0;
    transform: translateY(-50%) rotate(45deg);
    /* Diamond shape */
    box-shadow: 0 0 10px #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.progress-area:hover .progress-bar::after {
    opacity: 1;
}

.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    pointer-events: auto;
    /* Enable clicks on buttons */
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.2s;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.control-btn:hover {
    color: var(--accent-color);
    text-shadow: var(--glow-cyan);
}

.time-display {
    font-size: 0.9rem;
    font-family: 'Orbitron', monospace;
    color: var(--accent-color);
}

/* Speed Menu */
.speed-menu {
    position: absolute;
    bottom: 40px;
    right: 0;
    background: rgba(10, 10, 25, 0.95);
    border: 1px solid var(--accent-color);
    padding: 5px 0;
    display: none;
    flex-direction: column;
    width: 80px;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}

.speed-menu.show {
    display: flex;
}

.speed-option {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px;
    cursor: pointer;
    font-family: 'Orbitron';
}

.speed-option:hover,
.speed-option.active {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-color);
}

/* Video Info Sidebar */
.video-info {
    background: rgba(10, 10, 25, 0.6);
    padding: 25px;
    border-left: 3px solid var(--accent-color);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 8px 15px;
    cursor: pointer;
    margin-right: 10px;
    transition: 0.3s;
    font-family: 'Rajdhani';
    font-weight: 600;
    text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.action-btn:hover,
.action-btn.active {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: var(--glow-cyan);
}

.sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.related-card {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.related-card:hover {
    border-color: rgba(0, 243, 255, 0.3);
    background: rgba(0, 243, 255, 0.05);
}

.related-thumb {
    width: 120px;
    height: 68px;
    background-size: cover;
    flex-shrink: 0;
    position: relative;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 0);
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
}

.toast {
    background: #050510;
    border: 1px solid;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 300px;
    font-family: 'Orbitron';
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    border-color: var(--accent-tertiary);
    color: var(--accent-tertiary);
    box-shadow: var(--glow-red);
}

.toast.success {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: var(--glow-cyan);
}

@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .player-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Password Toggle Icon */
.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
    font-size: 1.1rem;
    padding: 5px;
}

.password-toggle-icon:hover {
    color: var(--accent-pink);
    text-shadow: 0 0 8px var(--accent-pink);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 18px;
    /* Adjusted size */
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
    padding: 12px 25px;
    /* Added padding */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
}

.whatsapp-float i {
    font-size: 24px;
    margin-right: 10px;
}

.whatsapp-float span {
    display: inline-block;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.8);
    background-color: #20BA5C;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer Styles */
.main-footer {
    background: rgba(5, 5, 16, 0.9);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 100;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-info h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-info p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}