/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-size: 16px;
}

input, textarea, select, button {
    font-size: 16px !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
}

.logo i {
    margin-right: 0.5rem;
}

.nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.nav-link.active,
.nav-link:hover {
    background: #e0e7ff;
    color: #4f46e5;
    font-weight: 600;
}



/* Hide admin elements on public pages only */
body:not([data-page="admin-login"]):not([data-page="admin-panel"]) [class*="admin"]:not(.admin-login-section):not(.admin-login-card):not(.admin-login-header):not(.admin-login-form),
body:not([data-page="admin-login"]):not([data-page="admin-panel"]) [id*="admin"]:not(#admin-login-form):not(#login-message),
body:not([data-page="admin-login"]):not([data-page="admin-panel"]) [href*="admin"]:not([href*="admin-login"]),
body:not([data-page="admin-login"]):not([data-page="admin-panel"]) [href*="Admin"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Main Content */
.main {
    flex: 1;
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 1.25rem 0;
    color: white;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Subscription page extra styles */
.status-banner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin: 1rem 0 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #b08900;
    border: 1px solid rgba(255, 193, 7, 0.35);
}
.status-active {
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.35);
    padding: 1rem;
}

/* Enhanced status banner for active subscriptions */
.status-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.status-icon i {
    font-size: 1.5rem;
    color: #2e7d32;
}

.status-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.status-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2e7d32;
}

.status-plan {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.status-time {
    font-size: 0.9rem;
    color: #2e7d32;
    font-weight: 600;
    background: rgba(76, 175, 80, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    display: inline-block;
    margin-top: 0.25rem;
}

.status-actions {
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Activation Section */
.activation-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.activation-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.activation-title i {
    color: #667eea;
    font-size: 1.3rem;
}

.activation-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.activation-form {
    margin-bottom: 1.5rem;
}

.activation-input-group {
    max-width: 600px;
    margin: 0 auto;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #667eea;
    font-size: 1.1rem;
    z-index: 2;
}

#activation-key {
    flex: 1;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    color: #333;
}

#activation-key::placeholder {
    color: #999;
    font-style: italic;
}

.activate-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.activate-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.activate-btn:active {
    transform: translateY(0);
}

.activate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.activation-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.activation-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #2e7d32;
}

.activation-message.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #c62828;
}

.activation-message.info {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    color: #1565c0;
}

