/* General Styles */
:root {
    --orange: #ff7800;
    --black: #130f40;
    --light-bg: #f9f9f9;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --border: 0.1rem solid rgba(0, 0, 0, 0.2);
    --outline: 0.1rem solid rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
}

header, footer {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

main {
    padding: 0;
    margin-top: 8rem;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--orange) 0%, var(--black) 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero p {
    font-size: 2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Contact Us Container */
.contact-container {
    position: relative;
    max-width: 1200px;
    margin: -3rem auto 4rem;
    padding: 0 2rem;
    z-index: 10;
}

/* Contact Us Styles */
.contact-us {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    font-size: 1.6rem;
    position: relative;
    overflow: hidden;
}

.contact-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--orange), var(--black));
}

.contact-us h1 {
    color: var(--black);
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.contact-us h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--orange);
    border-radius: 2px;
}

.contact-us h2 {
    color: var(--black);
    font-size: 2.2rem;
    margin: 2rem 0 1.5rem;
    position: relative;
    display: inline-block;
}

.contact-us h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: #444;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 120, 0, 0.1);
    background-color: #fff;
}

.form-group input[readonly] {
    background-color: #eee;
    cursor: not-allowed;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 120, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--black);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 120, 0, 0.3);
}

/* Issue Section Styles */
.issue-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 0;
    margin-top: 2.5rem;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scrollable Box */
.scrollable-box {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background-color: #f9f9f9;
}

.scrollable-box::-webkit-scrollbar {
    width: 8px;
}

.scrollable-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.scrollable-box::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Order Item */
.order-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--orange);
}

.order-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.order-item p {
    margin: 0.5rem 0;
    font-size: 1.5rem;
}

.order-item strong {
    color: var(--black);
}

.order-item ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin: 0.8rem 0;
}

.order-item ul li {
    padding: 0.5rem 0;
    position: relative;
}

.order-item ul li::before {
    content: '•';
    color: var(--orange);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.order-item .btn {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
}

/* Help Option Cards */
.account-help-options,
.collaborate-help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.account-help-card,
.collaborate-help-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.account-help-card::before,
.collaborate-help-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--orange);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.account-help-card:hover::before,
.collaborate-help-card:hover::before {
    transform: scaleY(1);
}

.account-help-card:hover,
.collaborate-help-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.account-help-card p,
.collaborate-help-card p {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 500;
    color: #444;
}

.account-help-card i,
.collaborate-help-card i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

/* Form Styles */
#order-help-form,
#account-help-form,
#collaborate-help-form {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-top: 2rem;
    border: 1px solid #eee;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8cc 100%);
    margin-top: -3rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-left: 5px solid var(--orange);
    z-index: 100;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.announcement-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff7800' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

.announcement-content {
    max-width: 800px;
    margin: 0 auto;
}

.announcement-banner i.fas {
    font-size: 3.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
    display: block;
}

.announcement-banner h3 {
    color: var(--black);
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.announcement-banner p {
    font-size: 1.6rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    color: #fff;
}

.social-link i {
    margin-right: 0.8rem;
    font-size: 1.8rem;
}

.social-link.facebook {
    background-color: #1877f2;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3);
}

.social-link.facebook:hover {
    background-color: #0d6ad6;
    transform: translateY(-3px);
}

.social-link.discord {
    background-color: #7289da;
    box-shadow: 0 4px 10px rgba(114, 137, 218, 0.3);
}

.social-link.discord:hover {
    background-color: #5c73c7;
    transform: translateY(-3px);
}

/* Make the banner responsive */
@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-link {
        width: 80%;
        margin: 0 auto;
        justify-content: center;
    }
    
    .announcement-banner {
        margin-top: -1rem;
        padding: 1.5rem;
    }
    
    .announcement-banner h3 {
        font-size: 2rem;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 50%;
    }
    
    .contact-us {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    .contact-us {
        padding: 2rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 45%;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .contact-us {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .account-help-options,
    .collaborate-help-options {
        grid-template-columns: 1fr;
    }
    
    .account-help-card,
    .collaborate-help-card {
        padding: 1.5rem;
    }
    
    #order-help-form,
    #account-help-form,
    #collaborate-help-form {
        padding: 1.5rem;
    }
    
    .order-item {
        padding: 1.2rem;
    }
}

/* Animation and performance fixes */
.account-help-card,
.collaborate-help-card,
.order-item,
.btn {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

/* Success and error messages */
.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

/* Login prompt and no orders message styling */
.login-prompt, .no-orders-message {
    text-align: center;
    padding: 3rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #eee;
    margin: 2rem 0;
}

.login-prompt i, .no-orders-message i {
    font-size: 5rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
    display: block;
}

.login-prompt h3 {
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.login-prompt p, .no-orders-message p {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.login-prompt a, .no-orders-message a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-prompt a:hover, .no-orders-message a:hover {
    text-decoration: underline;
}

/* Dynamic username input styling */
.dynamic-username-input {
    background-color: #fff !important;
}

.dynamic-username-input::placeholder {
    color: #aaa;
    font-style: italic;
}