/* ============================================
   MOBILE RESPONSIVE STYLES FOR MEMECOIN REDESIGN
   Comprehensive mobile optimization
   ============================================ */

/* === MOBILE TYPOGRAPHY === */
@media only screen and (max-width: 767px) {
    h1 {
        font-size: 36px !important;
        line-height: 1.3 !important;
        text-shadow:
            2px 2px 0 #000,
            -1px -1px 0 #FFD700,
            0 0 20px rgba(255, 107, 53, 0.6) !important;
    }

    h2 {
        font-size: 32px !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 24px !important;
        line-height: 1.4 !important;
    }

    h4, h5, h6 {
        font-size: 18px !important;
    }

    p {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    .welcome-content p {
        font-size: 16px !important;
    }

    .welcome-content ul li {
        font-size: 16px !important;
        padding-left: 35px;
    }

    .welcome-content ul li::before {
        font-size: 20px;
        left: 5px;
    }
}

/* === MOBILE HERO SECTION === */
@media only screen and (max-width: 767px) {
    .hero-section {
        min-height: auto !important;
        padding: 80px 0 50px !important;
    }

    .hero-section::before {
        font-size: 200px;
        right: -50px;
    }

    /* Hide floating decorations on mobile for cleaner look */
    .hero-section > div[style*="position:absolute"] {
        display: none !important;
    }

    .welcome-content {
        padding: 20px 0;
        text-align: center;
    }

    .welcome-content h1::after {
        height: 4px;
        bottom: -8px;
    }

    .hedo-wrapper, .comp-img {
        margin-top: 30px !important;
        padding: 0 20px;
    }
}

/* === MOBILE NAVIGATION === */
@media only screen and (max-width: 991px) {
    .navbar {
        padding: 10px 0 !important;
    }

    .navbar .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .navbar-brand img {
        width: 160px !important;
    }

    .navbar-toggler {
        border: 3px solid #FFD700 !important;
        background: linear-gradient(135deg, #FFD700 0%, #FF6B35 100%) !important;
        border-radius: 10px !important;
        padding: 8px 12px !important;
    }

    .navbar-collapse {
        background: linear-gradient(135deg, #1a0b2e 0%, #2d1b3d 100%) !important;
        margin-top: 15px;
        padding: 20px !important;
        border-radius: 20px !important;
        border: 3px solid #FFD700 !important;
    }

    .nav-link {
        padding: 12px 15px !important;
        font-size: 16px !important;
        border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }
}

/* === MOBILE BUTTONS === */
@media only screen and (max-width: 767px) {
    .copy-btn, .btn {
        height: 50px !important;
        line-height: 50px !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
        font-size: 14px !important;
        border: 4px solid #000 !important;
        box-shadow:
            4px 4px 0 #FF1493,
            8px 8px 0 rgba(0, 0, 0, 0.2),
            0 0 30px rgba(255, 215, 0, 0.5) !important;
    }

    .copy-btn:hover, .btn:hover {
        transform: translate(2px, 2px) scale(1.02) !important;
        box-shadow:
            2px 2px 0 #FF1493,
            4px 4px 0 rgba(0, 0, 0, 0.2),
            0 0 40px rgba(255, 215, 0, 0.6) !important;
    }

    .lh-55px {
        line-height: normal !important;
        margin-top: 15px;
    }
}

/* === MOBILE CARDS & SECTIONS === */
@media only screen and (max-width: 767px) {
    .service_single_content,
    .services-block-four,
    .single-testimonial {
        transform: rotate(0deg) !important;
        border: 4px solid #FFD700 !important;
        border-radius: 20px !important;
        padding: 25px 20px !important;
        margin-bottom: 30px !important;
        box-shadow:
            6px 6px 0 #FF6B35,
            -3px -3px 0 rgba(255, 20, 147, 0.3),
            0 0 40px rgba(255, 215, 0, 0.2) !important;
    }

    .service_single_content:hover,
    .services-block-four:hover,
    .single-testimonial:hover {
        transform: scale(1.02) !important;
        box-shadow:
            8px 8px 0 #FF1493,
            -4px -4px 0 #FFD700,
            0 0 50px rgba(255, 107, 53, 0.4) !important;
    }

    .service_single_content::before,
    .services-block-four::before {
        width: 60px;
        height: 60px;
        font-size: 30px;
        top: -15px;
        right: -15px;
        border: 3px solid #FFD700;
    }

    .service_single_content::after,
    .services-block-four::after {
        display: none;
    }
}

/* === MOBILE SECTION PADDING === */
@media only screen and (max-width: 767px) {
    .section-padding-100,
    .section-padding-100-70,
    .section-padding-100-85,
    .section-padding-0-100 {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .section-padding-100-50 {
        padding-top: 50px !important;
        padding-bottom: 30px !important;
    }

    .darky {
        padding: 50px 0 30px !important;
    }
}

/* === MOBILE SECTION HEADINGS === */
@media only screen and (max-width: 767px) {
    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        padding: 15px 25px !important;
        font-size: 28px !important;
        border: 4px solid #FFD700 !important;
        border-radius: 20px !important;
        transform: rotate(0deg) !important;
        box-shadow:
            6px 6px 0 rgba(0, 0, 0, 0.2),
            0 0 40px rgba(255, 215, 0, 0.4) !important;
    }

    .section-heading::before {
        font-size: 40px;
        top: -30px;
    }

    .section-heading::after {
        font-size: 12px;
        padding: 8px 20px;
        top: -35px;
        right: -15px;
        border: 3px solid #FFD700;
    }

    .bg-title {
        font-size: 36px;
        margin-bottom: -20px;
    }
}

/* === MOBILE CONTRACT ADDRESS === */
@media only screen and (max-width: 767px) {
    .contract-add {
        padding: 15px !important;
        border: 4px dashed #FFD700 !important;
        border-radius: 20px !important;
        box-shadow:
            0 0 0 8px rgba(255, 215, 0, 0.1),
            6px 6px 0 #FF6B35,
            0 0 40px rgba(255, 107, 53, 0.3) !important;
        margin: 20px 0;
    }

    .contract-add::before {
        font-size: 11px;
        padding: 3px 15px;
        top: -20px;
    }

    .contract-add span {
        font-size: 11px !important;
        word-break: break-all;
        display: block;
        margin: 10px 0;
    }

    .contract-add .copy-btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* === MOBILE IMAGES === */
@media only screen and (max-width: 767px) {
    .floating-anim,
    .hedo-wrapper img,
    .comp-img {
        border: 4px solid transparent !important;
        border-radius: 20px !important;
        max-width: 100%;
        height: auto;
    }

    .welcome-meter img {
        max-width: 90% !important;
        margin: 0 auto;
        display: block;
    }
}

/* === MOBILE TOKEN INFORMATION === */
@media only screen and (max-width: 767px) {
    .token-information {
        text-align: center;
    }

    .token-information li {
        margin-bottom: 25px !important;
        display: inline-block;
        width: 100%;
    }

    .token-information li img {
        max-width: 80px !important;
        height: auto;
    }

    .token-information li h6 {
        font-size: 16px !important;
        margin-top: 10px;
    }

    .who-we-contant {
        padding: 20px !important;
        border-radius: 15px !important;
        margin-bottom: 20px;
    }
}

/* === MOBILE FOOTER === */
@media only screen and (max-width: 767px) {
    .footer-content-area {
        padding: 30px 20px !important;
        margin-top: 50px !important;
    }

    .footer-social-info a i {
        width: 35px !important;
        height: 30px !important;
        line-height: 30px !important;
        font-size: 16px !important;
        margin-right: 10px !important;
        border-radius: 8px !important;
    }

    .footer-links li {
        margin-right: 15px;
        margin-bottom: 15px;
        font-size: 14px;
    }

    .footer-copywrite-info p {
        font-size: 11px !important;
        text-align: center !important;
    }
}

/* === MOBILE SCROLL TO TOP === */
@media only screen and (max-width: 767px) {
    #scrollUp {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 8px !important;
        border: 3px solid #000 !important;
        box-shadow: 3px 3px 0 #FF1493 !important;
    }

    #scrollUp:hover {
        transform: scale(1.1) rotate(10deg) !important;
        box-shadow: 4px 4px 0 #FF1493 !important;
    }
}

/* === MOBILE TIMELINE === */
@media only screen and (max-width: 767px) {
    .timeline-split .timeline {
        padding: 30px 15px;
    }

    .timeline-split .timeline .block {
        width: 100% !important;
        padding: 20px;
        margin-bottom: 30px;
        border-radius: 15px !important;
        transform: rotate(0deg) !important;
    }

    .timeline-split .timeline::after,
    .timeline-split .timeline::before {
        display: none;
    }

    .timeline .block .date {
        padding: 4px 10px;
        font-size: 11px;
        border-radius: 10px;
    }

    .timelineBody {
        max-height: none !important;
    }

    .timelineHeader {
        padding: 20px !important;
        border-radius: 15px 15px 0 0 !important;
    }

    .timelineHeader h3 {
        font-size: 24px !important;
    }
}

/* === MOBILE COUNTDOWN TIMER === */
@media only screen and (max-width: 767px) {
    .ico-counter {
        height: auto !important;
    }

    .d {
        width: 22% !important;
        font-size: 13px !important;
        height: 60px !important;
        padding: 8px 2px !important;
        margin-right: 4px !important;
        border-radius: 12px !important;
        border: 2px solid #FFD700 !important;
    }

    .d:last-child {
        margin-right: 0 !important;
    }
}

/* === MOBILE ABOUT SECTION === */
@media only screen and (max-width: 767px) {
    .who-we-contant.wavy-border {
        border-left: 4px solid #FF6B35 !important;
        padding: 20px !important;
        margin-top: 30px;
    }

    .who-we-contant h4 {
        font-size: 24px !important;
        margin-bottom: 15px;
    }
}

/* === MOBILE TESTIMONIALS === */
@media only screen and (max-width: 767px) {
    .testimonial_image {
        height: 80px !important;
        width: 80px !important;
    }

    .testimonial_image > img {
        border: 2px solid #FFD700 !important;
    }

    .testimonial_text > p {
        font-size: 14px !important;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .admin_text > h5 {
        font-size: 14px !important;
    }

    .admin_text > p {
        font-size: 12px !important;
    }
}

/* === MOBILE FINE TUNING === */
@media only screen and (max-width: 480px) {
    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 26px !important;
    }

    h3 {
        font-size: 20px !important;
    }

    .service_single_content,
    .services-block-four {
        padding: 20px 15px !important;
    }

    .copy-btn, .btn {
        height: 45px !important;
        line-height: 45px !important;
        font-size: 12px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .d {
        width: 22% !important;
        font-size: 11px !important;
        height: 55px !important;
    }

    .navbar-brand img {
        width: 140px !important;
    }

    .section-heading h2 {
        font-size: 24px !important;
        padding: 12px 20px !important;
    }
}

/* === LANDSCAPE MOBILE OPTIMIZATION === */
@media only screen and (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 600px !important;
    }

    h1 {
        font-size: 32px !important;
    }

    .service_single_content,
    .services-block-four {
        margin-bottom: 25px !important;
    }
}

/* === TABLET OPTIMIZATION === */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    h1 {
        font-size: 48px !important;
    }

    h2 {
        font-size: 40px !important;
    }

    h3 {
        font-size: 30px !important;
    }

    .copy-btn, .btn {
        height: 55px !important;
        line-height: 55px !important;
        font-size: 18px !important;
    }

    .service_single_content,
    .services-block-four {
        padding: 30px 25px !important;
    }

    .section-heading h2 {
        font-size: 36px !important;
        padding: 18px 40px !important;
    }
}

/* === ENSURE TEXT STAYS READABLE === */
@media only screen and (max-width: 767px) {
    * {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    body {
        font-size: 16px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}
