/* =========================================
   HELP PAGE - DARK THEME
   ========================================= */

/* ---------- Variables ---------- */
:root {
    --red-primary: #dc2626;
    --red-dark: #991b1b;
    --red-glow: rgba(220, 38, 38, 0.5);
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --text-muted: #666666;
    
    /* Platform Colors */
    --teamspeak-color: #2b79c2;
    --bale-color: #2eafe9;
    --rubika-color: #eb4476;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'MyCustomFont', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.8;
}

@font-face {
    font-family: MyCustomFont;
    src: url(font/font-bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Background Mesh ---------- */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
}

/* =========================================
   HELP HERO
   ========================================= */
.help-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 40%);
}

.hero-bg-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 60%);
    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    border-radius: 20px;
    font-size: 32px;
    color: white;
    box-shadow: 
        0 10px 40px rgba(220, 38, 38, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 10px 40px rgba(220, 38, 38, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 10px 60px rgba(220, 38, 38, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.hero-title {
    font-family: 'MyCustomFont', sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.title-line {
    display: block;
    color: var(--text-primary);
    text-shadow: 0 0 60px rgba(255, 255, 255, 0.1);
}

.title-highlight {
    display: block;
    color: var(--red-primary);
    text-shadow: 
        0 0 40px var(--red-glow),
        0 0 80px var(--red-glow);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    display: flex;
    justify-content: center;
    gap: 100px;
    pointer-events: none;
}

.deco-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(220, 38, 38, 0.3), transparent);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    position: relative;
    z-index: 1;
    padding: 40px 20px 80px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* =========================================
   CONTACT CARD
   ========================================= */
.contact-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 350px;
    width: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 38, 38, 0.3);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact-card:hover .card-glow {
    opacity: 1;
}

.card-inner {
    position: relative;
    z-index: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    font-size: 36px;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.contact-icon.teamspeak {
    background: linear-gradient(135deg, var(--teamspeak-color), #1e5a94);
}

.contact-icon.bale {
    background: linear-gradient(135deg, var(--bale-color), #1a8fc4);
}

.contact-icon.rubika {
    background: linear-gradient(135deg, var(--rubika-color), #c42d5a);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-inner h2 {
    font-family: 'MyCustomFont', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.card-inner > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-info {
    width: 100%;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--red-primary);
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 25px;
    border-radius: 14px;
    font-family: 'MyCustomFont', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn i {
    font-size: 18px;
}

.teamspeak-btn {
    background: linear-gradient(135deg, var(--teamspeak-color), #1e5a94);
    color: white;
    border: none;
}

.teamspeak-btn:hover {
    box-shadow: 0 8px 30px rgba(43, 121, 194, 0.4);
    transform: translateY(-3px);
}

.bale-btn {
    background: transparent;
    color: var(--bale-color);
    border: 2px solid var(--bale-color);
}

.bale-btn:hover {
    background: var(--bale-color);
    color: white;
    box-shadow: 0 8px 30px rgba(46, 175, 233, 0.4);
    transform: translateY(-3px);
}

.rubika-btn {
    background: transparent;
    color: var(--rubika-color);
    border: 2px solid var(--rubika-color);
}

.rubika-btn:hover {
    background: var(--rubika-color);
    color: white;
    box-shadow: 0 8px 30px rgba(235, 68, 118, 0.4);
    transform: translateY(-3px);
}

/* =========================================
   TOPICS SECTION
   ========================================= */
.topics-section {
    position: relative;
    z-index: 1;
    padding: 60px 20px 100px;
    background: linear-gradient(to bottom, rgba(220, 38, 38, 0.02), transparent);
}

.topics-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'MyCustomFont', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 50px;
    text-align: center;
}

.section-title i {
    color: var(--red-primary);
    font-size: 1.5rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* =========================================
   TOPIC CARD
   ========================================= */
.topic-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 25px;
    transition: all 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.2);
    background: var(--bg-card-hover);
}

.topic-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.topic-icon.bug {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.topic-icon.question {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.topic-icon.report {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.topic-icon.suggestion {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.topic-icon.ban {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.topic-icon.other {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.topic-card h3 {
    font-family: 'MyCustomFont', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.topic-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.topic-list {
    list-style: none;
}

.topic-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.topic-list li:last-child {
    border-bottom: none;
}

.topic-list li i {
    color: var(--red-primary);
    font-size: 12px;
}

/* =========================================
   NOTICE SECTION
   ========================================= */
.notice-section {
    position: relative;
    z-index: 1;
    padding: 0 20px 80px;
}

.notice-container {
    max-width: 800px;
    margin: 0 auto;
}

.notice-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 30px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
}

.notice-box > i {
    font-size: 28px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.notice-content h3 {
    font-family: 'MyCustomFont', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.notice-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.notice-content strong {
    color: var(--red-primary);
}

/* =========================================
   FOOTER
   ========================================= */
.help-footer {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.5);
}

.help-footer p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.help-footer .copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-card {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .help-hero {
        min-height: 40vh;
        padding: 100px 20px 50px;
    }
    
    .hero-badge {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-radius: 16px;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-card {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .notice-box {
        flex-direction: column;
        text-align: center;
    }
    
    .notice-box > i {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .card-inner {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .topic-card {
        padding: 25px 20px;
    }
}