@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #4CAF50;
    --pokemon-blue: #3B82F6;
    --pokemon-red: #EF4444;
    --pokemon-yellow: #F59E0B;
    --secondary-color: #333;
    --text-color: #333;
    --background-color: #f4f4f4;
    --card-background: rgba(255, 255, 255, 0.8);
    --card-border: rgba(255, 255, 255, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-start: #e0ffe0;
    --gradient-end: #c0f0c0;
}

[data-theme='dark'] {
    --primary-color: #66BB6A;
    --pokemon-blue: #60A5FA;
    --pokemon-red: #F87171;
    --pokemon-yellow: #FBBF24;
    --secondary-color: #f4f4f4;
    --text-color: #f4f4f4;
    --background-color: #222;
    --card-background: rgba(0, 0, 0, 0.6);
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gradient-start: #333;
    --gradient-end: #111;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow-color);
}

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

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

#hero {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-color);
    opacity: 0.9;
}

.hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 50%;
    height: auto;
    opacity: 0.8;
    z-index: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.cta-button:hover {
    background-color: #5cb85c;
    transform: translateY(-3px);
}

section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.feature,
.review,
.faq-item,
.differentiator {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature:hover,
.review:hover,
.faq-item:hover,
.differentiator:hover {
    transform: translateY(-5px);
}

.feature img,
.review img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid var(--primary-color);
}

.feature h3,
.faq-item h3,
.differentiator h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0;
    color: var(--text-color);
}

.differentiator {
    background: linear-gradient(135deg, var(--card-background), rgba(76, 175, 80, 0.1));
    border-left: 4px solid var(--primary-color);
}

.differentiator h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.differentiator p {
    line-height: 1.7;
    font-size: 0.95rem;
}

.review p {
    font-style: italic;
    color: var(--text-color);
}

.reviewer {
    font-weight: 600;
    text-align: right;
    color: var(--primary-color);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item p {
    display: none;
    margin-top: 1rem;
    color: var(--text-color);
}

.faq-item.active p {
    display: block;
}

footer {
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Pokemon-themed enhancements */
.feature h3 {
    background: linear-gradient(45deg, var(--primary-color), #66BB6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        position: relative;
        max-width: 80%;
        margin-top: 2rem;
    }
    
    .feature-grid,
    .review-grid,
    .differentiator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        justify-content: center;
        gap: 1rem;
    }
    
    nav ul li {
        margin-left: 0;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover {
    background-color: var(--primary-color);
    transform: rotate(20deg);
}

/* Server status styling */
#server-status {
    font-weight: 600;
    color: var(--pokemon-yellow);
}

/* Mobile Nav Toggle */
#nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    #nav-toggle {
        display: block;
    }
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        display: none;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 1rem 0;
        margin-top: 0.5rem;
        border-radius: 8px;
    }
    nav ul.open {
        display: flex;
    }
}