/* Custom CSS for 1590 eSports Organizer Website */

:root {
    --primary-dark: #1a1a2e;
    --primary-darker: #16213e;
    --accent-blue: #00bfff;
    --accent-blue-dark: #0099ff;
    --text-primary: #ffffff;
    --text-secondary: #b8c6db;
    --card-bg: #252545;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #00bfff 0%, #0099ff 100%);
    --shadow-light: 0 4px 15px rgba(0, 191, 255, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 191, 255, 0.15);
    --shadow-heavy: 0 15px 35px rgba(0, 191, 255, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    background: var(--primary-dark);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navigation Styles */
nav {
    background: var(--primary-darker) !important;
    box-shadow: var(--shadow-medium);
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav .brand-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-blue) !important;
}

nav ul a {
    color: var(--text-primary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul a:hover {
    color: var(--accent-blue) !important;
    background: transparent !important;
}

.sidenav {
    background: var(--primary-darker);
}

.sidenav li > a {
    color: var(--text-primary);
}

.sidenav li > a:hover {
    background: rgba(0, 191, 255, 0.1);
    color: var(--accent-blue);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    padding: 120px 0 80px;
    margin-top: 64px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero-actions {
    position: relative;
    z-index: 2;
}

.download-btn {
    margin: 0.5rem;
    border-radius: 50px;
    padding: 0 2rem;
    height: 54px;
    line-height: 54px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.btn-gradient {
    background: var(--gradient-accent) !important;
    border: none;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-outline {
    background: transparent !important;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue) !important;
}

.btn-outline:hover {
    background: var(--accent-blue) !important;
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    background: var(--primary-darker);
}

.feature-card {
    background: var(--card-bg) !important;
    border-radius: 15px !important;
    box-shadow: var(--shadow-light) !important;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium) !important;
    border-color: rgba(0, 191, 255, 0.3);
}

.feature-card .card-content {
    padding: 2rem;
    text-align: center;
}

.feature-icon {
    background: var(--gradient-accent);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-light);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--primary-dark);
}

.cta-card {
    background: var(--gradient-primary) !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow-heavy) !important;
    border: none;
    padding: 2rem;
}

.cta-card .card-content {
    text-align: center;
    padding: 2rem;
}

.cta-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-top: 2rem;
}

/* Footer */
.page-footer {
    background: var(--primary-darker) !important;
    padding-top: 2rem;
}

.page-footer h5 {
    color: var(--accent-blue);
    font-weight: 600;
}

.page-footer p {
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-copyright {
    background: rgba(0, 0, 0, 0.3) !important;
}

.footer-copyright .container {
    color: var(--text-secondary);
}

/* Card Styles */
.card {
    background: var(--card-bg) !important;
    border-radius: 15px !important;
    box-shadow: var(--shadow-light) !important;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.card-content {
    color: var(--text-primary) !important;
}

/* Form Styles */
.input-field input[type=text]:focus + label,
.input-field input[type=email]:focus + label,
.input-field textarea:focus + label {
    color: var(--accent-blue) !important;
}

.input-field input[type=text]:focus,
.input-field input[type=email]:focus,
.input-field textarea:focus {
    border-bottom: 1px solid var(--accent-blue) !important;
    box-shadow: 0 1px 0 0 var(--accent-blue) !important;
}

.input-field input[type=text],
.input-field input[type=email],
.input-field textarea {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 0.5rem;
}

.input-field label {
    color: var(--text-secondary) !important;
}

/* Responsive Design */
@media only screen and (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
        display: block;
        margin: 0.5rem auto;
    }
}

@media only screen and (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .feature-card .card-content {
        padding: 1.5rem;
    }
    
    .cta-card .card-content {
        padding: 1.5rem;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
}

/* Animation Enhancements */
.btn:hover {
    transition: all 0.3s ease;
}

/* Scroll Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Loading Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 191, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 191, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 191, 255, 0);
    }
}

.btn-gradient:hover {
    animation: pulse 1.5s infinite;
}

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

::-webkit-scrollbar-track {
    background: var(--primary-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue-dark);
}