/* Tower Rush - Main Stylesheet */
/* Colors: Dark Blue - Yellow - Light Blue */

:root {
    --dark-blue: #0a1628;
    --navy-blue: #1a2a4a;
    --primary-blue: #1e3a5f;
    --light-blue: #4a9eff;
    --cyan: #00d4ff;
    --yellow: #ffd700;
    --gold: #ffb800;
    --orange: #ff8c00;
    --white: #ffffff;
    --light-gray: #e0e0e0;
    --dark-gray: #2a2a2a;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy-blue) 50%, var(--primary-blue) 100%);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--yellow);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(45deg, var(--yellow), var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--yellow);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--yellow);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.9) 0%, rgba(26, 42, 74, 0.8) 100%);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--yellow), var(--gold), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--light-blue);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Demo Game Section */
.demo-game {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
    margin: 30px auto;
    max-width: 1000px;
    border: 2px solid var(--light-blue);
    box-shadow: 0 0 30px rgba(74, 158, 255, 0.3);
}

.demo-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

/* Pulsing Button */
.btn-pulse {
    display: inline-block;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--yellow), var(--gold));
    color: var(--dark-blue);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--light-blue), var(--cyan));
    color: var(--dark-blue);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.5);
}

.btn-pulse:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Content Sections */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--yellow);
}

.section-subtitle {
    text-align: center;
    color: var(--light-blue);
    margin-bottom: 40px;
    font-size: 18px;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: linear-gradient(145deg, rgba(26, 42, 74, 0.9), rgba(10, 22, 40, 0.9));
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--light-blue);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 158, 255, 0.3);
    border-color: var(--yellow);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 24px;
    color: var(--yellow);
    margin-bottom: 15px;
}

.card p {
    color: var(--light-gray);
}

/* Image Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--light-blue);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--yellow);
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(74, 158, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-list li::before {
    content: '✓';
    color: var(--yellow);
    font-weight: bold;
    font-size: 20px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(26, 42, 74, 0.6);
    border-radius: 15px;
    border: 1px solid var(--light-blue);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--yellow);
    display: block;
}

.stat-label {
    color: var(--light-blue);
    font-size: 16px;
}

/* FAQ Section */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(26, 42, 74, 0.6);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--light-blue);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(74, 158, 255, 0.2);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--light-gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    padding: 80px 0;
    text-align: center;
    border-top: 2px solid var(--yellow);
    border-bottom: 2px solid var(--yellow);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--yellow);
}

.cta-section p {
    font-size: 18px;
    color: var(--light-gray);
    margin-bottom: 30px;
}

/* Footer */
footer {
    background: var(--dark-blue);
    padding: 60px 0 30px;
    border-top: 3px solid var(--yellow);
}

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

.footer-section h4 {
    color: var(--yellow);
    font-size: 20px;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--yellow);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: var(--light-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(74, 158, 255, 0.3);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light-blue);
    text-decoration: none;
}

.age-warning {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid red;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
}

/* Content Text */
.content-text {
    max-width: 900px;
    margin: 0 auto;
}

.content-text h2 {
    color: var(--yellow);
    font-size: 28px;
    margin: 40px 0 20px;
}

.content-text h3 {
    color: var(--light-blue);
    font-size: 22px;
    margin: 30px 0 15px;
}

.content-text p {
    margin-bottom: 20px;
    color: var(--light-gray);
    line-height: 1.8;
}

.content-text ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-text li {
    margin-bottom: 10px;
    color: var(--light-gray);
}

/* App Download Section */
.app-download {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--dark-gray);
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    border: 2px solid var(--light-blue);
    transition: all 0.3s ease;
}

.app-btn:hover {
    border-color: var(--yellow);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-blue);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .demo-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-pulse {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .game-iframe {
        height: 400px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Highlight box */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.1), rgba(0, 212, 255, 0.1));
    border-left: 4px solid var(--yellow);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box p {
    margin: 0;
    font-style: italic;
}

/* Table styles */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.info-table th,
.info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-blue);
}

.info-table th {
    background: rgba(74, 158, 255, 0.2);
    color: var(--yellow);
    font-weight: 600;
}

.info-table tr:hover {
    background: rgba(74, 158, 255, 0.1);
}
