/* ============================================
   GOPLAY - Premium Entertainment Website Styles
   Modern Dark Theme with Red & Gold Accents
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* Colors - Entertainment Theme */
    --primary: #e50914;
    /* Netflix Red */
    --primary-dark: #b20710;
    --primary-light: #ff2d2d;
    --accent: #f5c518;
    /* IMDb Gold */
    --accent-dark: #c9a40e;

    --secondary: #6366f1;
    --secondary-dark: #4f46e5;

    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 30, 0.8);
    --bg-card-hover: rgba(30, 30, 45, 0.9);

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-dark));
    --gradient-hero: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 1) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(229, 9, 20, 0.3);
    --shadow-glow-accent: 0 0 40px rgba(245, 197, 24, 0.3);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    text-transform: none;
}

.btn i {
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-hover);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ===== Typography ===== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* ===== Netflix-Style Navbar ===== */
.navbar.netflix-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    backdrop-filter: blur(10px);
    border-bottom: none;
    transition: background 0.3s ease;
}

.navbar.netflix-nav.scrolled {
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    padding: 12px 4%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
}

.logo-icon {
    color: var(--primary);
    font-size: 28px;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

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

/* Netflix-style Buttons */
.btn-netflix-primary {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-netflix-primary:hover {
    background: var(--primary-dark);
}

.btn-netflix-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-netflix-secondary:hover {
    border-color: var(--text-primary);
}

/* Netflix-style Profile Dropdown */
.profile-dropdown {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.profile-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-trigger .profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-trigger i {
    color: var(--text-primary);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.profile-trigger .profile-caret {
    width: 16px;
    height: 16px;
    fill: var(--text-primary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.profile-dropdown:hover .profile-trigger i,
.profile-dropdown:hover .profile-trigger .profile-caret {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.profile-dropdown:hover .profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
}

.profile-menu-header img {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
}

.profile-menu-header span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.profile-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.profile-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.profile-menu-item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.profile-menu-item.logout {
    color: var(--primary);
}

.profile-menu-item.logout:hover {
    color: var(--primary-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Legacy navbar support */
.navbar:not(.netflix-nav) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar:not(.netflix-nav) .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== Flash Messages ===== */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flash-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

.flash-success {
    border-left-color: #10b981;
}

.flash-error {
    border-left-color: #ef4444;
}

.flash-warning {
    border-left-color: #f59e0b;
}

.flash-info {
    border-left-color: #3b82f6;
}

.flash-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: auto;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100px);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    position: relative;
    width: 400px;
    height: 300px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.screen-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ===== Sections ===== */
.section {
    padding: var(--section-padding) 0;
}

.dark-section {
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--bg-dark);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===== Content Categories ===== */
.content-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.content-category {
    padding: 35px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.content-category:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
}

.content-category h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.content-category p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== Packages ===== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.package-card {
    position: relative;
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.package-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.package-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, var(--bg-card) 50%);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
}

.package-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.package-type {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.package-name {
    font-size: 28px;
    font-weight: 800;
    margin-top: 5px;
}

.package-features {
    margin-bottom: 25px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 15px;
}

.package-features li i {
    color: var(--primary);
    font-size: 14px;
}

.package-features li i.fa-gift {
    color: #10b981;
}

/* ===== How It Works ===== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--bg-dark);
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== Testimonials ===== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.testimonial-quote {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 20px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
}

.author-info span {
    color: var(--text-muted);
    font-size: 13px;
}

/* ===== Devices ===== */
.devices-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.device-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.device-item i {
    font-size: 36px;
    color: var(--primary);
}

.device-item span {
    font-size: 14px;
    font-weight: 500;
}

.app-download {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-fast);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.social-link.whatsapp:hover {
    border-color: #25d366;
    color: #25d366;
}

.social-link.telegram:hover {
    border-color: #0088cc;
    color: #0088cc;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== Page Headers ===== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, transparent 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ===== Login Page ===== */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-secondary);
}

.login-footer {
    margin-top: 25px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.login-footer a {
    color: var(--primary);
    font-weight: 500;
}

/* ===== Profile Page ===== */
.profile-section {
    padding: 120px 0 80px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.profile-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: fit-content;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--bg-dark);
}

.profile-name {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-status {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.profile-menu {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.profile-menu-item:hover,
.profile-menu-item.active {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
}

.profile-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.profile-content h3 {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    padding: 20px;
    background: var(--bg-darker);
    border-radius: var(--radius-md);
}

.info-item label {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 5px;
}

.info-item span {
    font-size: 16px;
    font-weight: 600;
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Installation Categories ===== */
.install-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.install-card {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.install-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.install-card i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.install-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.install-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

/* ===== Error Pages ===== */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
}

.error-code {
    font-size: 120px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.error-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.error-section p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .devices-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .install-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        transform: translateX(-100%);
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile navbar alignment fix */
    .navbar.netflix-nav .nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 16px !important;
        height: 56px !important;
    }

    .navbar.netflix-nav .nav-left,
    .navbar.netflix-nav .nav-right {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
    }

    .navbar.netflix-nav .nav-right {
        gap: 12px !important;
    }

    .navbar.netflix-nav .logo {
        display: flex !important;
        align-items: center !important;
        font-size: 20px !important;
        height: 100% !important;
    }

    /* Mobile auth buttons - same size and alignment */
    .navbar.netflix-nav .btn-netflix-primary,
    .navbar.netflix-nav .btn-netflix-secondary {
        padding: 6px 10px !important;
        font-size: 11px !important;
        min-height: 28px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .navbar.netflix-nav .profile-dropdown {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
    }

    .navbar.netflix-nav .profile-trigger {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .navbar.netflix-nav .profile-trigger .profile-avatar {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }

    .navbar.netflix-nav .profile-trigger .profile-caret {
        display: block !important;
        width: 16px !important;
        height: 16px !important;
        fill: rgba(255, 255, 255, 0.7) !important;
    }

    .navbar.netflix-nav .mobile-menu-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        width: 40px !important;
        height: 40px !important;
    }

    .navbar.netflix-nav .mobile-menu-btn i {
        font-size: 26px !important;
        color: #fff !important;
    }

    /* Mobile slider buttons - smaller size, side by side */
    .hero-slide-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .hero-slide-buttons .btn {
        padding: 8px 12px !important;
        font-size: 11px !important;
        min-height: auto !important;
        white-space: nowrap !important;
    }

    .hero-slide-buttons .btn i {
        font-size: 12px !important;
        margin-right: 4px !important;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .content-categories,
    .steps-container,
    .install-categories {
        grid-template-columns: 1fr;
    }

    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .cta-buttons,
    .app-download {
        flex-direction: column;
        align-items: center;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        width: 45%;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .login-card {
        padding: 25px;
    }
}

/* ===== Content Slider (Movies/Series) ===== */
.content-slider-section {
    padding: 60px 0;
    overflow: hidden;
}

.content-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.content-slider-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.content-slider-header h2 i {
    color: var(--primary);
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-nav button {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-nav button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

.content-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.content-slider::-webkit-scrollbar {
    display: none;
}

.poster-card {
    flex: 0 0 calc((100% - 75px) / 6);
    min-width: 160px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

.poster-card:hover {
    transform: scale(1.08);
    z-index: 10;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.poster-card .poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.poster-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.poster-rating i {
    color: var(--accent);
}

.poster-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.poster-year {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== Top 10 Netflix Style Slider ===== */
.top-10-section {
    padding: 40px 0;
}

.top-10-slider {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.top-10-slider::-webkit-scrollbar {
    display: none;
}

.top-10-item {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    position: relative;
    transition: transform 0.3s ease;
}

.top-10-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.top-10-rank {
    font-size: 180px;
    font-weight: 900;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 4px #333;
    text-stroke: 4px #333;
    margin-right: -30px;
    z-index: 1;
    font-family: 'Arial Black', sans-serif;
    user-select: none;
}

.top-10-poster {
    position: relative;
    width: 130px;
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.top-10-poster img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}

.top-10-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.top-10-badge.tv {
    background: #3b82f6;
}

.top-10-rating {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.top-10-rating i {
    color: var(--accent);
    font-size: 10px;
}

/* Responsive Top 10 */
@media (max-width: 768px) {
    .top-10-rank {
        font-size: 120px;
        -webkit-text-stroke: 3px #333;
        margin-right: -20px;
    }

    .top-10-poster {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .top-10-rank {
        font-size: 90px;
        -webkit-text-stroke: 2px #333;
        margin-right: -15px;
    }

    .top-10-poster {
        width: 85px;
    }
}

/* Episode Badge for Recently Added */
.episode-badge {
    position: absolute;
    bottom: 70px;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.episode-card {
    display: block;
    color: inherit;
}

.episode-card:hover {
    text-decoration: none;
}

.poster-placeholder {
    width: 200px;
    height: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: var(--text-muted);
}

.poster-placeholder i {
    font-size: 40px;
}

/* ===== Package Toggle Switch ===== */
.package-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.package-toggle {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 5px;
}

.package-toggle button {
    padding: 12px 30px;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-toggle button.active {
    background: var(--gradient-primary);
    color: white;
}

.package-toggle button i {
    font-size: 14px;
}

/* Package Grid Hidden State */
.packages-section[data-active="1"] .package-2-user {
    display: none;
}

.packages-section[data-active="2"] .package-1-user {
    display: none;
}

/* ===== Floating Social Icons (3D Style) ===== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* 3D Effect */
    transform-style: preserve-3d;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 3px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1) rotateZ(-5deg);
}

.floating-btn:active {
    transform: translateY(-2px) scale(1.05);
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.floating-btn.whatsapp:hover {
    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.4),
        0 5px 10px rgba(37, 211, 102, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.floating-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.floating-btn.telegram:hover {
    box-shadow:
        0 10px 30px rgba(0, 136, 204, 0.4),
        0 5px 10px rgba(0, 136, 204, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Position classes for opposite corners */
.floating-btn.floating-right {
    right: 30px;
}

.floating-btn.floating-left {
    left: 30px;
}

/* Tooltip on hover - right side button */
.floating-btn.floating-right::after {
    content: attr(title);
    position: absolute;
    right: 75px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

/* Tooltip on hover - left side button */
.floating-btn.floating-left::after {
    content: attr(title);
    position: absolute;
    left: 75px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.floating-btn.floating-right:hover::after,
.floating-btn.floating-left:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ===== TMDB Rating Badge ===== */
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: var(--accent);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.rating-badge i {
    color: #000;
}

/* ===== Page Header ===== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.1) 0%, transparent 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== Entertainment Content Cards ===== */
.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.entertainment-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.entertainment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.entertainment-card:hover img {
    transform: scale(1.1);
}

.entertainment-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.entertainment-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.entertainment-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== No Content Placeholder ===== */
.no-content {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-content i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-content p {
    font-size: 16px;
}

/* ===== Responsive Adjustments for New Components ===== */
@media (max-width: 768px) {
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
    }

    .floating-btn.floating-right {
        right: 20px;
    }

    .floating-btn.floating-left {
        left: 20px;
    }

    .poster-card {
        flex: 0 0 calc((100% - 30px) / 3);
        min-width: 130px;
    }

    .package-toggle button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .entertainment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-slider-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .poster-card {
        flex: 0 0 calc((100% - 15px) / 2);
        min-width: 120px;
    }

    .package-toggle {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .package-toggle button {
        border-radius: var(--radius-sm);
    }
}

/* ===== Netflix-Style Hero Slider ===== */
.hero-slider {
    position: relative;
    width: 100vw;
    height: 95vh;
    min-height: 550px;
    max-height: 900px;
    overflow: hidden;
    margin-top: 0;
    margin-left: calc(-50vw + 50%);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(10, 10, 15, 0.95) 0%,
            rgba(10, 10, 15, 0.7) 40%,
            rgba(10, 10, 15, 0.3) 70%,
            rgba(10, 10, 15, 0.1) 100%);
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, var(--bg-dark));
}

.hero-slide-content {
    position: absolute;
    bottom: 15%;
    left: 5%;
    max-width: 600px;
    z-index: 2;
}

.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
}

.hero-slide-logo {
    max-width: 350px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.8));
}

.hero-slide-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-slide-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.hero-slide-rating .rating-badge {
    background: var(--accent);
    color: #000;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
}

.hero-slide-rating .rating-badge i {
    color: #000;
}

.hero-slide-year {
    color: var(--text-secondary);
    font-size: 14px;
}

.hero-slide-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-slide-buttons {
    display: flex;
    gap: 15px;
}

/* Slider Navigation Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Slider Arrow Navigation */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-nav:hover {
    background: var(--primary);
}

.hero-slider-nav.prev {
    left: 20px;
}

.hero-slider-nav.next {
    right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .hero-slide-content {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .hero-slide-logo {
        max-width: 200px;
        max-height: 80px;
        margin-bottom: 15px;
    }

    .hero-slide-title {
        font-size: 28px;
    }

    .hero-slide-desc {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .hero-slider-nav {
        display: none;
    }

    /* Login Page Mobile */
    .login-section {
        padding: 80px 15px 40px;
        min-height: auto;
    }

    .login-card {
        max-width: 100%;
        padding: 25px 20px;
        border-radius: var(--radius-md);
    }

    .login-header h2 {
        font-size: 22px;
    }

    .login-header .logo-text {
        font-size: 20px;
    }

    /* Profile Page Mobile */
    .profile-section {
        padding: 80px 15px 40px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile-sidebar {
        padding: 20px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .profile-name {
        font-size: 18px;
    }

    .profile-content {
        padding: 20px;
    }

    .profile-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }

    .profile-tab {
        padding: 8px 12px;
        font-size: 13px;
        flex: 1;
        min-width: 100px;
        text-align: center;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    /* Login Extra Small */
    .login-section {
        padding: 70px 10px 30px;
    }

    .login-card {
        padding: 20px 15px;
    }

    .login-header h2 {
        font-size: 20px;
    }

    .form-input {
        padding: 12px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Profile Extra Small */
    .profile-section {
        padding: 70px 10px 30px;
    }

    .profile-sidebar,
    .profile-content {
        padding: 15px;
    }

    .profile-tab {
        padding: 6px 10px;
        font-size: 12px;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== PWA Install Banner ===== */
.pwa-install-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: slideUp 0.3s ease;
}

.pwa-install-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.pwa-banner-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--bg-dark);
}

.pwa-banner-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.pwa-banner-text p {
    font-size: 13px;
    color: var(--text-secondary);
}

.pwa-banner-actions {
    display: flex;
    gap: 10px;
}

.pwa-banner-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 14px;
}

.pwa-banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
}

/* ===== Profile Avatar Selection ===== */
.avatar-selection-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 450px;
    overflow-y: auto;
    padding: 10px;
    /* Custom themed scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-secondary);
}

.avatar-selection-grid::-webkit-scrollbar {
    width: 8px;
}

.avatar-selection-grid::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.avatar-selection-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), #b30000);
    border-radius: 4px;
}

.avatar-selection-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff1a1a, var(--primary));
}

/* Avatar Category */
.avatar-category {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.avatar-category-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding-left: 5px;
}

.avatar-category-header i {
    color: var(--primary);
    font-size: 16px;
}

/* Horizontal scroll container */
.avatar-category-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    /* Themed horizontal scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-secondary);
}

.avatar-category-scroll::-webkit-scrollbar {
    height: 6px;
}

.avatar-category-scroll::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.avatar-category-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary), #b30000);
    border-radius: 3px;
}

.avatar-category-items {
    display: flex;
    gap: 12px;
    padding: 5px;
}

.avatar-option {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 3px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
    background: var(--bg-secondary);
}

.avatar-option:hover {
    border-color: var(--primary);
    transform: scale(1.1);
}

.avatar-option.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.3);
}

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

@media (max-width: 768px) {
    .avatar-option {
        width: 60px;
        height: 60px;
    }

    .avatar-category-header {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .avatar-option {
        width: 55px;
        height: 55px;
    }
}

/* ===== Global Mobile Improvements ===== */

/* Touch-friendly minimum sizes */
.btn,
button,
a.btn {
    min-height: 44px;
}

/* Improved tap targets for mobile */
@media (max-width: 768px) {
    .btn {
        padding: 12px 20px;
    }

    .btn-sm {
        min-height: 40px;
        padding: 10px 16px;
    }

    /* Better readability on mobile */
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Improved section spacing */
    .section {
        padding: 60px 0;
    }

    /* Better container padding */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Page header improvements */
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    /* Tighter section spacing */
    .section {
        padding: 40px 0;
    }

    /* Container padding for small screens */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-header {
        padding: 90px 0 30px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    /* Section headers */
    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Footer improvements */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer h4 {
        font-size: 1rem;
    }

    /* Flash messages */
    .flash-messages {
        top: 70px;
        left: 12px;
        right: 12px;
    }

    .flash-message {
        padding: 12px 14px;
        font-size: 13px;
    }

    /* Floating buttons adjustment */
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .floating-btn.floating-left {
        left: 12px;
        bottom: 80px;
    }

    .floating-btn.floating-right {
        right: 12px;
        bottom: 16px;
    }
}