/* ==============================
   Responsive CSS - Game Website
   ============================== */

/* ======= Tablets (768px - 1024px) ======= */
@media (max-width: 1024px) {
    .header-top {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .logo-img {
        height: 76px;
    }

    header nav a {
        font-size: 1rem;
    }

    .hero {
        height: 58vh;
        min-height: 430px;
    }

    .hero-title {
        font-size: 2.9rem;
    }

    main {
        padding: 1.5rem;
    }

    .games-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

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

    .news-page-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ======= Mobile (480px - 768px) ======= */
@media (max-width: 768px) {
    :root {
        --header-offset: 148px;
    }

    .header-top {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    header nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.45rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    main {
        padding: 1rem;
        max-width: 100%;
    }

    .heror {
        height: 250px;
        margin-bottom: 1.5rem;
    }

    .games-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-card img {
        height: 200px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-grid img {
        order: -1;
    }

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

    .contact-hero {
        padding: 1.4rem 1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-card-header {
        height: 260px;
    }

    .news-card-image img {
        height: 220px;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }

    .logo-img {
        height: 68px;
    }

    .hero {
        height: 56vh;
        min-height: 390px;
    }

    .hero-content {
        width: 90%;
        justify-content: flex-end;
        padding-bottom: 2rem;
    }

    .hero-content {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section-shell {
        padding: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .game-header {
        grid-template-columns: 1fr;
    }

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

    .info-row {
        flex-direction: column;
    }

    .info-value {
        text-align: left;
        margin-top: 5px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-icon {
        font-size: 2.5rem;
    }

    .achievements-card {
        padding: 1.5rem;
    }

    .achievement-number {
        font-size: 1.5rem;
        min-width: 100px;
    }

    .achievement-text {
        font-size: 0.95rem;
    }

    form {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    footer {
        padding: 1.5rem;
    }
}

/* ======= Small Mobile (320px - 480px) ======= */
@media (max-width: 480px) {
    :root {
        --header-offset: 140px;
    }

    .logo {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    main {
        padding: 0.75rem;
    }

    .heror {
        height: 200px;
        margin-bottom: 1rem;
    }

    .about-intro {
        padding: 1rem;
        font-size: 1rem;
    }

    .game-card img {
        height: 180px;
    }

    .news-card-header {
        height: 220px;
    }

    .news-card-image img {
        height: 180px;
    }

    .game-info {
        padding: 1rem;
    }

    .games-container {
        gap: 1rem;
    }

    .btn {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
        margin-top: 0.5rem;
    }

    .vision-mission-grid {
        gap: 1rem;
    }

    .vision-card,
    .mission-card {
        padding: 1rem;
    }

    .value-icon {
        font-size: 2rem;
    }

    .achievement-number {
        font-size: 1.3rem;
        min-width: 80px;
    }

    .achievement-text {
        font-size: 0.9rem;
    }

    form {
        padding: 1rem;
    }

    input,
    textarea {
        padding: 0.75rem;
        margin: 0.75rem 0 1rem 0;
    }

    label {
        margin-top: 1rem;
        font-size: 0.95rem;
    }

    footer p {
        font-size: 0.9rem;
    }

    header nav ul {
        gap: 0.8rem;
    }

    header nav a {
        font-size: 0.95rem;
    }

    .logo-img {
        height: 58px;
    }

    .hero {
        min-height: 350px;
        height: 52vh;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-kicker {
        font-size: 0.76rem;
    }

    .hero-desc {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .news-page-grid {
        grid-template-columns: 1fr;
    }

    .hero-stat strong {
        font-size: 0.92rem;
    }

    .hero-stat span {
        font-size: 0.75rem;
    }

    .section-shell {
        border-radius: 12px;
    }
}

/* ======= Print Styles ======= */
@media print {
    header,
    footer,
    .btn {
        display: none;
    }

    main {
        box-shadow: none;
        padding: 0;
    }

    .game-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
