/* Base styles */
body {
    font-family: "Sora", "Segoe UI", system-ui, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
}

/* Container and Header */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: linear-gradient(135deg, var(--surface-2), var(--surface));
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.header img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-group label {
    display: block;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: Anime Crunchy;
    font-size: 1.1em;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background: #1a1a2e;
    color: var(--text);
    font-size: 1em;
}

/* Products Grid */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.product-card {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--primary);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-info h2 {
    color: var(--primary);
    margin: 10px 0;
    font-size: 1.2em;
}

.price {
    font-size: 1.3em;
    color: var(--text);
    margin: 15px 0;
}

.product-card input[type="checkbox"] {
    transform: scale(1.5);
    margin: 15px 0;
    cursor: pointer;
}

/* Section Headers */
.intro {
    text-align: center;
    margin: 40px 0 20px;
}

.intro h2 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 10px;
}

/* Promo Styles */
.limited {
    color: #ff4444;
    font-weight: Anime Crunchy;
    font-size: 1.1em;
}

.promo {
    border: 2px solid #ff4444;
    background: linear-gradient(135deg, #1a1a2e, #2a1a1a);
}

/* Buttons */
.submit-btn {
    display: block;
    width: 100%;
    max-width: 600px;
    padding: 18px;
    margin: 40px auto;
    background: linear-gradient(135deg, var(--primary), #0088cc);
    color: var(--text);
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: Anime Crunchy;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
}

/* Custom Order Section */
.custom-order {
    text-align: center;
    margin: 50px 0;
    padding: 30px;
    background: #1a1a2e;
    border-radius: 15px;
    border: 1px solid var(--primary);
}

.custom-order h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary);
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: Anime Crunchy;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0088cc;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        padding: 15px;
        margin: 10px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .product-img {
        height: 150px;
    }

    .form-group {
        margin: 10px 0;
        max-width: 100%;
        padding: 0 10px;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .form-group input {
        padding: 10px;
        font-size: 0.9rem;
        height: 40px;
    }

    .products {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .product-card {
        padding: 10px;
    }

    .product-info h2 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .price {
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .custom-order {
        padding: 15px;
        margin-top: 20px;
    }

    .custom-order h2 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .products {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }

    .product-info h2 {
        font-size: 0.9rem;
    }

    .price {
        font-size: 0.8rem;
    }

    .form-group {
        padding: 0 5px;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input {
        padding: 8px;
        font-size: 0.85rem;
        height: 35px;
    }
}

/* New Interactive Styles */
.product-card {
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    /* Prepare for border change */
    border: 1px solid var(--primary);
    /* Default border */
}

.product-card.selected {
    border: 2px solid #00ff88;
    background: linear-gradient(135deg, #1a1a2e, #1f2f3f);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
}

.product-card input[type="checkbox"],
.product-card input[type="radio"] {
    display: none;
}

/* Payment Section */
.payment-section {
    margin-top: 40px;
    margin-bottom: 30px;
}

.payment-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.payment-card {
    background: #16213e;
    border: 1px solid #30475e;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.payment-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.payment-card.selected {
    border: 2px solid #00ff88;
    background: #1a1a2e;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.payment-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text);
}

.payment-name {
    font-size: 0.9em;
    font-weight: bold;
}

/* Order Data Section */
.data-section {
    background: #16213e;
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
    border: 1px solid #30475e;
    scroll-margin-top: 100px;
    /* Helper for scroll into view */
}

.section-title {
    color: var(--text);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2em;
}

/* Footer Section */
footer {
    background-color: var(--surface-2);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(0, 170, 255, 0.2);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: Anime Crunchy;
    color: var(--primary);
    margin-bottom: 15px;
}

.footer-content p {
    color: #cccccc;
    margin: 8px 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.footer-links a:hover {
    color: var(--text);
    background-color: rgba(0, 170, 255, 0.1);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.social-icons a {
    color: var(--primary);
    font-size: 20px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 170, 255, 0.1);
}

.social-icons a:hover {
    color: var(--text);
    background-color: var(--primary);
    transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}




