/* ========================================
   CC Creator - Responsive Styles
   Premium Card Trading Platform
   ======================================== */

/* ========== Tablet (min-width: 768px and max-width: 991px) ========== */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 960px;
    }

    /* Hero */
    .hero-title {
        font-size: 3rem;
    }

    /* Features: 2 columns look better on tablet than 1 */
    .features .container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats: 2 columns */
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* How to Work: 2 columns */
    .how-to-work-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .how-step-arrow {
        display: none;
        /* Hide arrows in grid layout */
    }
}

/* ========== Mobile (max-width: 767px) ========== */
@media (max-width: 767px) {

    /* Global Spacing */
    section {
        padding: 50px 0 !important;
    }

    .hero {
        padding: 100px 0 60px !important;
        /* Account for navbar */
    }

    /* Typography */
    h1,
    .hero-title {
        font-size: 2.2rem !important;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 1rem;
    }

    /* Navbar */
    .navbar-menu {
        max-height: 80vh;
        overflow-y: auto;
        padding-bottom: 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    /* Hero Section */
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }

    /* Features Section */
    .features .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 20px;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
    }

    /* Stats Section */
    .stats .container {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 20px;
    }

    .stat-card {
        padding: 20px;
        justify-content: center;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }

    .footer-logo img {
        height: 60px;
    }

    .footer-nav {
        margin: 20px 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-nav .separator {
        display: none;
    }

    .footer-copyright {
        font-size: 12px;
        line-height: 1.8;
    }

    /* Forms */
    .auth-card {
        padding: 25px;
    }

    /* How to Work */
    .how-to-work-steps {
        flex-direction: column;
        gap: 40px;
    }

    .how-step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

/* ========== Small Mobile (max-width: 480px) ========== */
@media (max-width: 480px) {

    /* Buttons */
    .btn {
        width: 100%;
        justify-content: center;
    }

    .navbar-actions .btn {
        margin-bottom: 10px;
    }

    /* Typography */
    h1,
    .hero-title {
        font-size: 1.8rem !important;
    }

    /* Cards Page */
    .cards-grid {
        grid-template-columns: 1fr !important;
    }

    .info-section {
        padding: 40px 0;
    }
}

/* Reviews Section Mobile */
@media (max-width: 767px) {
    .review-card {
        width: 85vw !important;
        padding: 20px !important;
    }

    .rating-select label {
        font-size: 20px !important;
    }
}