:root {
    --primary-rgb: 6, 30, 44;
    --primary-bg-color: rgb(var(--primary-rgb));
    --primary-bg-hover: rgba(var(--primary-rgb), 0.9);
    --dark-body: #0e1c24;
    --dark-border: #30314e;
    --transparent-primary: #6c5ffc;
    --transparent-theme: rgba(0, 0, 0, 0.2);
    --white: #ffffff;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--white);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(to bottom, #0b3c5d, #09203f, #061a2b);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: rgba(11, 60, 93, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 20px;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
    margin: 0 20px;
    display: flex;
}

.search-container input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-container #searchButton {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0 4px 4px 0;
    color: var(--white);
    cursor: pointer;
    padding: 0 15px;
    transition: background-color 0.3s ease;
}

.search-container #searchButton:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.search-container #searchButton i {
    font-size: 1.2rem;
}

.right-menu {
    display: flex;
    gap: 15px;
}

.right-menu-item {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Search Results Styles */
.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(11, 60, 93, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.search-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.search-item i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--transparent-primary);
}

.search-item-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.search-item-content {
    flex: 1;
}

.search-item-title {
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-item-title:hover {
    color: var(--transparent-primary);
}

.search-item-type {
    font-size: 0.8em;
    color: var(--gray);
}

.search-item-group {
    font-size: 0.8em;
    color: var(--gray);
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
}

.language-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(11, 60, 93, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 5px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.language-dropdown:hover .language-options {
    display: block;
}

.language-options a {
    display: block;
    padding: 5px 15px;
    color: var(--white);
    text-decoration: none;
}

.language-options a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    height: calc(100% - 60px);
    width: 60px;
    background-color: rgba(11, 60, 93, 0.6);
    transition: width 0.3s ease;
    z-index: 999;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

@media (min-width: 769px) {
    .sidebar:hover {
        width: 200px;
    }
}

.sidebar.open {
    width: 200px;
}

.sidebar-content {
    width: 200px;
}

.logo-container {
    padding: 20px 10px;
    text-align: center;
}

.sidebar-logo {
    max-width: 100%;
    height: auto;
    max-height: 40px;
}

.sidebar-content ul {
    list-style-type: none;
    padding: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 15px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-item i {
    width: 20px;
    margin-right: 15px;
    font-size: 1.2rem;
}

.sidebar-item span {
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (min-width: 769px) {
    .sidebar:hover .sidebar-item span {
        opacity: 1;
    }
}

.sidebar.open .sidebar-item span {
    opacity: 1;
}

/* Main Content Styles */
#main-content {
    margin-left: 60px;
    padding-top: 60px;
    transition: margin-left 0.3s ease;
}

@media (min-width: 769px) {
    .sidebar:hover + #main-content {
        margin-left: 200px;
    }
}

#main-content.sidebar-open {
    margin-left: 200px;
}

/* Stats Styles */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background-color: rgba(11, 60, 93, 0.6);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--transparent-primary);
}

.stat-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Plans Styles */
.plans-container {
    margin-top: 40px;
}

.plans-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.plan-card {
    background-color: rgba(11, 60, 93, 0.6);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.plan-card .price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.plan-card .price-per-credit {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.plan-card .credits {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.plan-card ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.plan-card ul li {
    margin-bottom: 5px;
}

/* Charge Account Styles */
.charge-account {
    background-color: rgba(11, 60, 93, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.charge-account h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.charge-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.charge-form input, .charge-form select {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.charge-form .slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.charge-form .slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

.charge-form .slider:hover {
    opacity: 1;
}

.charge-form .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--transparent-primary);
    cursor: pointer;
}

.charge-form .slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--transparent-primary);
    cursor: pointer;
}

.charge-form .total-price {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.btn {
    background-color: var(--transparent-primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-bg-hover);
}

/* Movie Groups Styles */
.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.group-card {
    background-color: rgba(11, 60, 93, 0.6);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.group-card:hover {
    transform: translateY(-5px);
    background-color: rgba(11, 60, 93, 0.8);
}

.group-card .group-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    max-height: 2.6em;
}

.group-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Movie Grid Styles */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.movie-card {
    background-color: rgba(11, 60, 93, 0.6);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
}

.movie-poster {
    width: 100%;
    height: 225px;
    object-fit: cover;
}

.movie-card h2 {
    font-size: 1rem;
    padding: 10px;
    text-align: center;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    background-color: rgba(11, 60, 93, 0.6);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pagination-link:hover {
    background-color: rgba(11, 60, 93, 0.8);
}

.pagination-link.active {
    background-color: var(--transparent-primary);
}

/* Series Grid Styles */
.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.series-card {
    background-color: rgba(11, 60, 93, 0.6);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.series-card:hover {
    transform: translateY(-5px);
}

.series-poster {
    width: 100%;
    height: 225px;
    object-fit: cover;
}

.series-title {
    font-size: 1rem;
    padding: 10px;
    text-align: center;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        width: 0;
    }

    .sidebar.open {
        width: 200px;
    }

    #main-content {
        margin-left: 0;
    }

    #main-content.sidebar-open {
        margin-left: 200px;
    }

    .header-content {
        padding: 0 10px;
    }

    .search-container {
        max-width: 100%;
        margin: 0 10px;
    }

    .right-menu {
        gap: 10px;
    }

    .right-menu-item span {
        display: none;
    }

    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .group-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .series-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 15px;
    }

    .stat-card h3 {
        font-size: 0.9rem;
    }

    .stat-card p {
        font-size: 1.2rem;
    }

    .plans-container h2 {
        font-size: 1.5rem;
    }

    .plan-card {
        padding: 15px;
    }

    .plan-card h3 {
        font-size: 1.2rem;
    }

    .plan-card .price {
        font-size: 1.5rem;
    }

    .charge-account h2 {
        font-size: 1.2rem;
    }

    .group-card {
        padding: 15px;
    }

    .group-card .group-title {
        font-size: 1rem;
    }

    .series-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .series-poster {
        height: 150px;
    }

    .series-title {
        font-size: 0.9rem;
    }
}

.reseller-section {
  margin-bottom: 2rem;
}

.reseller-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.reseller-section p {
  font-size: 1rem;
  color: var(--gray);
  max-width: 800px;
  margin: 0 auto 2rem;
}

@media (max-width: 768px) {
  .reseller-section h1 {
    font-size: 1.5rem;
  }

  .reseller-section p {
    font-size: 0.9rem;
  }
}

.plans-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.plan-card {
    background-color: rgba(11, 60, 93, 0.6);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.price-per-period {
    color: #a0aec0;
    margin-bottom: 1rem;
}

.plan-card ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.plan-card li {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 0.5rem;
}

.btn, .free-trial-btn {
    text-decoration: none;
}

.subscribe-btn {
    background-color: #6366F1;
    color: white;
}

.subscribe-btn:hover {
    background-color: #5558DD;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 24px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-btn i {
    margin-right: 8px;
}

.free-trial-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    margin: 3rem auto;
    padding: 2rem;
    background-color: rgba(0, 49, 82, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.free-trial-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.free-trial-period {
    font-size: 1rem;
    color: #a0aec0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.free-trial-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.free-trial-btn {
    background-color: #6366F1;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.free-trial-btn:hover {
    background-color: #5558DD;
    transform: translateY(-2px);
}

.free-trial-btn i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .free-trial-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .free-trial-btn, .whatsapp-btn {
        width: 100%;
    }
}
