@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }
    
    header {
        padding: 10px 15px;
        height: 55px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 15px !important;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        max-width: none;
        letter-spacing: 1px;
        flex-shrink: 0;
        order: 1;
    }
    
    .btn-discord {
        padding: 6px 9px;
        font-size: 9px;
        letter-spacing: 0.5px;
        white-space: nowrap;
        border-width: 1px;
        flex-shrink: 0;
        order: 2;
        margin-left: auto;
        margin-right: 10px;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        flex-shrink: 0;
        order: 3;
        position: relative;
        z-index: 10000;
        padding: 0;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--accent-purple);
        margin: 4px auto;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .mobile-menu {
        position: fixed;
        top: 55px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        padding: 20px 0;
        z-index: 9998;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }
    
    .mobile-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .mobile-menu-links a {
        color: var(--text-muted);
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        transition: 0.3s;
        padding: 8px 0;
        position: relative;
    }
    
    .mobile-menu-links a.active,
    .mobile-menu-links a:hover {
        color: var(--accent-purple);
    }
    
    .mobile-menu-links a.active::after,
    .mobile-menu-links a:hover::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 15px;
        height: 1px;
        background: var(--accent-purple);
    }
    
    .hero {
        padding: 40px 15px !important;
        margin-top: 10px;
    }
    
    .hero h1 {
        font-size: 28px !important;
        line-height: 1.2;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 12px !important;
        line-height: 1.4;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .btn-main {
        padding: 12px 24px !important;
        font-size: 11px !important;
        letter-spacing: 1px;
    }
    
    .chicken-anchor {
        width: 140px;
        height: 140px;
        margin-bottom: 25px;
    }
    
    .chicken-container {
        width: 140px;
        height: 140px;
    }
    
    .main-chicken {
        width: 140px;
    }
    
    .chicken-container::before {
        width: 100px;
        height: 100px;
    }
    
    .tv-wrapper {
        padding: 10px 15px !important;
        min-height: calc(100vh - 55px) !important;
    }
    
    .tv-container {
        width: 100% !important;
        height: 60vh !important;
        margin: 0 !important;
    }
    
    .tv-title {
        font-size: 1.8rem !important;
        margin-bottom: 40px !important;
        padding: 0 15px;
    }
    
    .tv-message {
        font-size: 0.9rem !important;
        margin-bottom: 40px !important;
        padding: 0 15px;
        line-height: 1.4;
    }
    
    .stream-iframe {
        border-radius: 8px;
    }
    
    .tv-loading h1 {
        font-size: 1.2rem !important;
    }
    
    .tv-loading .progress-container {
        width: 250px !important;
    }
    
    .tv-chicken {
        width: 80px !important;
        height: 80px !important;
    }
    
    .tv-chicken-img {
        width: 80px !important;
    }
    
    .tv-chicken::before {
        width: 60px !important;
        height: 60px !important;
    }
    
    .refresh-notice {
        width: 90% !important;
        font-size: 11px !important;
        padding: 8px 15px;
        bottom: 10px;
    }
    
    .main-title-area {
        padding-top: 30px !important;
        margin-bottom: 30px !important;
    }
    
    .main-title-area h1 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .desc-text {
        font-size: 12px !important;
        line-height: 1.4;
        padding: 0 15px;
        max-width: 100% !important;
    }
    
    .lb-text {
        font-size: 28px !important;
    }
    
    .leaderboard-preview {
        margin: 20px 0 !important;
        padding: 0 15px;
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    
    .leaderboard-preview.hidden {
        display: none !important;
    }
    
    .preview-title {
        font-size: 20px !important;
        margin-bottom: 15px !important;
        text-align: center;
    }
    
    .preview-subtitle {
        font-size: 11px !important;
        margin-bottom: 25px !important;
        line-height: 1.4;
        text-align: center;
    }
    
    .preview-tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }
    
    .preview-tab-card {
        width: 100% !important;
        max-width: 280px;
        padding: 20px !important;
    }
    
    .preview-tab-icon {
        height: 40px !important;
        margin-bottom: 10px !important;
    }
    
    .preview-tab-name {
        font-size: 14px !important;
    }
    
    .preview-tab-desc {
        font-size: 10px !important;
    }
    
    .leaderboard-content {
        padding: 0 15px;
        display: none !important;
    }
    
    .leaderboard-content.visible {
        display: block !important;
    }
    
    .tabs-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px !important;
    }
    
    .tab-card {
        width: 100% !important;
        max-width: 280px;
        min-width: auto;
        padding: 20px !important;
        border-radius: 15px;
    }
    
    .tab-icon {
        height: 40px !important;
        margin-bottom: 10px !important;
    }
    
    .tab-name {
        font-size: 14px !important;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .timer-container {
        margin-top: 30px !important;
        margin-bottom: 25px !important;
    }
    
    .timer-label {
        font-size: 10px !important;
        margin-bottom: 10px !important;
    }
    
    .timer-display {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .timer-segment {
        min-width: 60px !important;
        padding: 8px 5px !important;
    }
    
    .timer-num {
        font-size: 20px !important;
    }
    
    .timer-unit {
        font-size: 8px !important;
    }
    
    .header-section {
        margin: 25px 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5px !important;
    }
    
    .header-line {
        display: block !important;
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
        min-width: 40px;
        max-width: 45px;
    }
    
    .section-title-main {
        font-size: 18px !important;
        letter-spacing: 2px !important;
        padding: 0 10px;
        white-space: nowrap;
    }
    
    .podium {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-bottom: 40px !important;
    }
    
    .egg-card {
        width: 100%;
        max-width: 240px;
    }
    
    .egg {
        width: 200px !important;
        height: 270px !important;
    }
    
    .egg.rank-1 {
        width: 220px !important;
        height: 300px !important;
        transform: translateY(0) !important;
    }
    
    .rank-badge {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px;
    }
    
    .avatar {
        width: 70px !important;
        height: 70px !important;
    }
    
    .rank-1 .avatar {
        width: 85px !important;
        height: 85px !important;
    }
    
    .egg > div:nth-child(3) {
        font-size: 13px !important;
    }
    
    .egg.rank-1 > div:nth-child(3) {
        font-size: 14px !important;
    }
    
    .stat-val {
        font-size: 16px !important;
        margin: 8px 0 15px 0 !important;
    }
    
    .stat-val.rank-1 {
        font-size: 20px !important;
    }
    
    .currency-icon {
        width: 16px !important;
        height: 16px !important;
    }
    
    .prize-tag {
        font-size: 10px !important;
        padding: 6px 12px !important;
        margin-top: -12px !important;
    }
    
    .nest {
        width: 160px !important;
        height: 35px !important;
        margin-top: -18px !important;
    }
    
    .glass-panel {
        overflow-x: auto;
        border-radius: 10px;
        margin-bottom: 30px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .glass-panel::-webkit-scrollbar {
        display: none;
    }
    
    .swipe-hint {
        text-align: center;
        color: var(--text-muted);
        font-size: 10px;
        margin-top: -20px;
        margin-bottom: 30px;
        font-weight: 700;
        letter-spacing: 0.5px;
        opacity: 0.7;
    }
    
    table {
        min-width: 500px;
    }
    
    th {
        padding: 15px 5px !important;
        font-size: 10px !important;
    }
    
    td {
        padding: 12px 5px !important;
        font-size: 12px !important;
    }
    
    .rank-col {
        font-size: 12px !important;
    }
    
    .player-info {
        gap: 10px !important;
    }
    
    .pfp-small {
        width: 30px !important;
        height: 30px !important;
    }
    
    .table-currency-icon {
        width: 14px !important;
        height: 14px !important;
    }
    
    .footer-main {
        margin-top: 50px !important;
        padding-top: 40px !important;
    }
    
    .footer-main::before {
        left: 30px !important;
        right: 30px !important;
    }
    
    #viewport {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-desc {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .social-row {
        justify-content: center;
    }
    
    .disclaimer-area {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .disclaimer-area p {
        font-size: 11px;
        line-height: 1.6;
    }
    
    .footer-bottom-credit {
        padding: 20px;
        font-size: 10px !important;
    }
    
    .content-layer {
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .nav-links {
        display: none !important;
    }
}