/* ============================================
   SHARKWIN THEME - responsive.css (moban-65)
   Shark Totem Ocean Depth Theme - Responsive
   Breakpoints: 1024px, 768px, 480px
   ============================================ */

/* === TABLET BREAKPOINT 1024px === */
@media (max-width: 1024px) {

    /* Header */
    .header-top {
        padding: 10px 0;
    }

    .logo img {
        height: 42px;
    }

    .header-time {
        display: none;
    }

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

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

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

    /* Hero Section */
    .shark-hero {
        min-height: 500px;
        padding: 60px 15px;
    }

    .hero-brand {
        font-size: 44px;
        letter-spacing: 4px;
    }

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

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

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

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

    .shark-fin-svg {
        width: 100px;
        height: 65px;
    }

    /* Content Area */
    .content-area {
        grid-template-columns: 1fr 240px;
        gap: 20px;
    }

    /* Shark Games Grid */
    .shark-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Ocean Grid */
    .ocean-grid-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

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

    .ocean-node-icon i {
        font-size: 24px;
    }

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

    /* Features */
    .shark-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

    /* Promos */
    .ocean-promos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

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

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

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

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

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

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

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

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

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

/* === MOBILE BREAKPOINT 768px === */
@media (max-width: 768px) {

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

    .logo {
        flex: 0 0 auto;
    }

    .logo img {
        height: 38px;
    }

    .header-btn-group {
        margin-left: auto;
    }

    .btn-demo {
        display: none;
    }

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

    /* Navigation - Mobile */
    .mobile-menu-toggle {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px 15px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: linear-gradient(180deg, #001a33, #001122);
        border-top: 1px solid rgba(192, 192, 192, 0.1);
    }

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

    .nav-link {
        padding: 12px 20px;
        font-size: 13px;
        border-bottom: 1px solid rgba(192, 192, 192, 0.05);
    }

    .main-navigation .container {
        padding: 0;
    }

    /* Notification Bar */
    .notification-content {
        animation-duration: 20s;
    }

    .notification-content span {
        font-size: 12px;
    }

    /* Hero */
    .shark-hero {
        min-height: 450px;
        padding: 50px 15px;
        margin: -15px -15px 30px -15px;
    }

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

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

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

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

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

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

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

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

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

    .shark-fin-svg {
        width: 80px;
        height: 55px;
    }

    .wave-svg {
        height: 50px;
    }

    /* Bubbles - mobile adjustment */
    .bubble-3, .bubble-6 {
        display: none;
    }

    /* Content Area */
    .content-area {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .section-title i {
        font-size: 18px;
    }

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

    /* Shark Games */
    .shark-games {
        padding: 35px 0;
    }

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

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

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

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

    /* Ocean Grid */
    .ocean-grid {
        padding: 35px 0;
    }

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

    .ocean-grid-node {
        padding: 18px 10px;
    }

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

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

    /* Features */
    .shark-features {
        padding: 35px 0;
    }

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

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

    .fin-icon {
        width: 60px;
        height: 60px;
    }

    .fin-icon i {
        font-size: 24px;
    }

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

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

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

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

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

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

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

    /* Promos */
    .ocean-promos {
        padding: 35px 0;
    }

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

    .ocean-promo-inner {
        padding: 25px 20px;
    }

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

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

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

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

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

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

    .cta-feature {
        font-size: 13px;
    }

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

    .cta-fin-svg {
        width: 60px;
        height: 45px;
    }

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

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

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

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

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

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

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

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

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

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

    .license-icons {
        gap: 20px;
    }

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

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

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

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

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

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

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

    .announcement-item {
        padding: 10px 12px;
    }

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

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

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

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

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

    .article-meta {
        font-size: 12px;
        gap: 12px;
    }

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

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

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

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

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

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

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

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

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

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

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

    /* Category */
    .category-header {
        padding: 20px 15px;
    }

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

    .provider-tabs {
        gap: 6px;
    }

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

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

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

/* === SMALL MOBILE BREAKPOINT 480px === */
@media (max-width: 480px) {

    /* Header */
    .header-top {
        gap: 8px;
    }

    .logo img {
        height: 32px;
    }

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

    /* Navigation */
    .mobile-menu-toggle {
        font-size: 20px;
        padding: 10px 12px;
    }

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

    /* Hero */
    .shark-hero {
        min-height: 400px;
        padding: 40px 10px;
    }

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

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

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

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

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

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

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

    .shark-fin-svg {
        width: 60px;
        height: 40px;
    }

    .shark-fin-silhouette {
        top: 12%;
    }

    .ripple-waves {
        top: 16%;
    }

    .ripple-1 { width: 40px; height: 20px; left: -20px; }
    .ripple-2 { width: 70px; height: 35px; left: -35px; }
    .ripple-3 { width: 100px; height: 50px; left: -50px; }

    /* Bubble hide on small */
    .bubble-4, .bubble-7, .bubble-8 {
        display: none;
    }

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

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

    /* Ocean Grid */
    .ocean-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

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

    .ocean-node-icon i {
        font-size: 18px;
    }

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

    /* Stats */
    .ocean-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ocean-stat-card {
        padding: 20px 12px;
    }

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

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

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

    /* 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;
        font-size: 12px;
    }

    /* Sidebar - very small screens */
    .floating-sidebar {
        right: 3px;
        gap: 6px;
    }

    .sidebar-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

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

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

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

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

    .article-meta {
        font-size: 11px;
        gap: 8px;
    }

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

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

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

/* === LANDSCAPE MOBILE === */
@media (max-width: 768px) and (orientation: landscape) {
    .shark-hero {
        min-height: 350px;
    }

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

    .shark-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ocean-promos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === PRINT STYLES === */
@media print {
    .site-header,
    .site-footer,
    .floating-sidebar,
    .announcement-modal,
    .notification-bar {
        display: none !important;
    }

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

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

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .bubble, .ripple, .wave-svg {
        animation: none !important;
    }

    .shark-fin-silhouette {
        animation: none !important;
    }
}

/* === HIGH DPI DISPLAYS === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .shark-fin-svg,
    .cta-fin-svg,
    .error-shark-svg {
        shape-rendering: geometricPrecision;
    }
}
