:root {
    --color-dark: #0a0e27;
    --color-darker: #050813;
    --color-cactus: #2ecb71;
    --color-orange: #ff6b35;
    --color-light: #e8e8e8;
    --color-gray: #999999;
    --color-border: #1a1f3a;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* ==================== CACTUS MENU (GTA-V STYLE) ==================== */
.cactus-menu-modal {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.75), rgba(4,6,12,0.85));
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
}

.cactus-menu-content {
    width: 92%;
    max-width: 1100px;
    background: linear-gradient(135deg, #07102a 0%, #0b1224 100%);
    border: 2px solid rgba(46,203,113,0.18);
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(46,203,113,0.08) inset;
    border-radius: 12px;
    padding: 18px;
    color: var(--color-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cactus-menu-close {
    position: absolute;
    right: 14px;
    top: 10px;
    background: transparent;
    border: none;
    color: var(--color-light);
    font-size: 1.6rem;
    cursor: pointer;
}

.cactus-menu-header h2 {
    margin: 6px 0 0 6px;
    color: var(--color-cactus);
    font-family: var(--font-display);
    letter-spacing: 3px;
}

.cactus-menu-header .subtitle {
    margin: 0 0 8px 6px;
    color: var(--color-gray);
    font-size: 0.95rem;
}

.cactus-menu-body {
    display: flex;
    gap: 18px;
    margin-top: 12px;
}

.left-panel {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.big-cover {
    height: 180px;
    background: linear-gradient(135deg, rgba(46,203,113,0.06), rgba(255,107,53,0.02));
    border: 1px solid rgba(46,203,113,0.12);
    border-radius: 8px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:4rem;
}

.menu-options {
    display:flex;
    flex-direction:column;
    gap:8px;
}

.menu-btn {
    background: transparent;
    color: var(--color-light);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    font-weight:700;
    letter-spacing:1px;
    border-radius:6px;
    transition: all 0.18s ease;
}

.menu-btn.active, .menu-btn:hover {
    background: linear-gradient(90deg, rgba(46,203,113,0.12), rgba(46,203,113,0.06));
    color: var(--color-cactus);
    transform: translateX(4px);
}

.right-panel {
    flex:1;
    min-height: 220px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
    border-radius: 8px;
    padding: 18px;
    overflow:auto;
}

.cactus-menu-footer {
    display:flex;
    gap:12px;
    justify-content:flex-end;
    margin-top:12px;
}

.screenshot-grid { display:flex; gap:8px; }
.screenshot img { width:200px; height:120px; object-fit:cover; border-radius:6px; }

@media (max-width: 900px) {
    .cactus-menu-body { flex-direction: column; }
    .left-panel { width: 100%; flex-direction:row; align-items:center; }
    .big-cover { height:100px; font-size:2.6rem; }
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-darker) 100%);
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--color-cactus);
    text-shadow: 0 0 20px rgba(46, 203, 113, 0.5);
    cursor: pointer;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-size: 0.95rem;
}

.logo-text small {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-orange);
}

.cactus-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(46, 203, 113, 0.4));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-cactus);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(46, 203, 113, 0.1);
    border: 1px solid var(--color-cactus);
    border-radius: 8px;
}

.user-badge span {
    color: var(--color-cactus);
    font-size: 0.9rem;
}

