/* ============================================
   ATLANTIC88 THEME - responsive.css (moban-72)
   3 Breakpoints: 1024px, 768px, 480px
   ============================================ */

/* === TABLET LANDSCAPE (max-width: 1024px) === */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    /* Header */
    .header-top {
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-time {
        display: none;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 12px;
    }

    /* Hero */
    .atlantic-hero {
        min-height: 500px;
    }

    .hero-brand {
        font-size: 42px;
        letter-spacing: 5px;
    }

    .hero-tagline {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .hero-stats-row {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 24px;
    }

    /* Boardwalk Elements */
    .boardwalk-rail {
        display: none;
    }

    .boardwalk-lights {
        padding: 0 20px;
    }

    /* Coastal Games */
    .coastal-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Boardwalk Grid */
    .boardwalk-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .boardwalk-node {
        flex: 0 0 calc(25% - 10px);
        min-width: 100px;
        padding: 15px 10px;
    }

    /* Coastal Features */
    .coastal-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tide Stats */
    .tide-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Coastal Promos */
    .coastal-promos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* News */
    .home-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Related Posts */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Floating Sidebar */
    .floating-sidebar {
        right: 8px;
    }

    .sidebar-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Article Grid */
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Section Titles */
    .section-title {
        font-size: 24px;
    }

    /* Footer CTA */
    .footer-cta-inner h2 {
        font-size: 24px;
    }
}

/* === TABLET PORTRAIT (max-width: 768px) === */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    /* Header */
    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

    .header-btn-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .btn-login, .btn-register, .btn-demo {
        padding: 8px 15px;
        font-size: 11px;
    }

    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
        padding: 10px 15px;
    }

    .main-navigation .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        gap: 0;
    }

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

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(0, 119, 182, 0.1);
        border-radius: 0;
        text-align: left;
    }

    .nav-link:hover {
        background: rgba(0, 119, 182, 0.15);
    }

    /* Notification Bar */
    .notification-content {
        gap: 30px;
        font-size: 12px;
    }

    /* Hero */
    .atlantic-hero {
        min-height: 450px;
        border-radius: 10px;
        margin: 10px 0;
    }

    .hero-inner-content {
        padding: 30px 15px;
    }

    .hero-brand {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .hero-tagline {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .hero-divider-line {
        width: 80px;
        margin: 10px auto;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-stats-row {
        gap: 15px;
    }

    .hero-stat-number {
        font-size: 20px;
    }

    .hero-stat-label {
        font-size: 10px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-silver-primary, .btn-outline-silver {
        padding: 12px 30px;
        font-size: 13px;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Ocean Waves */
    .ocean-waves {
        height: 80px;
    }

    /* Seagulls */
    .seagull {
        display: none;
    }

    /* Boardwalk Lights */
    .boardwalk-lights {
        display: none;
    }

    /* Coastal Games */
    .coastal-games {
        padding: 30px 0;
    }

    .coastal-games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .coastal-game-card {
        padding: 25px 15px;
    }

    .coastal-game-icon {
        font-size: 32px;
    }

    .coastal-game-card h3 {
        font-size: 16px;
    }

    /* Boardwalk Grid */
    .boardwalk-grid {
        padding: 30px 0;
    }

    .boardwalk-game-map {
        padding: 0 15px;
    }

    .boardwalk-row {
        gap: 8px;
    }

    .boardwalk-node {
        flex: 0 0 calc(50% - 8px);
        min-width: auto;
        padding: 12px 8px;
    }

    .node-wave {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .node-label {
        font-size: 11px;
    }

    /* Coastal Features */
    .coastal-features {
        padding: 30px 0;
    }

    .coastal-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .coastal-feature-card {
        padding: 25px 15px;
    }

    .art-deco-icon {
        width: 50px;
        height: 50px;
    }

    .coastal-feature-card h3 {
        font-size: 15px;
    }

    /* Tide Stats */
    .tide-stats {
        padding: 30px 0;
    }

    .tide-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tide-stat-card {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* Coastal Promos */
    .coastal-promos {
        padding: 30px 0;
    }

    .coastal-promos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .coastal-promo-inner {
        padding: 25px 15px;
    }

    .coastal-promo-inner h3 {
        font-size: 14px;
    }

    /* Footer CTA */
    .footer-cta-section {
        padding: 40px 15px;
        border-radius: 10px;
        margin: 20px 0;
    }

    .footer-cta-inner h2 {
        font-size: 20px;
    }

    .footer-cta-inner p {
        font-size: 13px;
    }

    .cta-features {
        flex-direction: column;
        gap: 12px;
    }

    .cta-main-btn {
        font-size: 14px;
        padding: 14px 35px;
    }

    /* News */
    .home-news-section {
        padding: 30px 0;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .article-card-thumb {
        height: 150px;
    }

    .view-more-btn {
        max-width: 200px;
        padding: 12px 30px;
        font-size: 12px;
    }

    /* Content Layout */
    .content-area {
        flex-direction: column;
    }

    /* Article Grid */
    .article-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .article-card-thumb {
        height: 160px;
    }

    /* Single Post */
    .single-article {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .article-title {
        font-size: 22px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    /* Related Posts */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .related-item-thumb {
        height: 80px;
    }

    .related-item-title {
        font-size: 12px;
        padding: 8px;
    }

    /* Category */
    .category-title {
        font-size: 22px;
    }

    .provider-tabs {
        gap: 6px;
    }

    .provider-tab {
        padding: 6px 14px;
        font-size: 11px;
    }

    /* Footer */
    .site-footer {
        padding: 30px 0 20px;
    }

    .footer-columns-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-col h4 {
        font-size: 14px;
    }

    .footer-brand-text {
        font-size: 12px;
    }

    .license-icons {
        gap: 15px;
    }

    .license-item i {
        font-size: 20px;
    }

    /* 404 Error */
    .error-page {
        padding: 50px 15px;
    }

    .error-code {
        font-size: 60px;
    }

    .error-title {
        font-size: 18px;
    }

    /* Floating Sidebar */
    .floating-sidebar {
        position: fixed;
        bottom: 0;
        top: auto;
        right: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 5px;
        background: linear-gradient(180deg, #012A4A, #023E8A);
        border-top: 2px solid #0077B6;
        padding: 8px 10px;
        z-index: 999;
    }

    .sidebar-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    /* Section Titles */
    .section-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }

    /* Announcement Modal */
    .announcement-content {
        padding: 20px 15px;
        max-width: 95%;
    }

    .announcement-title {
        font-size: 15px;
    }

    .announcement-item {
        padding: 10px;
        gap: 8px;
    }

    .announcement-text {
        font-size: 12px;
    }

    .announcement-header-icon i {
        font-size: 36px;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
        padding: 10px 0;
    }

    /* Page */
    .page-article {
        padding: 20px 15px;
    }

    .page-title {
        font-size: 22px;
    }

    /* Pagination */
    .pagination .page-numbers {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

/* === MOBILE (max-width: 480px) === */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 10px;
    }

    /* Header */
    .logo img {
        height: 35px;
    }

    .header-btn-group {
        gap: 5px;
    }

    .btn-login, .btn-register, .btn-demo {
        padding: 7px 12px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    /* Hero */
    .atlantic-hero {
        min-height: 380px;
    }

    .hero-brand {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .hero-divider-line {
        width: 60px;
        height: 2px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-stats-row {
        gap: 10px;
    }

    .hero-stat-number {
        font-size: 18px;
    }

    .hero-stat-label {
        font-size: 9px;
    }

    .btn-silver-primary, .btn-outline-silver {
        padding: 10px 25px;
        font-size: 12px;
    }

    /* Ocean Waves */
    .ocean-waves {
        height: 60px;
    }

    /* Coastal Games */
    .coastal-game-card {
        padding: 20px 12px;
    }

    .coastal-game-icon {
        font-size: 28px;
    }

    .coastal-game-card h3 {
        font-size: 15px;
    }

    .coastal-game-card p {
        font-size: 12px;
    }

    /* Boardwalk Grid */
    .boardwalk-node {
        flex: 0 0 calc(50% - 5px);
        padding: 10px 5px;
    }

    .node-wave {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .node-label {
        font-size: 10px;
    }

    /* Coastal Features */
    .coastal-feature-card {
        padding: 20px 12px;
    }

    .coastal-feature-card h3 {
        font-size: 14px;
    }

    .coastal-feature-card p {
        font-size: 12px;
    }

    /* Tide Stats */
    .tide-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tide-stat-card {
        padding: 15px 8px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 10px;
    }

    .stat-wave-decoration {
        font-size: 14px;
    }

    /* Coastal Promos */
    .coastal-promo-inner {
        padding: 20px 12px;
    }

    .promo-icon {
        font-size: 28px;
    }

    .coastal-promo-inner h3 {
        font-size: 13px;
    }

    .coastal-promo-inner p {
        font-size: 12px;
    }

    .btn-promo {
        padding: 8px 20px;
        font-size: 11px;
    }

    /* Footer CTA */
    .footer-cta-section {
        padding: 30px 10px;
    }

    .footer-cta-inner h2 {
        font-size: 18px;
    }

    .footer-cta-inner p {
        font-size: 12px;
    }

    .cta-lighthouse {
        width: 30px;
        height: 45px;
    }

    .cta-lighthouse::before {
        width: 15px;
        height: 15px;
        top: -10px;
    }

    /* News */
    .article-card-thumb {
        height: 130px;
    }

    .article-card-title {
        font-size: 13px;
        padding: 10px 10px 5px;
    }

    .article-card-meta {
        padding: 0 10px;
        font-size: 11px;
    }

    .article-card-excerpt {
        padding: 0 10px 10px;
        font-size: 12px;
    }

    /* Single Post */
    .article-title {
        font-size: 18px;
    }

    .article-content {
        font-size: 14px;
    }

    .article-nav {
        flex-direction: column;
        gap: 15px;
    }

    /* Related Posts */
    .related-posts-title {
        font-size: 16px;
    }

    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .related-item-thumb {
        height: 70px;
    }

    .related-item-title {
        font-size: 11px;
    }

    /* Category */
    .category-title {
        font-size: 18px;
    }

    .provider-tabs {
        gap: 5px;
    }

    .provider-tab {
        padding: 5px 10px;
        font-size: 10px;
    }

    /* Footer */
    .footer-col h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer-col ul li {
        margin-bottom: 6px;
    }

    .footer-col ul li a {
        font-size: 12px;
    }

    .footer-18plus {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 12px;
    }

    .footer-social-links a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .footer-license-bar h4 {
        font-size: 12px;
    }

    .license-icons {
        gap: 10px;
    }

    .license-item i {
        font-size: 18px;
    }

    .license-item span {
        font-size: 9px;
    }

    .footer-copyright {
        font-size: 11px;
    }

    /* 404 Error */
    .error-code {
        font-size: 48px;
    }

    .error-title {
        font-size: 16px;
    }

    .error-desc {
        font-size: 13px;
    }

    .error-wave-outer {
        width: 80px;
        height: 80px;
    }

    .error-wave-inner {
        width: 55px;
        height: 55px;
    }

    /* Section Titles */
    .section-title {
        font-size: 18px;
    }

    .section-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    /* Floating Sidebar */
    .sidebar-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* Announcement Modal */
    .announcement-content {
        padding: 15px 10px;
    }

    .announcement-title {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .announcement-header-icon i {
        font-size: 30px;
    }

    .announcement-badge {
        font-size: 8px;
        padding: 3px 8px;
        min-width: 35px;
    }

    .announcement-text {
        font-size: 11px;
    }

    .announcement-cta {
        padding: 10px 30px;
        font-size: 12px;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 11px;
        gap: 6px;
    }

    /* Page */
    .page-title {
        font-size: 18px;
    }

    /* Pagination */
    .pagination .page-numbers {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* Article Grid */
    .article-grid {
        gap: 12px;
    }

    .article-card-more {
        font-size: 12px;
    }

    /* Notification Bar */
    .notification-content span {
        font-size: 11px;
    }
}

/* === EXTRA: Landscape & Print === */
@media (max-height: 500px) and (orientation: landscape) {
    .atlantic-hero {
        min-height: 350px;
    }

    .hero-inner-content {
        padding: 20px 15px;
    }

    .announcement-content {
        max-height: 90vh;
    }
}

@media print {
    .site-header,
    .site-footer,
    .floating-sidebar,
    .announcement-modal,
    .notification-bar,
    .hero-cta-group,
    .btn-silver-primary,
    .btn-outline-silver,
    .view-more-btn {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .single-article,
    .page-article {
        border: none;
        background: #fff;
    }

    .article-title,
    .page-title {
        color: #000;
    }

    .article-content,
    .page-content {
        color: #333;
    }
}