.activation-help {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.help-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.help-item i {
    color: #667eea;
    font-size: 1.1rem;
}

.help-item span {
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Activation Key Info */
.activation-key-info {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.key-info-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #667eea 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1rem 0 2rem;
}
.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.feature-card i { font-size: 1.8rem; color: #667eea; margin-bottom: 0.5rem; }
.feature-card h4 { margin: 0.25rem 0 0.5rem; }
.feature-card p { color: #555; font-size: 0.95rem; }

.faq .faq-item { margin: 0.75rem 0; }
.faq .faq-item h4 { margin-bottom: 0.25rem; }

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 0.5rem;
    overflow-x: auto;
}
@media (max-width: 480px) {
  .hero-actions {
    gap: 0.3rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 0.25rem;
  }
  .hero-cta-giant {
    font-size: 1rem;
    padding: 0.6rem 0.7rem;
    min-width: 120px;
    white-space: nowrap;
  }
}

/* Giant hero CTA */
.hero-cta-giant {
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
    min-width: 140px;
    white-space: nowrap;
}

.hero-cta-giant i {
    font-size: 2.2rem;
}

.btn-secondary.hero-cta-giant {
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
    max-width: none;
}

/* Pricing Card */
.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    border: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card-popular {
    border: 2px solid #ff6b6b;
    transform: scale(1.05);
}

.pricing-card-popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* When badge is inside pricing-header (below price) */
.pricing-header .popular-badge {
    position: static;
    transform: none;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    color: #667eea;
    font-weight: 800;
}

.period {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.pricing-description {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.pricing-features {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.pricing-features p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (min-width: 1024px) {
    .hero-cta-giant {
        font-size: 2.5rem;
        padding: 1.25rem 2.5rem;
        border-radius: 60px;
        box-shadow: 0 18px 45px rgba(255, 107, 107, 0.5);
    }
    .hero {
        padding: 2rem 0;
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Pricing Section */
.pricing-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-section .pricing-grid {
    max-width: 600px;
    margin: 1rem auto;
    gap: 1rem;
}

.pricing-section .pricing-card {
    padding: 1rem;
    transform: none;
}

.pricing-section .pricing-card-popular {
    transform: none;
}

.pricing-section .pricing-card:hover {
    transform: translateY(-3px);
}

.pricing-section .pricing-card-popular:hover {
    transform: translateY(-3px);
}

.pricing-section .pricing-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.pricing-section .price {
    font-size: 2rem;
}

.pricing-section .currency {
    font-size: 1rem;
}

.pricing-section .period {
    font-size: 1rem;
}

.pricing-section .popular-badge {
    padding: 0.25rem 1rem;
    font-size: 0.7rem;
    top: -8px;
}

.pricing-cta {
    margin-top: 1.5rem;
}

/* Clickable Pricing Cards */
.pricing-card-clickable {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.pricing-card-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.pricing-card-clickable:active {
    transform: translateY(-2px);
}

.pricing-action {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.pricing-card-clickable:hover .pricing-action {
    opacity: 1;
}

.btn-text {
    font-weight: 600;
    color: #667eea;
}

.pricing-action i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.pricing-card-clickable:hover .pricing-action i {
    transform: translateX(5px);
}

/* Featured Mobile Money Payment Method */
.payment-method-featured {
    border: 3px solid #667eea !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15)) !important;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    position: relative;
}

.payment-method-featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

.featured-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.featured-badge i {
    font-size: 0.8rem;
    color: #ffd700;
}

.payment-method-featured .method-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.payment-method-featured .method-header > span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
}

.payment-method-featured .method-header i {
    font-size: 1.8rem;
    color: #667eea;
}

.payment-method-featured .mobile-icons {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
}

.payment-method-featured .mobile-provider {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    font-weight: 700;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 15px;
    min-height: 80px;
}

.provider-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mtn-provider {
    background: linear-gradient(135deg, #ffcc00, #ff9900) !important;
    color: #000 !important;
}

.airtel-provider {
    background: linear-gradient(135deg, #e60012, #ff4444) !important;
    color: white !important;
}

.mobile-provider span {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

/* Regular mobile providers (non-featured) */
.mobile-provider:not(.payment-method-featured .mobile-provider) {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.mobile-provider:not(.payment-method-featured .mobile-provider) .provider-logo {
    width: 18px;
    height: 18px;
}

/* Payment Progress Indicator */
.payment-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    background: #ddd;
    transition: all 0.3s ease;
}

.progress-step.completed .step-icon {
    background: #4caf50;
}

.progress-step.active .step-icon {
    background: #667eea;
}

.progress-step span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

.progress-step.completed span,
.progress-step.active span {
    color: #333;
}

.progress-line {
    height: 2px;
    background: #ddd;
    flex: 1;
    margin: 0 1rem;
    position: relative;
    top: -25px;
}

/* Payment Page Styles */
.payment-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 4rem 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 2rem auto;
    text-align: center;
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-header .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.payment-header .section-title i {
    color: #667eea;
}

.selected-plan {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.selected-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #ff6b6b);
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.plan-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.5rem;
}

.plan-description {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.plan-price-display {
    text-align: right;
}

.plan-price {
    color: #ff6b6b;
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.plan-period {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

.mobile-money-section {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-money-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-money-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.mobile-money-info h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.5rem;
}

.mobile-money-info p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.mobile-providers {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.mtn-section,
.airtel-section {
    flex: 1;
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mtn-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 193, 7, 0.1) 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.airtel-section {
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.05) 0%, rgba(230, 0, 0, 0.1) 100%);
    border: 1px solid rgba(230, 0, 0, 0.2);
}

.mtn-section h5,
.airtel-section h5 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mtn-section h5 {
    color: #ffc107;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.airtel-section h5 {
    color: #e60000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.mtn-logos,
.airtel-logos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.provider-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.provider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.mtn-logos .provider-item::before {
    background: #ffc107;
}

.airtel-logos .provider-item::before {
    background: #e60000;
}

.mtn-logos .provider-item:hover {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.airtel-logos .provider-item:hover {
    border-color: #e60000;
    background: rgba(230, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.3);
}

.provider-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 15px;
    background: white;
    padding: 0.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

/* Logo Placeholders */
.logo-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 15px;
    background: white;
    padding: 0.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mtn-logo {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.airtel-logo {
    background: linear-gradient(135deg, #e60000 0%, #cc0000 100%);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.provider-item:hover .logo-placeholder {
    transform: scale(1.1);
}

.provider-item:hover .provider-logo {
    transform: scale(1.1);
}

.provider-item span {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    text-align: center;
}

/* Price Tags */
.price-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.mtn-logos .price-tag {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.airtel-logos .price-tag {
    background: linear-gradient(135deg, #e60000, #cc0000);
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.provider-item:hover .price-tag {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mtn-logos .provider-item:hover .price-tag {
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.airtel-logos .provider-item:hover .price-tag {
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4);
}

.mtn-logos .provider-item span {
    color: #b8860b;
    font-weight: 700;
}

.airtel-logos .provider-item span {
    color: #cc0000;
    font-weight: 700;
}

.payment-form-container {
    margin-bottom: 2.5rem;
}

.payment-form {
    display: none;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e0e0e0;
}

.payment-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.form-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-header h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.2rem;
}

.form-header h4 i {
    color: #667eea;
}

.form-header p {
    color: #666;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-help {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.form-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.form-note i {
    color: #667eea;
    margin-top: 0.1rem;
}

.form-note span {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

.bank-details {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #e0e0e0;
    margin-bottom: 1rem;
}

.bank-details h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.1rem;
}

.bank-details h5 i {
    color: #667eea;
}

.bank-info {
    margin-bottom: 1.5rem;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-label {
    font-weight: 600;
    color: #333;
}

.bank-value {
    font-weight: 500;
    color: #667eea;
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
}

.bank-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 1rem;
    font-style: italic;
    color: #856404;
}

.bank-note i {
    color: #ffc107;
    margin-top: 0.1rem;
}

.paypal-info {
    text-align: center;
    padding: 2rem;
}

.paypal-logo {
    font-size: 3rem;
    color: #0070ba;
    margin-bottom: 1rem;
}

.paypal-info p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.paypal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.feature i {
    font-size: 1.5rem;
    color: #0070ba;
}

.feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}



.payment-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.security-item i {
    color: #4caf50;
    font-size: 1.2rem;
}

.security-item span {
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive Design for Payment Page */
@media (max-width: 768px) {
    .activation-section {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .activation-title {
        font-size: 1.3rem;
    }
    
    .input-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .activate-btn {
        width: 100%;
        justify-content: center;
    }
    
    .activation-help {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .help-item {
        padding: 0.75rem;
    }
    
    .help-item span {
        font-size: 0.85rem;
    }
    
    .key-info-title {
        font-size: 1.8rem;
    }
    
    .activation-key-info {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
}
@media (max-width: 768px) {
    .payment-progress {
        margin: 1rem;
        padding: 1rem;
    }
    
    .progress-step span {
        font-size: 0.8rem;
    }
    
    .payment-section {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .mobile-money-section {
        padding: 1.5rem;
    }
    
    .mobile-money-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-providers {
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
    }
    
    .mtn-section,
    .airtel-section {
        width: 100%;
    }
    
    .mtn-logos,
    .airtel-logos {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .provider-item {
        min-width: auto;
        width: 100%;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-actions {
        flex-direction: column;
    }
    
    .plan-details {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .plan-price-display {
        text-align: center;
    }
    
    .security-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Videos Section */
.videos-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    margin-bottom: 0;
    aspect-ratio: 16 / 9;
}

.video-thumbnail-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
    transition: transform 0.3s ease !important;
}

.video-thumbnail-img:hover {
    transform: scale(1.05) !important;
}

/* Image loading states */
.video-thumbnail-img {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.video-thumbnail-img.loaded {
    opacity: 1;
}

.loading-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 2rem;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.video-thumbnail i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 3rem;
    z-index: 1;
}

.video-info {
    padding: 0.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
}

.video-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.video-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Loading and No Videos */
.loading,
.no-videos {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading i,
.no-videos i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1001;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: #000;
    background: rgba(255, 255, 255, 1);
}

.modal-body {
    padding: 2rem;
}

#modal-video {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Upload Form */
.upload-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0 auto;
}

.upload-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.file-input-wrapper {
    position: relative;
}

#video-file {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-display {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-input-display:hover,
.file-input-display.dragover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.file-input-display i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: block;
}

.file-input-display span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.file-input-display small {
    color: #666;
    font-size: 0.8rem;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Upload Progress */
.upload-progress {
    text-align: center;
    padding: 2rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.progress-text {
    color: #666;
    font-weight: 600;
}

/* Upload Result */
.upload-result {
    text-align: center;
    padding: 2rem;
}

.result-content i {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.result-content h3 {
    color: #333;
    margin-bottom: 1rem;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide upper navigation on mobile (public pages only) */
    body:not([data-page="admin-panel"]) .header .nav,
    body:not([data-page="admin-panel"]) .player-header .player-nav {
        display: none !important;
    }
    /* Hide contact hero text block on mobile */
    .contact-hero { display: none !important; }
    .hero-title {
        font-size: 2rem;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    /* Mobile thumbnails - same as PC version */
    .video-card {
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        flex-direction: column;
    }
    
    .video-thumbnail {
        width: 100%;
        height: 400px;
        background: #f0f0f0;
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        margin-bottom: 0;
        aspect-ratio: 1536 / 2048;
    }
    
    .video-info {
        display: none !important;
    }
    
    /* Mobile video info when shown */
    .video-info-mobile {
        padding: 0.5rem;
    }
    
    .video-title-mobile {
        font-size: 0.9rem;
        margin: 0 0 0.3rem 0;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .videos-section,
    .upload-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
}

/* Photo Thumbnails Section */
.photos-section {
    padding: 2rem 0;
    margin: 2rem 0;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.photo-card-clickable {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.photo-card-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.photo-card-clickable:active {
    transform: translateY(-2px);
}

.photo-thumbnail {
    position: relative;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-thumbnail i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.photo-info {
    padding: 1rem;
}

.photo-title {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.photo-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.photo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.photo-date {
    color: rgba(255, 255, 255, 0.6);
}

.photo-views {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive photo grid */
@media (max-width: 768px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .photo-thumbnail {
        height: 150px;
    }
    
    .photo-thumbnail i {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .photo-thumbnail {
        height: 120px;
    }
    
    .photo-thumbnail i {
        font-size: 2rem;
    }
}

/* Admin Panel Styles */
.admin-login-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.admin-login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-login-header i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.admin-login-header h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.admin-login-header p {
    color: rgba(255, 255, 255, 0.7);
}

.admin-login-form .form-group {
    margin-bottom: 1.5rem;
}

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

.login-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.login-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Admin Dashboard - Clean Minimal Design */
.admin-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Left Column - Form Section */
.admin-form-section {
    padding: 2rem;
    background: #f8f9fa;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.form-header h2 i {
    color: #667eea;
    margin-right: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

.video-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.page-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.stat-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.stat-value span {
    color: #667eea;
}

.stat-value.warning {
    color: #ffa726;
}

.stat-value.danger {
    color: #ff6b6b;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #333;
}

.stat-item i {
    color: #667eea;
    width: 16px;
}

.stat-item:first-child {
    font-weight: 600;
}

.stat-item:first-child span {
    color: #667eea;
}

/* Video Card Animations */
.admin-video-card {
    transition: all 0.3s ease;
    animation: slideInFromTop 0.5s ease-out;
}

.admin-video-card.removing {
    animation: slideOutToBottom 0.5s ease-in forwards;
}

.admin-video-card.new {
    animation: slideInFromTop 0.5s ease-out, pulse 0.5s ease-out 0.5s;
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutToBottom {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

/* Video limit warning */
.video-limit-warning {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    animation: pulse 2s infinite;
}

.video-limit-warning i {
    margin-right: 0.5rem;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Analytics Dashboard */
.analytics-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.analytics-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.metric-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.metric-change.positive {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.metric-change.negative {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

/* Chart Container */
.chart-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.chart-container h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.2rem;
}

.analytics-chart {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.chart-placeholder {
    text-align: center;
    color: #666;
}

.chart-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

/* Subscribers Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.subscribers-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.subscribers-table-container {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.subscribers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.subscribers-table th,
.subscribers-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.subscribers-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.subscribers-table tr:hover {
    background: #f8f9fa;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-badge.expired {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

/* Analytics Setup Form */
.analytics-setup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Small Button Styles */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    margin: 0 0.25rem;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.contact-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-section {
    margin-bottom: 4rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-info h2 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info h2 i {
    color: #667eea;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #667eea;
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form .form-label i {
    color: #667eea;
}

.contact-form .form-input,
.contact-form .form-textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.contact-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.contact-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.contact-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin-top: 4rem;
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Messages Dashboard */
.messages-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.messages-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.messages-stats {
    display: flex;
    gap: 1.5rem;
}

.messages-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-weight: 600;
    color: #666;
}

.messages-stats .stat-item.unread {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.messages-stats .stat-item i {
    font-size: 1.1rem;
}

.messages-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.message-item.unread {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.message-item.unread:hover {
    background: rgba(220, 53, 69, 0.1);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.message-sender {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.message-date {
    color: #666;
    font-size: 0.9rem;
}

.message-preview {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.message-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.message-email {
    color: #667eea;
    font-size: 0.9rem;
}

.message-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.message-status.unread {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.message-status.read {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

/* Message Detail Modal */
.message-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.message-header h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.message-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.message-content {
    margin-bottom: 2rem;
}

.message-info {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    margin-bottom: 0.5rem;
}

.info-row label {
    font-weight: 600;
    color: #333;
    width: 80px;
    flex-shrink: 0;
}

.info-row span {
    color: #666;
}

.message-body label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.message-text {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
}

.message-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Reply Form */
.reply-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reply-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reply-form .form-label {
    font-weight: 600;
    color: #333;
}

.reply-form .form-input,
.reply-form .form-textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.reply-form .form-input:focus,
.reply-form .form-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.reply-form .form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-hero .hero-title {
        font-size: 2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .messages-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .messages-filters {
        flex-direction: column;
    }
    
    .message-actions {
        flex-direction: column;
    }
    
    .message-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Responsive Analytics */
@media (max-width: 768px) {
    .admin-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .subscribers-filters {
        flex-direction: column;
    }
    
    .subscribers-table {
        font-size: 0.8rem;
    }
    
    .subscribers-table th,
    .subscribers-table td {
        padding: 0.5rem;
    }
}

/* Form Styles */
.video-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-label i {
    color: #667eea;
    width: 16px;
}

.form-input,
.form-textarea,
.form-select {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.btn-save {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Right Column - Video Preview */
.video-preview-section {
    padding: 2rem;
    background: white;
    border-left: 1px solid #e9ecef;
}

.preview-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.preview-header h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.preview-header h3 i {
    color: #667eea;
    margin-right: 0.5rem;
}

.preview-header p {
    color: #666;
    font-size: 0.9rem;
}

.video-preview-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-preview video {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-placeholder {
    text-align: center;
    color: #6c757d;
}

.preview-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.preview-placeholder p {
    font-size: 0.9rem;
    margin: 0;
}

.preview-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

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

.info-label {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-item span:last-child {
    color: #333;
    font-weight: 600;
}

/* Admin Panel Main */
.admin-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admin-section .section-title {
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-section .section-title i {
    color: #667eea;
}

/* Admin Videos Grid */
.admin-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.admin-video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admin-video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.admin-video-card .video-thumbnail {
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-video-card .video-thumbnail i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.admin-video-card .video-info {
    padding: 1rem;
}

.admin-video-card .video-title {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-video-card .video-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.admin-video-card .video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.admin-video-card .video-actions {
    padding: 0 1rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.admin-video-card .video-actions .btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.9rem;
}

/* Edit Form */
.edit-form {
    margin-top: 1rem;
}

.edit-form .form-group {
    margin-bottom: 1rem;
}

.edit-form label {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.edit-form input,
.edit-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.edit-form input:focus,
.edit-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* Messages */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: #4caf50;
}

.message.error {
    background: #f44336;
}

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

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ff5252, #d32f2f);
    transform: translateY(-2px);
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-dashboard {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admin-form-section,
    .video-preview-section {
        padding: 1.5rem;
    }
    
    .video-preview-section {
        border-left: none;
        border-top: 1px solid #e9ecef;
    }
    
    .preview-info {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .admin-videos-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-video-card .video-actions {
        flex-direction: column;
    }
    
    .admin-login-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .form-actions {
        justify-content: center;
    }
    
    .btn-save {
        width: 100%;
        max-width: 300px;
    }
}

/* SMS Tab Styles */
.sms-dashboard {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.sms-section {
    padding: 2rem;
}

.sms-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.sms-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-weight: 600;
}

.sms-stats .stat-item.pending {
    background: #fff3cd;
    color: #856404;
}

.sms-stats .stat-item.activated {
    background: #d4edda;
    color: #155724;
}

.sms-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.last-refresh {
    color: #6c757d;
    font-size: 0.9rem;
}

.sms-table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.sms-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.sms-table th {
    background: #f8f9fa;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
}

.sms-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.sms-table tr:hover {
    background: #f8f9fa;
}

.sms-table .message-cell {
    max-width: 300px;
    word-wrap: break-word;
}

.sms-table .status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.sms-table .status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.sms-table .status-badge.activated {
    background: #d4edda;
    color: #155724;
}

.sms-table .action-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sms-table .action-btn.activate {
    background: #28a745;
    color: white;
}

.sms-table .action-btn.activate:hover {
    background: #218838;
    transform: translateY(-1px);
}

.sms-table .action-btn.activated {
    background: #6c757d;
    color: white;
    cursor: default;
}

#sms-loading {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

#sms-loading i {
    margin-right: 0.5rem;
}

/* Responsive SMS */
@media (max-width: 768px) {
    .sms-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .control-group {
        justify-content: space-between;
    }
    
    .sms-table {
        font-size: 0.9rem;
    }
    
    .sms-table th,
    .sms-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .sms-table .message-cell {
        max-width: 200px;
    }
}

/* Manual Activation Form Styles */
.manual-activation-form {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.manual-activation-form .form-header {
    margin-bottom: 1.5rem;
}

.manual-activation-form .form-header h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.manual-activation-form .form-header p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

.activation-form {
    margin-bottom: 1rem;
}

.activation-form .form-row {
    display: flex;
    gap: 1rem;
    align-items: end;
}

.activation-form .form-group {
    flex: 1;
}

.activation-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.activation-form .form-label i {
    margin-right: 0.5rem;
    color: #667eea;
}

.activation-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.activation-form .form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.activation-form .form-text {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.btn-activate {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
}

.btn-activate:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-activate:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.activation-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 500;
    display: none;
}

.activation-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.activation-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.activation-message.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Activations Table Styles */
.activations-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.activations-table th {
    background: #f8f9fa;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    color: #333;
}

.activations-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.activations-table tr:hover {
    background: #f8f9fa;
}

.activations-table .status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.activations-table .status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.activations-table .status-badge.activated {
    background: #d4edda;
    color: #155724;
}

.activations-table .action-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.activations-table .action-btn.activate {
    background: #28a745;
    color: white;
}

.activations-table .action-btn.activate:hover {
    background: #218838;
    transform: translateY(-1px);
}

.activations-table .action-btn.activated {
    background: #6c757d;
    color: white;
    cursor: default;
}

/* Responsive Activations */
@media (max-width: 768px) {
    .activation-form .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .activation-form .form-group {
        width: 100%;
    }
    
    .btn-activate {
        width: 100%;
        justify-content: center;
    }
    
    .activations-table {
        font-size: 0.9rem;
    }
    
    .activations-table th,
    .activations-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .hero { padding: 0.5rem 0; }
  .main {
    padding: 1rem 0 5rem; /* reserve space for bottom nav */
  }
  .footer {
    padding: 1rem 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
  .upload-section,
  .activation-section {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 12px;
  }
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .pricing-card {
    padding: 1.2rem 0.8rem;
    border-radius: 14px;
    text-align: center;
  }
  .pricing-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.4rem;
  }
  .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.2rem;
  }
  .currency {
    font-size: 1rem;
    color: #667eea;
    font-weight: 600;
  }
  .period {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
  }
  .pricing-features {
    display: none;
  }
  .pricing-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
  }
  .pricing-action .btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
  }
  .pricing-action i {
    font-size: 1rem;
    color: #667eea;
  }
  .activation-input-group {
    max-width: 100%;
  }
  .input-wrapper {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem !important;
  }
  .activate-btn {
    width: 100%;
    font-size: 1.1rem !important;
    padding: 1rem 0 !important;
  }
  .nav {
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .nav-link {
    font-size: 1rem;
    padding: 0.4rem 0.7rem;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 4px;
    max-width: 100vw;
  }
  .upload-section,
  .activation-section {
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-radius: 8px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .activation-input-group {
    max-width: 100%;
  }
  .input-wrapper {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0.25rem !important;
  }
  .activate-btn {
    width: 100%;
    font-size: 1rem !important;
    padding: 0.8rem 0 !important;
  }
  .nav {
    gap: 0.2rem;
    flex-wrap: wrap;
  }
  .nav-link {
    font-size: 0.95rem;
    padding: 0.3rem 0.5rem;
  }
}

@media (max-width: 768px) {
  .nav-link {
    font-size: 1.25rem;
    font-weight: 900;
    padding: 1rem 2.2rem;
    border-radius: 12px;
    color: #1a237e;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
    white-space: nowrap;
  }
  .nav-link.active, .nav-link:hover {
    font-weight: 900;
    color: #283593;
    background: #c5cae9;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .gallery-thumb {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 0.1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100vw;
    padding: 0;
  }
  .nav-link {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    font-weight: 900;
    color: #1a237e;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .pricing-card {
    padding: 1.5rem 1rem;
    font-size: 0.95rem;
    min-width: 0;
    border-radius: 16px;
    text-align: center;
    position: relative;
  }
  .pricing-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
  }
  .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.25rem;
  }
  .currency {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
  }
  .period {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
  }
  .pricing-description {
    font-size: 0.85rem;
  }
  .pricing-features {
    display: none;
  }
  .pricing-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
    padding: 0.6rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(102, 126, 234, 0.2);
  }
  .pricing-action .btn-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #667eea;
  }
  .pricing-action i {
    font-size: 0.9rem;
    color: #667eea;
  }
}

@media (max-width: 480px) {
  .status-banner {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.3rem !important;
    padding: 0.15rem 0.3rem !important;
    font-size: 0.75rem !important;
    margin: 0.3rem 0 0.7rem !important;
    border-radius: 5px !important;
    min-height: 28px !important;
    height: 28px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .status-content, .status-details, .status-title, .status-plan, .status-time {
    flex-direction: row !important;
    gap: 0.2rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .status-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin-right: 0.2rem !important;
  }
  .status-icon i {
    font-size: 0.85rem !important;
  }
}

/* Admin Device Styles */
.admin-device {
  background-color: #e3f2fd !important;
  border-left: 4px solid #2196f3 !important;
}

.admin-badge {
  background-color: #2196f3;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 8px;
  text-transform: uppercase;
}

.current-device-badge {
  background-color: #4caf50;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 8px;
  text-transform: uppercase;
}

.admin-device:hover {
  background-color: #bbdefb !important;
}

/* Device Toggle Styles */
.toggle-inactive {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-left: 16px;
}

.toggle-inactive input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.toggle-label {
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.toggle-inactive:hover .toggle-label {
  color: #333;
}

/* Age Disclaimer Modal Styles */
.age-disclaimer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.age-disclaimer-modal {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.age-disclaimer-content h2 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.age-disclaimer-content p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.age-question h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.age-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.age-yes {
    background: #27ae60;
    color: white;
}

.age-yes:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.age-no {
    background: #e74c3c;
    color: white;
}

.age-no:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.age-note {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .age-disclaimer-modal {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .age-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .age-btn {
        width: 100%;
        max-width: 200px;
    }
}
