/* ============================================
   CRYPTOKING THEME - responsive.css (moban-179)
   加密王BTC符号风格 - Responsive Styles
   ============================================ */

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

    .hero-btc-symbol {
        font-size: 150px;
        right: 20px;
        opacity: 0.5;
    }

    /* Categories */
    .crypto-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Featured Games */
    .featured-games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Blockchain Features */
    .blockchain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

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

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

    /* Jackpot */
    .jackpot-amount {
        font-size: 32px;
    }
}

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

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

    .logo img {
        height: 40px;
    }

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

    .btn-login,
    .btn-register,
    .btn-demo {
        padding: 8px 14px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
        margin: 10px 0;
    }

    .main-navigation .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        padding: 12px 15px;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 215, 0, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    /* Hero */
    .cryptoking-hero {
        min-height: 450px;
        padding: 40px 0;
    }

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

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

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

    .hero-stats-row {
        flex-wrap: wrap;
        gap: 20px;
    }

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

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

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

    .btn-gold-primary,
    .btn-outline-white {
        padding: 12px 30px;
        font-size: 14px;
        width: 80%;
        text-align: center;
    }

    .hero-btc-symbol {
        font-size: 100px;
        right: 10px;
        opacity: 0.3;
    }

    /* Categories */
    .crypto-cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .crypto-cat-card {
        padding: 20px 10px;
    }

    .crypto-cat-icon {
        font-size: 30px;
    }

    .crypto-cat-name {
        font-size: 11px;
    }

    /* Featured Games */
    .featured-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Blockchain Features */
    .blockchain-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .blockchain-card {
        padding: 25px 20px;
    }

    .blockchain-card-icon {
        font-size: 40px;
    }

    .blockchain-card-title {
        font-size: 16px;
    }

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

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

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

    .crypto-stat-icon {
        font-size: 28px;
    }

    /* Promos */
    .crypto-promos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Jackpot */
    .jackpot-inner {
        flex-direction: column;
        gap: 10px;
    }

    .jackpot-amount {
        font-size: 28px;
    }

    .jackpot-label {
        font-size: 12px;
    }

    /* Payment */
    .payment-grid {
        gap: 10px;
    }

    .payment-item {
        padding: 10px 15px;
    }

    /* Content */
    .content-area {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px 0 40px;
    }

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

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

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

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

    .article-card-more {
        margin: 5px 10px 10px;
        padding: 6px 14px;
        font-size: 11px;
    }

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

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

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

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

    .article-content h2 {
        font-size: 18px;
    }

    .article-content h3 {
        font-size: 16px;
    }

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

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

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

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

    .provider-tabs {
        gap: 6px;
    }

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

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

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

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

    .error-btc {
        font-size: 80px;
    }

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

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

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

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

    .license-icons {
        gap: 15px;
    }

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

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

    .sidebar-btn {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

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

    /* CTA Banner */
    .cta-banner h2 {
        font-size: 24px;
    }

    .cta-banner p {
        font-size: 14px;
    }

    /* Search */
    .search-form {
        flex-direction: column;
    }

    .search-form .search-submit {
        width: 100%;
    }
}

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

    .container {
        padding: 0 10px;
    }

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

    .logo {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 8px;
    }

    .logo img {
        height: 35px;
    }

    .header-btn-group {
        flex: 0 0 100%;
        justify-content: center;
    }

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

    /* Hero */
    .cryptoking-hero {
        min-height: 380px;
        padding: 30px 0;
    }

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

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

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

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

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

    .hero-cta-group {
        gap: 10px;
    }

    .btn-gold-primary,
    .btn-outline-white {
        padding: 10px 25px;
        font-size: 13px;
        width: 90%;
    }

    .hero-btc-symbol {
        display: none;
    }

    /* Categories */
    .crypto-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .crypto-cat-card {
        padding: 18px 8px;
    }

    .crypto-cat-icon {
        font-size: 25px;
        margin-bottom: 10px;
    }

    .crypto-cat-name {
        font-size: 10px;
    }

    .crypto-cat-count {
        font-size: 9px;
    }

    /* Featured Games */
    .featured-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-card-info {
        padding: 8px 10px;
    }

    .game-card-title {
        font-size: 11px;
    }

    .game-card-provider {
        font-size: 10px;
    }

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

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

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

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

    /* Promos */
    .promo-card-image {
        height: 140px;
    }

    .promo-card-body {
        padding: 18px;
    }

    .promo-card-title {
        font-size: 15px;
    }

    /* Jackpot */
    .jackpot-amount {
        font-size: 24px;
    }

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

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

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

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

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

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

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

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

    .article-content h2 {
        font-size: 16px;
    }

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

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

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

    .provider-tabs {
        gap: 5px;
    }

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

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

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

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

    .license-icons {
        gap: 12px;
    }

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

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

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

    .footer-disclaimer {
        font-size: 11px;
        padding: 15px 10px;
    }

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

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

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

    .section-title p {
        font-size: 13px;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 40px 0;
    }

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

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

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

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

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

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

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

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

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

    /* Mining Feed */
    .mining-feed-inner {
        gap: 20px;
    }

    .mining-item {
        font-size: 10px;
    }

    /* Chain Divider */
    .chain-divider {
        padding: 15px 0;
    }

    .chain-link {
        width: 20px;
        height: 14px;
    }

    .chain-btc {
        font-size: 16px;
    }

    /* Notification */
    .notification-content {
        gap: 20px;
    }

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

    /* Payment */
    .payment-item {
        padding: 8px 12px;
    }

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

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

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

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

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

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

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

    /* Widget */
    .widget {
        padding: 15px;
    }

    .widget-title {
        font-size: 13px;
    }

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

    /* Testimonials */
    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 13px;
    }

    .testimonial-avatar {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    /* Blockchain */
    .blockchain-card {
        padding: 20px 15px;
    }

    .blockchain-card-icon {
        font-size: 35px;
    }

    .blockchain-card-title {
        font-size: 15px;
    }

    .blockchain-card-desc {
        font-size: 13px;
    }
}

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

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

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

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

    .featured-games-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .jackpot-amount {
        font-size: 20px;
    }

    .btn-gold-primary,
    .btn-outline-white {
        width: 100%;
    }
}

/* === LARGE SCREENS (min-width: 1400px) === */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

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

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

    .crypto-cat-grid {
        grid-template-columns: repeat(6, 1fr);
    }

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

    .article-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    body {
        background: #FFFFFF;
        color: #000000;
    }

    .single-article,
    .page-article {
        background: #FFFFFF;
        border: none;
        padding: 0;
    }

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

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

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

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

    html {
        scroll-behavior: auto;
    }
}

/* === HIGH CONTRAST === */
@media (prefers-contrast: high) {
    body {
        background: #000000;
        color: #FFFFFF;
    }

    a {
        color: #FFD700;
    }

    .article-card,
    .single-article,
    .page-article,
    .game-card,
    .crypto-cat-card,
    .blockchain-card,
    .promo-card,
    .testimonial-card {
        border-color: #FFD700;
    }
}
