/* WePlay Hile - Cartoonish CSS */
:root {
    --primary: #ff6b6b;
    --primary-dark: #ee5a5a;
    --secondary: #4ecdc4;
    --accent: #ffe66d;
    --purple: #a855f7;
    --blue: #3b82f6;
    --green: #22c55e;
    --orange: #f97316;
    --pink: #ec4899;
    --dark: #1e293b;
    --light: #f1f5f9;
    --gray: #64748b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 4px 0 var(--primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo img {
    border-radius: 12px;
    border: 3px solid var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.2s;
}

.nav-menu a:hover {
    background: var(--accent);
    color: var(--dark);
}

.nav-menu a.active {
    background: var(--primary);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: var(--primary);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--white);
}

/* Hero Section */
.hero {
    background: var(--primary);
    padding: 160px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--primary);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 50%);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 var(--primary-dark);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 35px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    border: 4px solid var(--dark);
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 4px 4px 0 var(--dark);
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--dark);
}

.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--dark);
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
}

.btn-large {
    padding: 22px 65px;
    font-size: 1.3rem;
}

/* Features */
.features {
    padding: 100px 0 80px;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card {
    text-align: center;
    padding: 35px 25px;
    border-radius: 20px;
    background: var(--light);
    border: 4px solid var(--dark);
    box-shadow: 6px 6px 0 var(--dark);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--dark);
}

.feature-card:nth-child(1) { background: #fef3c7; }
.feature-card:nth-child(2) { background: #dcfce7; }
.feature-card:nth-child(3) { background: #dbeafe; }
.feature-card:nth-child(4) { background: #fce7f3; }

.feature-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--dark);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Articles */
.articles {
    padding: 80px 0;
    background: var(--secondary);
}

.articles h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--dark);
    box-shadow: 6px 6px 0 var(--dark);
    transition: transform 0.2s;
}

.article-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--dark);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 4px solid var(--dark);
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.article-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    background: var(--purple);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 35px;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--accent);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid var(--dark);
    box-shadow: 4px 4px 0 var(--dark);
    background: var(--white);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 800;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-item.active .faq-question {
    background: var(--primary);
    color: var(--white);
}

.faq-item.active .faq-question::after {
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px 25px;
    color: var(--gray);
}

/* About */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-content img {
    width: 100%;
    border-radius: 20px;
    border: 4px solid var(--dark);
    box-shadow: 8px 8px 0 var(--dark);
}

.about-text p {
    margin-bottom: 18px;
    color: var(--gray);
    font-size: 1.05rem;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: var(--blue);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    color: var(--white);
}

.contact-info h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-info ul {
    list-style: none;
    margin-top: 25px;
}

.contact-info li {
    padding: 12px 0;
    font-size: 1.1rem;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 4px solid var(--dark);
    box-shadow: 6px 6px 0 var(--dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: 3px solid var(--dark);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form .btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border-color: var(--dark);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-brand img {
    border-radius: 10px;
    border: 3px solid var(--accent);
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    margin: 0 18px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        border-bottom: 4px solid var(--primary);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero { padding: 140px 0 80px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .btn-large {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
}