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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #1a472a, #2d5016);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4CAF50;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

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

/* Mobile menu hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a472a, #2d5016, #4CAF50);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #e8f5e8;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a472a;
    transform: translateY(-2px);
}

/* Section Styles */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a472a;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #FF6B35, #4CAF50);
    display: block;
    margin: 15px auto;
    border-radius: 2px;
}

/* Game Section */
.game-section {
    padding: 80px 0;
    background: white;
}

.game-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.game-frame {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid #e9ecef;
}

#game-iframe-container {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.game-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #1a472a, #4CAF50);
    color: white;
    text-align: center;
    border-radius: 10px;
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.game-controls {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
}

.game-controls h3 {
    color: #1a472a;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
}

.controls-list {
    list-style: none;
}

.controls-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

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

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text h3 {
    color: #1a472a;
    margin: 2rem 0 1rem;
    font-family: 'Orbitron', sans-serif;
}

.feature-list {
    list-style: none;
    padding: 1rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #4CAF50;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: #1a472a;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

/* Characters Section */
.characters-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.character-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.character-card:hover {
    transform: scale(1.05);
}

.character-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.character-card h3 {
    color: #1a472a;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.stats {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
}

.stat {
    margin: 0.5rem 0;
    font-weight: 500;
}

/* Tips Section */
.tips-section {
    padding: 80px 0;
    background: white;
}

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

.tip-card {
    background: linear-gradient(135deg, #1a472a, #2d5016);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-3px);
}

.tip-card h3 {
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    color: #1a472a;
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4CAF50;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a472a, #2d5016);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1a472a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .game-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid,
    .characters-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .feature-card,
    .tip-card,
    .character-card {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Game iframe styles */
#game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

/* Smooth scroll offset for fixed header */
section {
    scroll-margin-top: 80px;
}

/* ===== BLOG SECTION STYLES ===== */
.blog-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.blog-post {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #45a049, #FF6B35, #1877F2);
    transition: left 0.5s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-post:hover::before {
    left: 0;
}

.blog-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-post h3 {
    color: #1a472a;
    margin-bottom: 15px;
    font-size: 1.4rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-post:hover h3 {
    color: #4CAF50;
}

.blog-post p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-tips {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #4CAF50;
}

.blog-tips h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.blog-tips ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.blog-tips li {
    margin-bottom: 8px;
}

.blog-related {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.blog-related a {
    color: #666;
    text-decoration: none;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.blog-related a:hover {
    color: #4CAF50;
}

/* Blog CTA Section */
.blog-section .container > div:last-child {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border-radius: 15px;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-section .container > div:last-child::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.blog-section .container > div:last-child h3 {
    margin-bottom: 15px;
    color: white;
}

.blog-section .container > div:last-child p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-section .container > div:last-child a {
    background: white;
    color: #4CAF50;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.blog-section .container > div:last-child a:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Mobile Responsiveness for Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-post {
        padding: 20px;
    }
    
    .blog-post h3 {
        font-size: 1.2rem;
    }
    
    .blog-tips {
        padding: 12px;
    }
    
    .blog-section .container > div:last-child {
        padding: 20px;
        margin-top: 30px;
    }
    
    .blog-section .container > div:last-child a {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        gap: 15px;
    }
    
    .blog-post {
        padding: 15px;
    }
    
    .blog-post h3 {
        font-size: 1.1rem;
    }
    
    .blog-meta {
        font-size: 12px;
    }
    
    .blog-tips {
        padding: 10px;
        font-size: 14px;
    }
    
    .blog-related {
        font-size: 12px;
    }
}

/* ===== END BLOG SECTION STYLES ===== */ 