@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f093fb;
    --dark: #1a1a2e;
    --darker: #0f0f23;
    --light: #f8f9fa;
    --text: #333;
    --text-light: #666;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1400px;
    width: 100%;
    animation: slideIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 20px 80px rgba(240, 147, 251, 0.5);
    }
}

/* Premium Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-radius: 30px;
    padding: 80px 60px;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-section h1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    animation: float 6s ease-in-out infinite;
}

.welcome-section p {
    color: var(--text-light);
    font-size: 1.2em;
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Premium Buttons */
.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 45px;
    font-size: 1.1em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.6);
}

.btn-back {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1em;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-5px);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Premium Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px 35px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(240, 147, 251, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    color: var(--light);
    margin-bottom: 15px;
    font-size: 1.8em;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 1em;
    position: relative;
    z-index: 1;
}

/* Premium Header for Pages */
.header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.header h1 {
    font-size: 3.2em;
    margin: 20px 0 15px 0;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.header p {
    font-size: 1.2em;
    opacity: 0.85;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Premium Channels Grid */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.channel-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.channel-card:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.5);
    border-color: rgba(240, 147, 251, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.channel-card:hover::before {
    opacity: 1;
}

.channel-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 4s ease-in-out infinite;
}

.channel-card h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.5em;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.channel-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.channel-username {
    color: #667eea;
    font-weight: 600;
    font-size: 1.05em;
    position: relative;
    z-index: 1;
}

/* Premium Feedback Gallery */
.feedback-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
}

.feedback-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.4);
    border-color: rgba(240, 147, 251, 0.5);
}

.feedback-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feedback-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feedback-card:hover .feedback-image {
    transform: scale(1.15) rotate(2deg);
}

.feedback-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feedback-card:hover .feedback-overlay {
    transform: translateY(0);
}

.feedback-overlay h3 {
    font-size: 1.4em;
    margin-bottom: 8px;
    font-weight: 700;
}

.feedback-overlay p {
    font-size: 0.9em;
    opacity: 0.95;
}

.feedback-content {
    padding: 30px 25px;
}

.feedback-content h4 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.stat-badge {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.rank-badge,
.ranking-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(240, 147, 251, 0.1) 100%);
    color: white;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.rank-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
    padding: 18px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 1.4em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    font-style: italic;
    border-left: 3px solid #667eea;
    padding-left: 15px;
    font-weight: 300;
}

/* Premium Feedback CTA */
.feedback-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-radius: 30px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.feedback-cta h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 800;
}

.feedback-cta p {
    color: var(--text-light);
    font-size: 1.1em;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Responsive Premium Design */
@media (max-width: 1024px) {
    .welcome-section {
        padding: 60px 40px;
    }

    .welcome-section h1 {
        font-size: 3em;
    }

    .header h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 50px 30px;
    }

    .welcome-section h1 {
        font-size: 2.2em;
    }

    .welcome-section p {
        font-size: 1em;
    }

    .header h1 {
        font-size: 2em;
    }

    .header p {
        font-size: 1em;
    }

    .channels-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .feedback-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .button-group {
        gap: 12px;
    }

    .btn {
        padding: 14px 35px;
        font-size: 1em;
    }

    .feedback-cta {
        padding: 40px 30px;
    }

    .feedback-cta h2 {
        font-size: 2em;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .feature-card h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 40px 20px;
    }

    .welcome-section h1 {
        font-size: 1.8em;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .channels-grid {
        grid-template-columns: 1fr;
    }

    .feedback-gallery {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 1.6em;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .player-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback-cta {
        padding: 30px 20px;
    }

    .feedback-cta h2 {
        font-size: 1.5em;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(102, 126, 234, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
}
