* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E50914;
    --secondary-color: #FF0066;
    --vip-color: #FFD700;
    --dark-bg: #000000;
    --dark-bg-secondary: #141414;
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --text-light: #fff;
    --netflix-red: #E50914;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: transparent;
    color: var(--text-light);
    padding: 1rem 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.3s;
}

.main-header.scrolled {
    background: var(--dark-bg);
    position: fixed;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.language-selector {
    position: relative;
}

.lang-form {
    margin: 0;
}

.lang-select {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.lang-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.lang-select option {
    background: var(--dark-bg);
    color: var(--text-light);
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-color);
}

.user-info {
    color: var(--text-light);
    margin: 0 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.user-info:hover {
    color: var(--primary-color);
}

.logout-link {
    color: var(--secondary-color) !important;
}

.logout-link:hover {
    color: #ff3388 !important;
}

/* Auth Pages */
.auth-page {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.auth-card {
    background: rgba(0,0,0,0.75);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.auth-card h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: rgba(0,0,0,0.5);
    color: var(--text-light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--netflix-red);
    background: rgba(0,0,0,0.7);
}

.auth-button {
    background: var(--netflix-red);
    color: var(--text-light);
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 0.5rem;
    width: 100%;
}

.auth-button:hover {
    background: #f40612;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-bg);
}

.auth-footer p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--netflix-red);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* Netflix Hero Section */
.netflix-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23000" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 8px solid #222;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 950px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-price {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.email-form {
    margin: 2rem 0;
}

.email-input-wrapper {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 0;
}

.email-input {
    flex: 1;
    padding: 20px 20px;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.5);
    color: var(--text-light);
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.email-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.email-input:focus {
    outline: none;
    border-color: var(--netflix-red);
    background: rgba(0,0,0,0.7);
}

.email-submit-btn {
    padding: 20px 40px;
    background: var(--netflix-red);
    color: var(--text-light);
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background 0.3s;
    white-space: nowrap;
}

.email-submit-btn:hover {
    background: #f40612;
}

.hero-note {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-top: 1rem;
}

/* Hero Section (old style for other pages) */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--netflix-red);
    color: var(--text-light);
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #f40612;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--dark-bg);
    border-top: 8px solid #222;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: transparent;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

/* Trending Content Section (Netflix Style) */
.trending-section {
    padding: 40px 0;
    background: var(--dark-bg);
    border-top: 8px solid #222;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding: 0 20px;
}

.content-carousel {
    position: relative;
    padding: 0 20px;
}

.carousel-wrapper {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.content-card {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    min-width: 200px;
    cursor: pointer;
    transition: transform 0.3s;
}

.content-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

.card-number {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    border-top-right-radius: 4px;
}

.card-image {
    width: 100%;
    height: 300px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    padding-left: 50px;
    padding-bottom: 15px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 50px;
    height: 300px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: background 0.3s;
    border-radius: 4px 0 0 4px;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.carousel-arrow-left {
    left: 0;
    right: auto;
    border-radius: 0 4px 4px 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.plan-card {
    background: var(--dark-bg-secondary);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: #555;
}

.plan-card.vip {
    border: 2px solid var(--netflix-red);
    transform: scale(1.05);
}

.plan-card.vip:hover {
    transform: scale(1.08) translateY(-5px);
    border-color: var(--netflix-red);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.plan-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--netflix-red);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    font-weight: normal;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.plan-button {
    display: block;
    text-align: center;
    background: var(--netflix-red);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.plan-button:hover {
    background: #f40612;
}

.vip-button {
    background: var(--netflix-red);
    color: var(--text-light);
}

.vip-button:hover {
    background: #f40612;
    color: var(--text-light);
}

/* Plans Page */
.plans-page {
    padding: 60px 0;
    min-height: 80vh;
    background: var(--dark-bg);
}

.plans-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.page-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
}

.plans-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card.featured {
    border: 3px solid var(--vip-color);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-bg);
}

.plan-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    min-height: 250px;
}

.plan-features li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    color: rgba(255,255,255,0.8);
}

.plan-cta-button {
    display: block;
    text-align: center;
    background: var(--netflix-red);
    color: var(--text-light);
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s;
    margin-bottom: 1rem;
}

.plan-cta-button:hover {
    background: #f40612;
}

.plan-note {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

/* Success Page */
.success-page {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--dark-bg);
}

.success-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
    font-weight: bold;
}

.success-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.success-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.next-steps {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
    border: 1px solid #333;
}

.next-steps h2 {
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-light);
}

.next-steps ol {
    margin-left: 1.5rem;
}

.next-steps li {
    margin: 0.8rem 0;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.discord-button {
    display: inline-block;
    background: var(--netflix-red);
    color: var(--text-light);
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s;
    margin-top: 1rem;
}

.discord-button:hover {
    background: #f40612;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--dark-bg);
    border-top: 8px solid #222;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 815px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 0.5rem;
    background: var(--dark-bg-secondary);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--dark-bg-secondary);
    border: none;
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #2a2a2a;
}

.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--dark-bg-secondary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    padding-top: 0;
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0;
}

/* Profile Page */
.profile-page {
    padding: 60px 0;
    min-height: 80vh;
    background: var(--dark-bg);
}

.profile-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-section {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.profile-section h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.info-card, .subscription-card, .password-card {
    background: transparent;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.info-value {
    color: var(--text-light);
    font-weight: 400;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.subscription-header h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-active {
    background: #4CAF50;
    color: var(--text-light);
}

.status-cancelled {
    background: #ff9800;
    color: var(--text-light);
}

.status-expired {
    background: #f44336;
    color: var(--text-light);
}

.subscription-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #333;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.detail-value {
    color: var(--text-light);
    font-weight: 400;
}

.no-subscription {
    text-align: center;
    padding: 2rem;
}

.no-subscription p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.subscribe-button {
    display: inline-block;
    background: var(--netflix-red);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.subscribe-button:hover {
    background: #f40612;
}

.cancel-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.cancel-button {
    background: #666;
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
    width: 100%;
}

.cancel-button:hover {
    background: #777;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.update-button {
    background: var(--netflix-red);
    color: var(--text-light);
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s;
    margin-top: 0.5rem;
}

.update-button:hover {
    background: #f40612;
}

/* Footer */
.main-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-price {
        font-size: 1.1rem;
    }
    
    .email-input-wrapper {
        flex-direction: column;
    }
    
    .email-input {
        border-radius: 4px;
        border-right: 1px solid rgba(255,255,255,0.3);
        margin-bottom: 1rem;
    }
    
    .email-submit-btn {
        border-radius: 4px;
        width: 100%;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .plans-grid,
    .plans-comparison {
        grid-template-columns: 1fr;
    }
    
    .plan-card.vip {
        transform: scale(1);
    }
    
    .plan-card.vip:hover {
        transform: translateY(-5px);
    }
    
    .header-right {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .language-selector {
        order: -1;
    }
    
    .lang-select {
        font-size: 0.85rem;
        padding: 6px 30px 6px 10px;
    }
    
    nav {
        gap: 1rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .success-content h1 {
        font-size: 2rem;
    }
}

