/* =====================
   SPONSOR PAGE STYLES
   ===================== */

.sponsor-header {
    min-height: auto;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.08)), url('../img/sponsor.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 15% 60px;
    text-align: center;
    position: relative;
}

.header-content h1 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -1px;
}

.header-content p {
    font-size: 1.1rem;
    color: var(--second-color);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.header-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--second-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================
   FILTER SECTION
   ===================== */

.sponsor-filters {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.1)), url('../img/sponsor-filters.jpg') center/cover no-repeat;
    padding: 30px 15%;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.search-box:focus-within {
    border-color: var(--main-color);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.search-box i {
    color: var(--text-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
}

.search-box input::placeholder {
    color: var(--second-color);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid transparent;
    color: var(--second-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    color: var(--text-color);
    border-color: var(--main-color);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: var(--text-color);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* =====================
   SPONSOR ITEMS SECTION
   ===================== */

.sponsor-section {
    padding: 80px 15%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.05)), url('../img/sponsor-content.jpg') left top/auto fixed no-repeat;
    min-height: 100vh;
}

.sponsor-container {
    max-width: 1400px;
    margin: 0 auto;
}

.category-section {
    margin-bottom: 6rem;
}

.category-title {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.category-title i {
    font-size: 2.2rem;
    color: var(--text-color);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.sponsor-item {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.sponsor-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
}

.sponsor-item:hover {
    transform: translateY(-12px);
    border-color: var(--main-color);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.4);
}

.item-header {
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.item-price {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.item-description {
    padding: 1.5rem;
    flex-grow: 1;
    color: var(--second-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.item-description p {
    margin-bottom: 1rem;
}

.item-description strong {
    color: var(--text-color);
    font-weight: 700;
}

.item-description ul {
    margin-left: 1.5rem;
    margin-top: 0.8rem;
}

.item-description li {
    margin-bottom: 0.5rem;
    list-style: none;
}

.item-description li::before {
    content: '✓ ';
    color: var(--text-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.sponsor-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 1rem 0;
}

.btn-buy {
    margin: 1.5rem;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-buy:active {
    transform: translateY(-1px);
}

/* =====================
   CUMULATIVE ITEMS
   ===================== */

.cumulative-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cumulative-item {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
}

.cumulative-item:hover {
    transform: translateX(8px);
    border-color: var(--main-color);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.cumulative-amount {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: var(--text-color);
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cumulative-benefit {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cumulative-benefit p {
    color: var(--second-color);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cumulative-benefit strong {
    color: var(--text-color);
    font-weight: 700;
}

/* =====================
   NOTES SECTION
   ===================== */

.sponsor-notes {
    background: var(--second-bg-color);
    padding: 80px 15%;
}

.notes-container h3 {
    font-size: 2rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 3rem;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.note-item {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.note-item:hover {
    border-color: var(--main-color);
    transform: translateY(-5px);
}

.note-item i {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: block;
}

.note-item h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.note-item p {
    color: var(--second-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =====================
   CONTACT SECTION
   ===================== */

.sponsor-contact {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.05));
    padding: 80px 15%;
    text-align: center;
}

.contact-wrapper h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-wrapper p {
    color: var(--second-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.contact-btn i {
    font-size: 1.3rem;
}

.contact-btn.discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
}

.contact-btn.discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.contact-btn.qq {
    background: linear-gradient(135deg, #0084ff, #005fcc);
    color: white;
}

.contact-btn.qq:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 132, 255, 0.4);
}

.contact-btn.email {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: white;
}

.contact-btn.email:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */

@media (max-width: 1100px) {
    .sponsor-header {
        padding: 80px 8% 50px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }

    .sponsor-filters {
        padding: 20px 8%;
        top: 60px;
    }

    .sponsor-section {
        padding: 60px 8%;
    }

    .sponsor-notes {
        padding: 60px 8%;
    }

    .sponsor-contact {
        padding: 60px 8%;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 820px) {
    .sponsor-filters {
        padding: 15px 3%;
        top: 100%;
    }

    .filter-buttons {
        gap: 8px;
        justify-content: center;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .items-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }

    .cumulative-items {
        grid-template-columns: 1fr;
    }

    .cumulative-item {
        flex-direction: column;
    }

    .cumulative-amount {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sponsor-header {
        padding: 80px 3% 40px;
        min-height: 50vh;
    }

    .header-content h1 {
        font-size: 1.5rem;
    }

    .header-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .header-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .sponsor-filters {
        padding: 12px 3%;
        top: 70%;
        position: fixed;
        width: 100%;
        background: var(--bg-color);
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
        z-index: 100;
    }

    .filter-container {
        gap: 10px;
    }

    .search-box {
        padding: 10px 12px;
        border-radius: 6px;
    }

    .search-box i {
        font-size: 1rem;
        margin-right: 8px;
    }

    .search-box input {
        font-size: 16px;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .sponsor-section {
        padding: 40px 3%;
        padding-top: 100px;
    }

    .category-title {
        font-size: 1.3rem;
        gap: 10px;
    }

    .category-title i {
        font-size: 1.8rem;
    }

    .items-grid {
        gap: 1rem;
    }

    .sponsor-item {
        border-radius: 8px;
    }

    .item-header {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .item-price {
        font-size: 1.3rem;
        padding: 0.8rem 1rem 0.5rem;
    }

    .item-description {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .btn-buy {
        padding: 10px 16px;
        margin: 1rem;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    .sponsor-notes {
        padding: 40px 3%;
    }

    .notes-container h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .notes-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .note-item {
        padding: 1.5rem;
    }

    .note-item i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .note-item h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .sponsor-contact {
        padding: 40px 3%;
    }

    .contact-wrapper h3 {
        font-size: 1.5rem;
    }

    .contact-wrapper p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .contact-methods {
        gap: 0.8rem;
    }

    .contact-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .contact-btn i {
        font-size: 1rem;
    }
}
