/* ============================================
   REEFWIN THEME - responsive.css (moban-162)
   Reef & Seabed Ocean Theme
   Colors: #0277BD, #00695C, #E65100
   ============================================ */

/* === 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 */
    .reefwin-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;
    }

    /* Coral Formation */
    .coral-formation {
        right: 20px;
        width: 150px;
        height: 150px;
        opacity: 0.6;
    }

    .coral-branch-1 { width: 22px; height: 60px; left: 22px; }
    .coral-branch-2 { width: 18px; height: 75px; left: 48px; }
    .coral-branch-3 { width: 26px; height: 52px; left: 71px; }
    .coral-branch-4 { width: 15px; height: 67px; right: 22px; }
    .coral-branch-5 { width: 21px; height: 45px; right: 41px; }
    .coral-branch-6 { width: 16px; height: 56px; right: 60px; }

    /* Reef Star Games */
    .reef-star-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reef Grid */
    .reef-grid-row {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

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

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

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

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

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

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

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

    /* Ocean Currents */
    .current-wave {
        height: 3px;
    }

    /* Decorative Elements */
    .ocean-depth-indicator {
        display: none;
    }

    .reef-seaweed {
        width: 15px;
    }
}

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

    /* Header */
    .header-top {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .logo img {
        height: 40px;
    }

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

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

    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation .container {
        position: relative;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #051a35;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        border: 1px solid rgba(2, 119, 189, 0.3);
    }

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

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(2, 119, 189, 0.1);
    }

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

    /* Hero */
    .reefwin-hero {
        min-height: 450px;
    }

    .coral-formation {
        display: none;
    }

    .hero-inner-content {
        padding: 30px 20px;
        text-align: center;
        max-width: 100%;
    }

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

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

    .hero-divider-line {
        margin: 12px auto;
    }

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

    .hero-stats-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

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

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

    .hero-cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    /* Section Titles */
    .section-title {
        font-size: 22px;
        letter-spacing: 2px;
    }

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

    /* Reef Star Games */
    .reef-star-games {
        padding: 40px 0;
    }

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

    .reef-star-game-card {
        clip-path: none;
        border-radius: 12px;
    }

    /* Reef Grid */
    .reef-grid-section {
        padding: 40px 0;
    }

    .reef-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .reef-grid-node {
        padding: 20px 10px;
    }

    .reef-node-icon i {
        font-size: 22px;
    }

    .reef-node-label {
        font-size: 12px;
    }

    /* Ocean Features */
    .ocean-features {
        padding: 40px 0;
    }

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

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

    /* Reef Stats */
    .reef-stats {
        padding: 40px 0;
    }

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

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

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

    /* Reef Promos */
    .reef-promos {
        padding: 40px 0;
    }

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

    /* Footer CTA */
    .footer-cta-section {
        padding: 50px 0;
    }

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

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

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

    .cta-reef-coral {
        width: 40px;
        height: 40px;
    }

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

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

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

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

    /* Single Article */
    .single-article {
        padding: 20px;
    }

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

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

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

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

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

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

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

    .license-icons {
        gap: 10px;
    }

    .license-item {
        padding: 8px 10px;
    }

    /* Sidebar */
    .floating-sidebar {
        position: fixed;
        bottom: 10px;
        top: auto;
        right: 10px;
        transform: none;
        flex-direction: row;
        gap: 6px;
    }

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

    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }

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

    .provider-tabs {
        gap: 5px;
    }

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

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

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

    /* Error Page */
    .error-code {
        font-size: 70px;
    }

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

    .error-page {
        padding: 50px 15px;
    }

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

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

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

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

    .announcement-item {
        padding: 10px;
    }

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

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

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

    /* Decorative */
    .current-wave {
        opacity: 0.3;
    }

    .reef-vent {
        width: 30px;
        height: 40px;
    }

    .seabed-particles {
        height: 60px;
    }

    .ocean-surface-shimmer {
        height: 2px;
    }
}

