/* Global Styles - E-Sports Tech Theme */
:root {
    --primary-blue: #00d4ff;
    --secondary-blue: #0099cc;
    --dark-blue: #0066cc;
    --accent-cyan: #00ffff;
    --dark-bg: #0a0e1a;
    --darker-bg: #050810;
    --dark-section: #0f1419;
    --dark-card: #151a24;
    --text-light: #e8f0f8;
    --text-muted: #a0b8d0;
    --glow-blue: rgba(0, 212, 255, 0.5);
    --glow-cyan: rgba(0, 255, 255, 0.3);
    --tech-gradient: linear-gradient(135deg, #0a0e1a 0%, #0f1419 30%, #151a24 60%, #0a0e1a 100%);
    --hero-gradient: linear-gradient(135deg, #0f1419 0%, #151a24 50%, #0a0e1a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
    line-height: 1.8;
    background: var(--tech-gradient);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 212, 255, 0.03) 25%, rgba(0, 212, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.03) 75%, rgba(0, 255, 255, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 212, 255, 0.03) 25%, rgba(0, 212, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.03) 75%, rgba(0, 255, 255, 0.03) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
.navbar {
    background: rgba(10, 14, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 212, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.navbar.navbar-dark {
    background: rgba(10, 14, 26, 0.95) !important;
}

.navbar-toggler {
    border-color: rgba(0, 212, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 212, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue) !important;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.navbar-brand i {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
    animation: pulse 2s ease-in-out infinite;
}

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

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.05) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .row.min-vh-100 {
    min-height: 100vh;
}

.hero-section .col-lg-6 {
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section .col-lg-6:first-child {
    align-items: flex-start;
    text-align: left;
}

.hero-section h1 {
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    width: 100%;
}

.glow-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.hero-section .lead {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-section .subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 5px;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4), 0 0 20px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.5);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-blue) 100%);
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-frame {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.9) 0%, rgba(10, 14, 26, 0.9) 100%);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 212, 255, 0.2);
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.3);
    width: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.tech-frame img {
    position: relative;
    z-index: 1;
    border-radius: 5px;
    width: 230px !important;
    max-width: 230px !important;
    height: auto !important;
    object-fit: contain;
}

/* Section Styles */
section {
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* About Section */
#about {
    background: rgba(15, 20, 25, 0.6);
    backdrop-filter: blur(10px);
}

#about .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Features Section */
#features {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.8) 0%, rgba(15, 20, 25, 0.8) 100%);
}

.feature-card {
    background: var(--dark-card);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 212, 255, 0.3);
    border-color: var(--primary-blue);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--primary-blue);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--delay, 0) * 0.2s);
}

.feature-card:nth-child(1) .feature-icon {
    --delay: 1;
}

.feature-card:nth-child(2) .feature-icon {
    --delay: 2;
}

.feature-card:nth-child(3) .feature-icon {
    --delay: 3;
}

.feature-card:nth-child(4) .feature-icon {
    --delay: 4;
}

.feature-card:nth-child(5) .feature-icon {
    --delay: 5;
}

.feature-card:nth-child(6) .feature-icon {
    --delay: 6;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.2) 0%, rgba(0, 153, 204, 0.2) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 212, 255, 0.03) 2px,
        rgba(0, 212, 255, 0.03) 4px
    );
    pointer-events: none;
}

.cta-text {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 2;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Screenshots Section */
#screenshots {
    background: rgba(15, 20, 25, 0.6);
    backdrop-filter: blur(10px);
}

.carousel {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid rgba(0, 212, 255, 0.4);
}

.carousel-item {
    height: 600px;
    background: linear-gradient(135deg, var(--dark-section) 0%, var(--dark-bg) 100%);
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    padding: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-blue);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.carousel-indicators {
    margin-bottom: 1.5rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: var(--primary-blue);
    opacity: 0.4;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #050810 0%, #0a0e1a 100%) !important;
    border-top: 3px solid rgba(0, 212, 255, 0.4);
}

footer h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

footer img {
    border: 2px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.5rem;
    }
    
    .hero-section .subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .tech-frame {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .carousel-item {
        height: 300px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-blue) 100%);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

/* Animations */
.animate__animated {
    animation-duration: 1s;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