.logout-btn {
    background: none;
    border: 1px solid var(--color-cactus);
    color: var(--color-cactus);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.logout-btn:hover {
    background: var(--color-cactus);
    color: var(--color-dark);
}

/* ==================== MAIN CONTAINER ==================== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.page {
    display: none;
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out;
    padding: 4rem 2rem;
}

.page.active {
    display: block;
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 600px;
    margin-bottom: 4rem;
}

.hero-content {
    z-index: 2;
}

.title-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 900;
    color: var(--color-cactus);
    text-shadow: 
        0 0 20px rgba(46, 203, 113, 0.6),
        0 0 40px rgba(46, 203, 113, 0.3);
    letter-spacing: 8px;
    line-height: 1;
}

.voltage-lines {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 110%;
    height: 110%;
    border: 3px solid var(--color-orange);
    border-radius: 10px;
    animation: voltage 3s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes voltage {
    0%, 100% {
        box-shadow: 
            0 0 20px var(--color-orange),
            inset 0 0 20px rgba(255, 107, 53, 0.2);
    }
    50% {
        box-shadow: 
            0 0 40px var(--color-orange),
            inset 0 0 40px rgba(255, 107, 53, 0.4);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--color-orange);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    border: 2px solid transparent;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cactus) 0%, #23a057 100%);
    color: var(--color-dark);
    border-color: var(--color-cactus);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 203, 113, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-light);
    border-color: var(--color-light);
}

.btn-secondary:hover {
    background: var(--color-light);
    color: var(--color-dark);
}

.btn-outline {
    background: transparent;
    color: var(--color-cactus);
    border-color: var(--color-cactus);
}

.btn-outline:hover {
    background: var(--color-cactus);
    color: var(--color-dark);
}

.btn-full {
    width: 100%;
}

.release-status {
    text-align: left;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-orange) 0%, #e55426 100%);
    color: var(--color-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.release-status p {
    margin-top: 0.8rem;
    color: var(--color-gray);
    font-size: 0.95rem;
}

.steam-logo {
    color: var(--color-cactus);
    font-weight: 700;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.icon-item {
    font-size: 15rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 50px rgba(46, 203, 113, 0.4));
}

.icon-item:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(2deg);
    }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-cactus);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 20%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 80%;
    top: 30%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    left: 30%;
    bottom: 20%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    left: 70%;
    bottom: 10%;
    animation-delay: 1.5s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-cactus);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--color-orange);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ==================== TRAILER SECTION ==================== */
.trailer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--color-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.trailer-info {
    background: rgba(46, 203, 113, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.trailer-info h3 {
    color: var(--color-cactus);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.trailer-info p {
    color: var(--color-light);
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.8rem 0;
    color: var(--color-light);
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
}

.features-list li:last-child {
    border-bottom: none;
}

/* ==================== INFO CARDS ==================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: linear-gradient(135deg, rgba(46, 203, 113, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--color-cactus);
    box-shadow: 0 10px 30px rgba(46, 203, 113, 0.2);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--color-cactus);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.info-card p {
    color: var(--color-light);
}

/* ==================== DESCRIPTION SECTION ==================== */
.description-section {
    background: rgba(46, 203, 113, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-cactus);
    margin-bottom: 3rem;
}

.description-section h3 {
    color: var(--color-cactus);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.description-section h3:first-child {
    margin-top: 0;
}

.description-section p {
    color: var(--color-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-detailed {
    list-style: none;
    color: var(--color-light);
}

.features-detailed li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.features-detailed li:before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--color-cactus);
}

.features-detailed strong {
    color: var(--color-cactus);
}

/* ==================== SPECS SECTION ==================== */
.specs-section {
    background: rgba(255, 107, 53, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-orange);
}

.specs-section h3 {
    color: var(--color-orange);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.specs-grid div {
    background: rgba(26, 31, 58, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    color: var(--color-light);
}

.specs-grid strong {
    color: var(--color-orange);
    display: block;
    margin-bottom: 0.5rem;
}

/* ==================== COMMUNITY SECTION ==================== */
.community-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.community-card {
    background: linear-gradient(135deg, rgba(46, 203, 113, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition);
}

.community-card:hover {
    border-color: var(--color-cactus);
    box-shadow: 0 10px 30px rgba(46, 203, 113, 0.2);
    transform: translateY(-5px);
}

.community-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.community-card h3 {
    color: var(--color-cactus);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.community-card p {
    color: var(--color-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: rgba(26, 31, 58, 0.5);
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--color-border);
}

.stats-section h3 {
    color: var(--color-cactus);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(46, 203, 113, 0.1);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-cactus);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-light);
    font-size: 0.95rem;
}

/* ==================== AUTH SECTION ==================== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.auth-card {
    background: linear-gradient(135deg, rgba(46, 203, 113, 0.1) 0%, rgba(26, 31, 58, 0.8) 100%);
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-card h2 {
    color: var(--color-cactus);
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: 2rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--color-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.input-field {
    padding: 1rem;
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-field:focus {
    outline: none;
    border-color: var(--color-cactus);
    box-shadow: 0 0 10px rgba(46, 203, 113, 0.3);
}

.input-field::placeholder {
    color: var(--color-gray);
}

.form-toggle {
    text-align: center;
    color: var(--color-light);
    font-size: 0.9rem;
}

.form-toggle a {
    color: var(--color-cactus);
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition);
}

.form-toggle a:hover {
    color: var(--color-orange);
}

.divider {
    text-align: center;
    color: var(--color-gray);
    margin: 1.5rem 0;
    position: relative;
}

.divider:before,
.divider:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--color-border);
}

.divider:before {
    left: 0;
}

.divider:after {
    right: 0;
}

.auth-message {
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    margin-top: 1rem;
}

.auth-message.success {
    background: rgba(46, 203, 113, 0.2);
    border: 1px solid var(--color-cactus);
    color: var(--color-cactus);
}

.auth-message.error {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid var(--color-orange);
    color: var(--color-orange);
}

/* User Panel */
.user-panel {
    background: linear-gradient(135deg, rgba(46, 203, 113, 0.15) 0%, rgba(26, 31, 58, 0.8) 100%);
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--color-cactus);
    width: 100%;
    max-width: 400px;
}

.user-panel h2 {
    color: var(--color-cactus);
    margin-bottom: 2rem;
    text-align: center;
}

.user-info {
    background: rgba(26, 31, 58, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
}

.user-info p {
    margin: 0.8rem 0;
    color: var(--color-light);
}

.user-info strong {
    color: var(--color-cactus);
}

.status-badge {
    display: inline-block;
    background: var(--color-cactus);
    color: var(--color-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.exclusive-content {
    background: rgba(46, 203, 113, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-cactus);
    margin-bottom: 2rem;
}

.exclusive-content h3 {
    color: var(--color-cactus);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.exclusive-content p {
    color: var(--color-light);
    margin-bottom: 1rem;
}

.exclusive-content ul {
    list-style: none;
    color: var(--color-light);
}

.exclusive-content li {
    padding: 0.5rem 0;
    color: var(--color-cactus);
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--color-darker) 0%, var(--color-dark) 100%);
    border-top: 2px solid var(--color-border);
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.footer-section h4 {
    color: var(--color-cactus);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: block;
    margin: 0.5rem 0;
}

.footer-section a:hover {
    color: var(--color-cactus);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* ==================== HIGHLIGHTS SECTION ==================== */
.highlights-section {
    margin: 4rem 0;
}

.highlights-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-cactus);
    margin-bottom: 2rem;
    text-align: center;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(46, 203, 113, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    transition: var(--transition);
}

.highlight-card:hover {
    border-color: var(--color-cactus);
    box-shadow: 0 10px 40px rgba(46, 203, 113, 0.2);
    transform: translateY(-5px);
}

.highlight-image {
    font-size: 8rem;
    text-align: center;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(46, 203, 113, 0.3));
}

.highlight-card h3 {
    color: var(--color-cactus);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.highlight-meta {
    color: var(--color-orange);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.highlight-card p {
    color: var(--color-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-small {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
}

/* ==================== GAMES GRID ==================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.game-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6) 0%, rgba(46, 203, 113, 0.05) 100%);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.game-card:hover {
    border-color: var(--color-cactus);
    box-shadow: 0 15px 50px rgba(46, 203, 113, 0.3);
    transform: translateY(-8px);
}

.game-header {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    position: relative;
    overflow: hidden;
}

.game-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
}

.cactus-theme {
    background: linear-gradient(135deg, rgba(46, 203, 113, 0.2) 0%, rgba(46, 203, 113, 0.05) 100%);
    border-bottom: 3px solid var(--color-cactus);
}

.mystery-theme {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(138, 43, 226, 0.05) 100%);
    border-bottom: 3px solid #8a2be2;
}

.adventure-theme {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-bottom: 3px solid #ffa500;
}

.game-icon {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(46, 203, 113, 0.4));
}

.game-content {
    padding: 2rem;
}

.game-content h3 {
    color: var(--color-cactus);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.game-status {
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-soon {
    background: linear-gradient(135deg, var(--color-orange) 0%, #e55426 100%);
    color: var(--color-dark);
}

.badge-development {
    background: rgba(138, 43, 226, 0.3);
    color: #a855f7;
    border: 1px solid #8a2be2;
}

.badge-coming {
    background: rgba(255, 165, 0, 0.3);
    color: #fbbf24;
    border: 1px solid #ffa500;
}

.game-description {
    color: var(--color-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-details {
    background: rgba(26, 31, 58, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-cactus);
}

.detail-item {
    color: var(--color-light);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: var(--color-cactus);
    font-weight: 600;
}

/* ==================== COMICS GRID ==================== */
.comics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.comic-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6) 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.comic-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.3);
    transform: translateY(-8px);
}

.comic-cover {
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(46, 203, 113, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cover-icon {
    font-size: 7rem;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.4));
}

.comic-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-orange);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.comic-content {
    padding: 2rem;
}

.comic-content h3 {
    color: var(--color-cactus);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.comic-author {
    color: var(--color-orange);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.comic-description {
    color: var(--color-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.comic-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.detail-badge {
    background: rgba(46, 203, 113, 0.2);
    color: var(--color-cactus);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid var(--color-cactus);
}

.btn-text {
    display: inline-block;
    color: var(--color-cactus);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--color-orange);
    text-decoration: underline;
}

/* ==================== MOVIE GRID ==================== */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.movie-card {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(26, 31, 58, 0.9) 100%);
    border: 1px solid rgba(255, 107, 53, 0.25);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.movie-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.25);
    transform: translateY(-8px) scale(1.01);
}

.movie-cover {
    height: 260px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.25) 0%, rgba(46, 203, 113, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.movie-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 40%, rgba(46,203,113,0.08));
    pointer-events: none;
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: saturate(0.9) contrast(1.05);
}

.movie-card:hover .movie-cover img {
    transform: scale(1.08);
    filter: saturate(1.05) contrast(1.12);
}

.movie-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

.cover-icon {
    font-size: 7rem;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.4));
    z-index: 1;
}

.movie-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 107, 53, 0.95);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.movie-content {
    padding: 1.8rem;
}

.movie-content h3 {
    color: var(--color-cactus);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.movie-author {
    color: var(--color-orange);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.movie-description {
    color: var(--color-light);
    margin-bottom: 1.4rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.movie-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.3rem;
}

.detail-badge {
    background: rgba(46, 203, 113, 0.16);
    color: var(--color-cactus);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    border: 1px solid rgba(46, 203, 113, 0.35);
}

.btn-text {
    display: inline-block;
    color: var(--color-cactus);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--color-orange);
    text-decoration: underline;
}

/* ==================== MOVIE PLAYER MODAL ==================== */
.movie-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 19, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2000;
}

.movie-modal-content {
    position: relative;
    width: min(100%, 960px);
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98) 0%, rgba(26, 31, 58, 0.96) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.movie-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: rgba(255, 255, 255, 0.14);
    border: none;
    color: var(--color-light);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

.movie-modal-header {
    margin-bottom: 1rem;
    padding-right: 2.5rem;
}

.movie-modal-header h3 {
    color: var(--color-cactus);
    margin-bottom: 0.2rem;
}

.movie-modal-header p {
    color: var(--color-orange);
    font-size: 0.95rem;
}

.movie-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: #000;
}

@media (max-width: 768px) {
    .movie-modal {
        padding: 0.75rem;
    }

    .movie-modal-content {
        padding: 0.9rem;
    }
}

/* ==================== ABOUT SECTION ==================== */
.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    background: rgba(46, 203, 113, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-cactus);
    margin-bottom: 2rem;
}

.about-section h3 {
    color: var(--color-cactus);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-section p {
    color: var(--color-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ==================== PELÍCULAS: BANNER, CATEGORÍAS Y TARJETAS (ESPECÍFICO) ==================== */
.poster-banner {
    width: 100%;
    height: 200px;
    background: #a54aa7;
    border: 6px solid #0a0a0a;
    margin: 1.5rem 0 2.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.poster-rotator { width: 100%; height: 100%; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.poster-rotator img { width: 100%; height:100%; object-fit:cover; display:block; }

.category-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3.5rem;
}

.cat-btn {
    background: #ffffff;
    color: #0a0a0a;
    padding: 1.25rem 3.5rem;
    border-radius: 28px;
    border: 4px solid #0a0a0a;
    box-shadow: 0 6px 0 rgba(0,0,0,0.8);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.12s ease;
}

.cat-btn:hover { transform: translateY(-4px); }

.recent-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 2.5rem 0 1.25rem 1rem;
    color: var(--color-light);
}

/* Estilos específicos para el grid de la sección Películas (ID movieGrid) */
#movieGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding: 0 1rem 3rem 1rem;
    align-items: start;
}

#movieGrid .movie-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    padding: 0;
    box-shadow: none;
}

#movieGrid .movie-card { cursor: pointer; }

/* Poster ratio box */
#movieGrid .movie-cover {
    position: relative;
    width: 100%;
    padding-bottom: 70%; /* taller posters (~3:2) */
    overflow: hidden;
}

#movieGrid .movie-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#movieGrid .movie-content {
    background: transparent;
    color: #0a0a0a;
}

/* Ocultar descripción dentro del grid: mostrar solo poster */
#movieGrid .movie-description { display: none; }

@media (max-width: 1100px) {
    #movieGrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    #movieGrid { grid-template-columns: 1fr; }
    .category-buttons { gap: 1rem; flex-wrap: wrap; }
    .cat-btn { padding: 0.9rem 1.6rem; }
    .poster-banner { height: 140px; font-size: 1rem; }
}

/* Featured removed (no styles) */

/* Modal poster and actions */
.movie-modal-body { display: flex; gap: 1.25rem; align-items: flex-start; }
.movie-detail { display:flex; flex-direction:column; gap:1rem; align-items:center; }
.movie-modal-poster { width: 300px; height: 170px; object-fit:cover; border-radius:12px; border:1px solid var(--color-border); }
.movie-modal-actions { display:flex; gap:0.6rem; }
.movie-modal-actions .btn { padding:0.6rem 1rem; }
.movie-player-wrapper { flex:1; }

.movie-modal-badges { display:flex; gap:0.6rem; flex-wrap:wrap; margin-top:8px; }
.movie-modal-badges .detail-badge { background: rgba(0,0,0,0.45); color: var(--color-light); padding:0.4rem 0.7rem; border-radius:8px; border:1px solid rgba(255,255,255,0.04); }
.movie-modal-description { color: var(--color-light); margin-top: 12px; font-size: 0.98rem; line-height:1.6; }

/* Category menu */
.category-menu .cat-list { list-style:none; margin:0; padding:0; }
.category-menu .cat-list li { margin:0.25rem 0; }
.cat-list-btn { background:transparent; border:none; color:var(--color-light); cursor:pointer; padding:6px 10px; text-align:left; }
.cat-list-btn:hover { color:var(--color-cactus); }

@media (max-width:900px) {
    .movie-modal-body { flex-direction:column; }
    .movie-modal-poster { width:100%; height:auto; }
}

.about-section p:last-child {
    margin-bottom: 0;
}

.values-list {
    list-style: none;
    color: var(--color-light);
}

.values-list li {
    padding: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.values-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-cactus);
    font-weight: bold;
    font-size: 1.2rem;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list strong {
    color: var(--color-cactus);
}

/* ==================== TEAM SECTION ==================== */
.team-section {
    background: rgba(255, 107, 53, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-orange);
}

.team-section h3 {
    color: var(--color-orange);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.team-member {
    background: rgba(26, 31, 58, 0.5);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.team-member:hover {
    border-color: var(--color-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.member-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: var(--color-cactus);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--color-light);
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

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

    .cactus-large {
        font-size: 12rem;
    }

    .hero-visual {
        height: 300px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .trailer-container {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .auth-card,
    .user-panel {
        padding: 2rem;
    }

    .page {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .cactus-large {
        font-size: 8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
    /* ==================== MODAL LECTOR PDF ==================== */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.97);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    width: 100%;
    max-width: 1100px;
    background: #0a0e27;
    border: 3px solid var(--color-cactus);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(46, 203, 113, 0.5);
}

.modal-header {
    padding: 1rem 1.5rem;
    background: #050813;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
    margin: 0;
    color: var(--color-cactus);
}

.close-btn {
    background: none;
    border: none;
    color: #ff6b35;
    font-size: 2rem;
    cursor: pointer;
    padding: 0 10px;
}

.reader-notice {
    padding: 12px;
    background: linear-gradient(135deg, var(--color-cactus), #23a057);
    color: #000;
    text-align: center;
    font-weight: 600;
}

/* Responsive del modal */
@media (max-width: 768px) {
    .modal-content iframe {
        height: 85vh;
    }
}
/* ==================== MODAL LECTOR PDF ==================== */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.97);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    width: 100%;
    max-width: 1100px;
    background: #0a0e27;
    border: 3px solid var(--color-cactus);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(46, 203, 113, 0.5);
}

.modal-header {
    padding: 1rem 1.5rem;
    background: #050813;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
    margin: 0;
    color: var(--color-cactus);
}

.close-btn {
    background: none;
    border: none;
    color: #ff6b35;
    font-size: 2rem;
    cursor: pointer;
    padding: 0 10px;
}

.reader-notice {
    padding: 12px;
    background: linear-gradient(135deg, var(--color-cactus), #23a057);
    color: #000;
    text-align: center;
    font-weight: 600;
}
}
