/* VibeQuestHub - Neon Horizon Theme CSS */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1B1B2F 0%, #9C27B0 50%, #FF4081 100%);
    background-attachment: fixed;
    color: #FCE4EC;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #9C27B0, #261747, #1B1B2F, #9C27B0);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 64, 129, 0.5);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.8;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(27, 27, 47, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 64, 129, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(27, 27, 47, 0.95);
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: #FF4081;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(255, 64, 129, 0.8);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(255, 64, 129, 1);
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #FCE4EC;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #FF4081;
    background: rgba(255, 64, 129, 0.1);
    box-shadow: 0 0 15px rgba(255, 64, 129, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #FF4081;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #FF4081, #9C27B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 20px rgba(255, 64, 129, 0.5)); }
    to { filter: drop-shadow(0 0 40px rgba(156, 39, 176, 0.8)); }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(156, 39, 176, 0.4);
    transition: all 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(255, 64, 129, 0.6);
}

/* CTA Button */
.cta-button {
    background: linear-gradient(45deg, #9C27B0, #FF4081);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 64, 129, 0.6);
    background: linear-gradient(45deg, #FF4081, #9C27B0);
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.3);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 64, 129, 0.4);
    border-color: rgba(255, 64, 129, 0.4);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    background: linear-gradient(45deg, #FF4081, #9C27B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-main {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.about-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 64, 129, 0.6));
}

.about-main h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #FF4081;
}

.about-main p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 64, 129, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 15px rgba(156, 39, 176, 0.6));
}

.feature-card h4 {
    color: #FF4081;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.6;
}

.about-stats {
    text-align: center;
    margin-top: 2rem;
    padding: 3rem 2rem;
}

.about-stats h3 {
    color: #FF4081;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 64, 129, 0.1);
    transform: translateY(-5px);
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #FF4081;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(255, 64, 129, 0.6);
}

.stat-item .stat-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Games Grid */
.games-grid {
    padding: 6rem 0;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.3);
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 64, 129, 0.3);
    border-color: rgba(255, 64, 129, 0.5);
}

.game-card img {
    width: 100%;
    height: 250px;
    object-fit:contain;
    transition: all 0.3s ease;
}

.game-card:hover img {
    transform: scale(1.0);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    margin-bottom: 0.5rem;
    color: #FF4081;
}

.game-info p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.play-btn {
    background: linear-gradient(45deg, #9C27B0, #FF4081);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.6);
}

/* Arena Battles */
.arena-battles {
    padding: 6rem 0;
}

.arena-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.arena-card {
    text-align: center;
}

.battle-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FF4081;
    font-family: 'Orbitron', monospace;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.battle-btn {
    background: linear-gradient(45deg, #FF4081, #9C27B0);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 64, 129, 0.4);
}

.battle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(156, 39, 176, 0.6);
}

/* Leaderboard */
.leaderboard {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.3);
}

.leaderboard h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #FF4081;
}

.leader-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.leader-item:hover {
    background: rgba(255, 64, 129, 0.1);
    transform: translateX(5px);
}

.rank {
    font-weight: 900;
    color: #FF4081;
    font-family: 'Orbitron', monospace;
}

.name {
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.score {
    font-weight: 700;
    color: #9C27B0;
}

/* Tips & Tricks */
.tips-tricks {
    padding: 6rem 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tip-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.3);
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 64, 129, 0.4);
}

.tip-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.tip-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: #FF4081;
}

.tip-card p {
    padding: 0 1rem 1.5rem;
    opacity: 0.9;
}

/* Disclaimer */
.disclaimer {
    padding: 4rem 0;
}

.disclaimer-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer ul {
    list-style: none;
    padding: 0;
}

.disclaimer li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 64, 129, 0.2);
    margin-bottom: 0.5rem;
}

.disclaimer li:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: rgba(27, 27, 47, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 64, 129, 0.3);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #FF4081;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #FCE4EC;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #FF4081;
    text-shadow: 0 0 10px rgba(255, 64, 129, 0.5);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(255, 64, 129, 0.8));
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 64, 129, 0.2);
    opacity: 0.8;
}

/* Game Pages */
.game-page {
    padding-top: 8rem;
    min-height: 100vh;
}

.game-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.back-link {
    display: inline-block;
    color: #FF4081;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 64, 129, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 64, 129, 0.1);
    box-shadow: 0 0 15px rgba(255, 64, 129, 0.4);
}

.game-header {
    text-align: center;
    margin-bottom: 3rem;
}

.game-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.game-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.game-frame-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.3);
    margin-bottom: 3rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    background: #000;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #FF4081;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #FCE4EC;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF4081;
    box-shadow: 0 0 15px rgba(255, 64, 129, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(252, 228, 236, 0.6);
}

/* Contact Info */
.contact-info h2 {
    color: #FF4081;
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: #9C27B0;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .games-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .arena-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .game-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-main h3 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .games-container {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 300px;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.count-animation {
    animation: countUp 0.8s ease forwards;
}

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

::-webkit-scrollbar-track {
    background: rgba(27, 27, 47, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #9C27B0, #FF4081);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #FF4081, #9C27B0);
}

/* Selection Styling */
::selection {
    background: rgba(255, 64, 129, 0.3);
    color: #FCE4EC;
}

::-moz-selection {
    background: rgba(255, 64, 129, 0.3);
    color: #FCE4EC;
}