/* === ORDER PAGE SPECIFIC STYLES === */

/* === HEADER SECTION === */
.order-header {
    padding: var(--space-16) 0 var(--space-8);
    text-align: center;
    position: relative;
    margin-top: 72px; /* Adjust for the fixed header */
    background-color: var(--dark);
}

.order-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at center, rgba(255, 30, 79, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.order-title {
    margin-bottom: var(--space-2);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    position: relative;
    z-index: 1;
}

.order-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.order-subtitle {
    font-size: 1.5rem;
    color: var(--text-alt);
    font-weight: 600;
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

/* === ORDER METHODS SECTION === */
.order-methods {
    padding: var(--space-8) 0 var(--space-8);
    background-color: var(--dark);
}

/* Force methods to be visible (overriding conflicting animations) */
.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    opacity: 1 !important;
    transform: none !important;
}

.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-6);
    background-color: var(--dark-alt);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    height: 100%;
    color: var(--text);
    text-decoration: none;
    opacity: 1 !important;
    transform: none !important;
}

.method-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(255, 30, 79, 0.3);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 30, 79, 0.2);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
    transition: all var(--transition);
    box-shadow: 0 0 20px rgba(255, 30, 79, 0.3);
}

.method-card:hover .method-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 30, 79, 0.5);
}

.method-icon i {
    font-size: 2.5rem;
    color: var(--light);
}

.method-content {
    z-index: 1;
    opacity: 1 !important;
}

.method-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-3);
    transition: all var(--transition);
}

.method-content p {
    color: var(--text-alt);
    line-height: 1.7;
}

/* Special icons for each method */
#discord-method .method-icon {
    background: linear-gradient(135deg, #7289da 0%, #5865f2 100%);
}

#discord-method:hover {
    border-color: rgba(114, 137, 218, 0.3);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(114, 137, 218, 0.2);
}

#email-method .method-icon {
    background: linear-gradient(135deg, #ff9a8b 0%, #ff6a88 100%);
}

#email-method:hover {
    border-color: rgba(255, 106, 136, 0.3);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 106, 136, 0.2);
}

#form-method {
    cursor: default;
}

#form-method .method-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* === ORDER FORM SECTION === */
.order-form-section {
    padding: var(--space-8) 0 var(--space-20);
    background-color: var(--dark);
}

.order-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--dark-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 1 !important;
    transform: none !important;
}

.order-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: var(--space-2);
    text-align: center;
}

.order-form-wrapper > p {
    color: var(--text-alt);
    text-align: center;
    margin-bottom: var(--space-8);
}

.order-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    opacity: 1 !important;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-alt);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background-color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 30, 79, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff1e4f' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px;
}

.required {
    color: #e84393;
}

.optional {
    font-size: 0.875rem;
    font-weight: normal;
    color: var(--text-muted);
}

.form-submit {
    margin-top: var(--space-4);
    text-align: center;
}

.form-submit button {
    padding: var(--space-4) var(--space-8);
    width: 100%;
    max-width: 300px;
}

.form-note {
    text-align: center;
    margin-top: var(--space-4);
}

.form-note p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 768px) {
    .order-title {
        font-size: 2.5rem;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .order-title {
        font-size: 2rem;
    }
    
    .order-subtitle {
        font-size: 1.25rem;
    }
    
    .order-form-wrapper {
        padding: var(--space-6) var(--space-4);
    }
}

/* Form validation styles */
.order-form input:invalid,
.order-form select:invalid,
.order-form textarea:invalid {
    border-color: #e84393;
}

.order-form input:invalid:focus,
.order-form select:invalid:focus,
.order-form textarea:invalid:focus {
    box-shadow: 0 0 0 2px rgba(232, 67, 147, 0.2);
}

/* Success message styles (shown after form submission) */
.success-message {
    background-color: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    text-align: center;
    margin-top: var(--space-6);
    display: none;
}

.success-message.visible {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}