/* === MOBILE (max-width: 480px) === */
@media (max-width: 480px) {
    /* Header */
    .logo img {
        height: 35px;
    }

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

    .btn-login,
    .btn-register,
    .btn-demo {
        padding: 5px 10px;
        font-size: 10px;
    }

    /* Hero */
    .reefwin-hero {
        min-height: 400px;
        border-radius: 10px;
    }

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

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

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

    .btn-ocean-primary,
    .btn-outline-ocean {
        padding: 10px 20px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }

    .hero-cta-group {
        flex-direction: column;
    }

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

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

    /* Reef Star Games */
    .reef-star-game-icon i {
        font-size: 30px;
    }

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

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

    /* Reef Grid */
    .reef-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .reef-grid-node {
        padding: 15px 8px;
    }

    .reef-node-icon i {
        font-size: 20px;
    }

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

    /* Ocean Features */
    .ocean-feature-icon i {
        font-size: 28px;
    }

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

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

    /* Reef Stats */
    .reef-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .reef-stat-card {
        padding: 20px 15px;
    }

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

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

    .stat-reef-decoration i {
        font-size: 16px;
    }

    /* Reef Promos */
    .reef-promo-inner {
        padding: 20px 15px;
    }

    .reef-promo-inner h3 {
        font-size: 15px;
    }

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

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

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

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

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

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

    .article-card-title span,
    .article-card-title a {
        font-size: 14px;
    }

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

    .view-more-btn {
        padding: 10px 25px;
        font-size: 13px;
    }

    /* Single Article */
    .single-article {
        padding: 15px;
    }

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

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

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

    /* Related Posts */
    .related-grid {
        grid-template-columns: 1fr;
    }

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

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

    .related-posts-title {
        font-size: 18px;
    }

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

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

    .footer-social-links a {
        width: 32px;
        height: 32px;
    }

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

    .footer-license-bar {
        padding: 15px 0;
    }

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

    .license-icons {
        gap: 8px;
    }

    .license-item {
        padding: 6px 8px;
    }

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

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

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

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

    /* Error Page */
    .error-code {
        font-size: 60px;
    }

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

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

    .error-reef-coral {
        width: 50px;
        height: 50px;
    }

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

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

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

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

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

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

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

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

    .announcement-badge {
        font-size: 9px;
        min-width: 35px;
        padding: 2px 6px;
    }

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

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

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

    /* Ocean Currents */
    .current-wave {
        height: 2px;
    }

    /* Tide Sweep */
    .tide-sweep-effect {
        opacity: 0.5;
    }

    /* DMCA & Disclaimer */
    .footer-disclaimer {
        font-size: 11px !important;
        padding: 15px 10px !important;
    }

    /* Decorative Elements */
    .wave-divider {
        height: 20px;
    }

    .coral-polyps {
        gap: 3px;
    }

    .coral-polyp {
        width: 6px;
        height: 6px;
    }

    .reef-bubble {
        display: none;
    }

    .bioluminescent-spot {
        width: 3px;
        height: 3px;
    }

    .jellyfish-float {
        width: 15px;
        height: 22px;
    }

    .fish-swim {
        font-size: 12px;
    }

    .seahorse-bob {
        font-size: 14px;
    }

    .pearl-glow {
        width: 8px;
        height: 8px;
    }

    .shell-decoration {
        width: 22px;
        height: 15px;
    }

    .deep-sea-card::after {
        height: 1px;
    }

    .reef-glow-effect {
        box-shadow: 0 0 10px rgba(2, 119, 189, 0.1);
    }
}

/* === ULTRA SMALL (max-width: 360px) === */
@media (max-width: 360px) {
    .hero-brand {
        font-size: 24px;
    }

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

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

    .reef-star-game-card {
        padding: 20px 15px;
    }

    .btn-ocean-primary,
    .btn-outline-ocean {
        padding: 10px 15px;
        font-size: 11px;
    }

    .reef-grid-row {
        gap: 5px;
    }

    .reef-grid-node {
        padding: 12px 5px;
    }

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

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

    /* Header */
    .header-btn-group {
        gap: 3px;
    }

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

    /* Footer */
    .footer-columns-grid {
        gap: 20px;
    }

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

    /* Sidebar */
    .floating-sidebar {
        gap: 4px;
    }

    .sidebar-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* Announcement */
    .announcement-content {
        padding: 12px;
    }

    .announcement-list {
        gap: 8px;
    }

    /* Error Page */
    .error-code {
        font-size: 50px;
    }

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

    .error-reef-coral {
        width: 40px;
        height: 40px;
    }

    /* Decorative */
    .wave-divider {
        height: 15px;
    }

    .ocean-surface-shimmer {
        display: none;
    }

    .seabed-particles {
        height: 40px;
    }

    .coral-formation {
        display: none;
    }
}
