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

:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #fbbc04;
    --error-color: #ea4335;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.5);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 24px 0;
    position: relative;
    box-shadow: var(--shadow-light);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-light);
}

.live-dot {
    width: 12px;
    height: 12px;
    background: var(--error-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.7);
}

.live-text {
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(234, 67, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(234, 67, 53, 0);
    }
}

/* Main Content */
.main {
    padding: 60px 0;
}

/* Player Section */
.player-section {
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

.player-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
}

.player-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    background: #000;
}

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.player-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: var(--text-primary);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* About Section */
.about-section {
    margin-bottom: 80px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 48px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.about-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Social Media Section */
.social-section {
    margin-bottom: 80px;
}

.social-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-width: 160px;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-light);
}

.social-btn:hover i {
    transform: scale(1.2);
}

.social-btn span {
    font-size: 1rem;
}

/* Social Button Colors */
.facebook {
    background: #1877f2;
    color: white;
}

.facebook:hover {
    background: #166fe5;
    box-shadow: 0 12px 24px rgba(24, 119, 242, 0.4);
}

.twitter {
    background: #1da1f2;
    color: white;
}

.twitter:hover {
    background: #1991db;
    box-shadow: 0 12px 24px rgba(29, 161, 242, 0.4);
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.instagram:hover {
    box-shadow: 0 12px 24px rgba(240, 148, 51, 0.4);
}

.youtube {
    background: #ff0000;
    color: white;
}

.youtube:hover {
    background: #e60000;
    box-shadow: 0 12px 24px rgba(255, 0, 0, 0.4);
}

.tiktok {
    background: #000000;
    color: white;
}

.tiktok:hover {
    background: #333333;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* App Download Section */
.app-section {
    margin-bottom: 80px;
}

.app-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: var(--shadow-light);
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.app-btn i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.app-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-label {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1.2;
    color: var(--text-secondary);
}

.app-name {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* Specific app button hover effects */
.playstore:hover i {
    color: var(--secondary-color);
}

.appstore:hover i {
    color: #007aff;
}

.roku:hover i {
    color: #662d91;
}

.amazon:hover i {
    color: #ff9900;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

.copyright {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.made-by {
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.made-by i {
    color: var(--error-color);
    margin: 0 6px;
    animation: heartbeat 2s infinite;
}

.made-by a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.made-by a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@keyframes heartbeat {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 20px 0;
    }

    .header .container {
        flex-direction: column;
        gap: 16px;
    }

    .logo {
        font-size: 2rem;
    }

    .live-badge {
        padding: 10px 16px;
    }

    .main {
        padding: 40px 0;
    }

    .about-card {
        padding: 32px 24px;
    }

    .about-title {
        font-size: 1.75rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .social-grid {
        gap: 16px;
    }

    .social-btn {
        min-width: 140px;
        padding: 12px 20px;
    }

    .social-btn span {
        font-size: 0.875rem;
    }

    .app-title {
        font-size: 1.5rem;
        padding: 0 20px;
    }

    .app-grid {
        flex-direction: column;
        align-items: center;
    }

    .app-btn {
        min-width: 280px;
    }

    .player-container {
        margin: 0 -16px;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.75rem;
    }

    .live-badge {
        padding: 8px 12px;
    }

    .live-text {
        font-size: 0.75rem;
    }

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

    .about-text {
        font-size: 0.9rem;
    }

    .app-title {
        font-size: 1.25rem;
    }

    .social-btn span {
        display: none;
    }

    .social-btn {
        min-width: 60px;
        padding: 12px;
        justify-content: center;
    }
}

/* Loading states and animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.social-btn:focus,
.app-btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Error and success states */
.error-message {
    color: var(--error-color);
    text-align: center;
    padding: 20px;
    background: rgba(234, 67, 53, 0.1);
    border: 1px solid rgba(234, 67, 53, 0.3);
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.success-message {
    color: var(--secondary-color);
    text-align: center;
    padding: 20px;
    background: rgba(52, 168, 83, 0.1);
    border: 1px solid rgba(52, 168, 83, 0.3);
    border-radius: var(--border-radius);
    margin: 20px 0;
}