/* style.css - Bright Gaming Website */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Bright Color Palette */
    --primary: #6C63FF;
    --secondary: #FF6584;
    --accent: #00D4FF;
    --success: #00C853;
    --warning: #FF9800;
    --danger: #FF3860;
    
    /* Background Colors - LIGHT THEME */
    --bg-light: #FFFFFF;
    --bg-light-secondary: #F8F9FA;
    --bg-light-tertiary: #F1F3F5;
    
    /* Text Colors */
    --text-dark: #212529;
    --text-gray: #6C757D;
    --text-light: #495057;
    
    /* Card Colors */
    --card-bg: #FFFFFF;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 15px 40px rgba(108, 99, 255, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary));
    --gradient-light: linear-gradient(135deg, #F8F9FA, #FFFFFF);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(108, 99, 255, 0.2);
    
    /* Borders */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-color: #E9ECEF;
    
    /* Spacing */
    --section-padding: 50px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-gaming: 'Orbitron', sans-serif;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto 0;
}

.text-primary {
    color: var(--primary) !important;
}

.text-muted {
    color: var(--text-gray) !important;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-brand img {
    height: 50px;
}

.brand-text {
    font-family: var(--font-gaming);
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 8px 0 !important;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white !important;
}

.btn-download {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.btn-download:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white !important;
}

.btn-signup {
    background: var(--gradient-primary);
    color: white !important;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.btn-signup:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white !important;
}

.btn-store {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 15px;
    padding: 15px 25px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.btn-store:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    color: var(--text-dark);
}

.store-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.store-content i {
    font-size: 2rem;
    color: var(--primary);
}

.store-text {
    text-align: left;
    line-height: 1.2;
}

.store-text small {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: block;
}

.store-text strong {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 100px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.highlight-text {
    color: var(--primary);
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    background: rgba(255, 101, 132, 0.1);
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 20%;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--section-padding);
    background: var(--bg-light-secondary);
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    height: 100%;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--card-hover-shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1rem;
}

.feature-link {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.feature-link:hover {
    color: var(--secondary);
    gap: 12px;
}

.mini-feature {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.mini-feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.mini-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.mini-feature h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.mini-feature p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content {
    padding-left: 50px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.key-points {
    margin-top: 30px;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.point-item i {
    font-size: 1.2rem;
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100" stroke="rgba(108,99,255,0.1)" stroke-width="1"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.download-section .container {
    position: relative;
    z-index: 2;
}

.download-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.device-support {
    margin-top: 30px;
}

.device-support p {
    font-size: 1rem;
    margin: 0;
}

/* ===== TERMS SECTION ===== */
.terms-section {
}

.terms-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.terms-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 30px;
    text-align: center;
}

.terms-header h2 {
    color: white;
    margin: 0;
    font-size: 2rem;
}

.terms-content {
    padding: 40px;
}

.alert-warning {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    color: #856404;
    border-radius: var(--border-radius);
}

.terms-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.terms-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.terms-list li {
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.terms-list li:last-child {
    border-bottom: none;
}

.terms-list i {
    font-size: 1rem;
    min-width: 24px;
}

.terms-agreement {
    background: rgba(108, 99, 255, 0.05);
    border: 1px solid rgba(108, 99, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 30px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    color: var(--text-dark);
    cursor: pointer;
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--bg-light-tertiary);
    padding: 0px 0 30px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand h4 {
    font-family: var(--font-gaming);
    font-size: 1.8rem;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.footer-heading {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
}

.footer-contact i {
    color: var(--primary);
    min-width: 20px;
}

.newsletter {
    margin-top: 30px;
}

.newsletter h6 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.input-group {
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.form-control {
    background: white;
    border: none;
    color: var(--text-dark);
    padding: 12px 15px;
}

.form-control:focus {
    background: white;
    color: var(--text-dark);
    box-shadow: none;
    border-color: var(--primary);
}

.form-control::placeholder {
    color: var(--text-gray);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
}

.footer-bottom p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.disclaimer small {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* ===== BACK TO TOP BUTTON ===== */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 90px 0 0px;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .btn-store {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .navbar-nav {
        padding: 20px 0;
    }
    
    .nav-link {
        padding: 10px 0 !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .terms-content {
        padding: 25px 20px;
    }
    
    .btn-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F1F3F5;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== GAMING ELEMENTS ===== */
.game-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 5px 10px;
}

.score-board {
    background: white;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.leaderboard {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.leaderboard-header {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.leaderboard-item:hover {
    background: rgba(108, 99, 255, 0.05);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.rank {
    font-weight: 700;
    color: var(--primary);
    min-width: 30px;
}

.player-name {
    flex: 1;
    font-weight: 500;
}

.player-score {
    font-weight: 700;
    color: var(--secondary);
}

/* ===== LOADER ===== */
.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(108, 99, 255, 0.2);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}