:root {
    --combat: #ff1a1a;
    --offense: #f39c12;
    --defense: #2ecc71;
    --support: #3498db;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; max-width: 100vw; margin: 0; padding: 0; }

.list-content::-webkit-scrollbar { width: 3px; }

.content-wrapper { 
    flex: 1; 
    padding-top: 120px; 
    padding-bottom: 60px; 
    max-width: 1200px; 
    margin: 0 auto; 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    gap: 60px; 
    position: relative; 
    z-index: 10; 
    padding-left: 20px; 
    padding-right: 20px; 
}

.pitch-section { text-align: center; animation: fadeIn 0.8s ease-out; margin-bottom: -10px; width: 100%; }
.pitch-title { font-family: 'Teko', sans-serif; font-weight: 300; font-size: 4.8rem; color: #fff; text-shadow: 0 0 30px rgba(255, 26, 26, 0.4); line-height: 1; margin-bottom: 15px; letter-spacing: 5px; }
.pitch-subtitle { font-family: 'Rajdhani'; font-size: 1.15rem; color: #bbb; font-weight: 400; letter-spacing: 1px; max-width: 850px; margin: 0 auto; line-height: 1.6; }
.pitch-subtitle strong { color: #fff; font-weight: 600; }

.benefits-box { background: linear-gradient(145deg, rgba(20, 20, 25, 0.15), rgba(10, 10, 12, 0.3)); border: 1px solid rgba(255, 255, 255, 0.05); border-top: 2px solid var(--primary); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 30px; box-shadow: 0 15px 40px rgba(0,0,0,0.5); backdrop-filter: blur(10px); width: 100%; }
.bb-title { font-family: 'Teko'; font-weight: 400; font-size: 2.2rem; color: #fff; letter-spacing: 1px; margin: 0; line-height: 1; text-align: center; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 100%; }
.b-item { display: flex; gap: 20px; align-items: flex-start; }
.b-icon { width: 55px; height: 55px; border-radius: 12px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,26,26,0.3); display: flex; justify-content: center; align-items: center; font-size: 1.5rem; color: var(--primary); flex-shrink: 0; box-shadow: 0 0 15px rgba(255,26,26,0.1); }
.b-icon.gold-icon { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 15px rgba(255,204,0,0.15); }
.b-text { display: flex; flex-direction: column; gap: 5px; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.b-text h4 { font-family: 'Teko'; font-size: 1.6rem; color: #fff; letter-spacing: 1px; line-height: 1; margin: 0; }
.b-text h4.gold-text { color: var(--gold); }
.b-text p { font-family: 'Rajdhani'; font-size: 1.05rem; color: #ccc; line-height: 1.4; margin: 0; font-weight: 500; }

.bb-actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 25px; flex-wrap: wrap; gap: 20px; width: 100%; }
.apply-btn { background: var(--primary); color: #fff; border: none; padding: 12px 30px; border-radius: 50px; font-family: 'Rajdhani'; font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 10px; box-shadow: 0 5px 20px rgba(255, 26, 26, 0.4); }
.apply-btn:hover { background: #d90000; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 26, 26, 0.6); }

.social-actions { display: flex; gap: 15px; width: 100%; justify-content: center; }
.social-btn-large { color: #fff; text-decoration: none; padding: 10px 20px; border-radius: 50px; font-family: 'Rajdhani'; font-weight: 600; font-size: 1rem; letter-spacing: 1px; transition: 0.3s; display: flex; align-items: center; gap: 10px; justify-content: center; flex: 1; }
.discord-btn { background: rgba(88, 101, 242, 0.2); border: 1px solid rgba(88, 101, 242, 0.5); backdrop-filter: blur(5px); }
.discord-btn:hover { background: rgba(88, 101, 242, 0.5); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(88, 101, 242, 0.2); }
.steam-btn { background: rgba(23, 26, 33, 0.4); border: 1px solid rgba(102, 192, 244, 0.5); backdrop-filter: blur(5px); }
.steam-btn:hover { background: rgba(102, 192, 244, 0.3); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(102, 192, 244, 0.15); }

.section-header { text-align: center; margin-bottom: 25px; width: 100%; }
.section-header h2 { font-family: 'Teko'; font-weight: 300; font-size: 2.5rem; color: #fff; letter-spacing: 2px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.section-header h2 i { color: var(--primary); font-size: 1.8rem; }

.events-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; width: 100%; }
.event-card { width: calc(33.333% - 14px); min-width: 280px; background: rgba(15,15,20,0.5); border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; position: relative; display: flex; flex-direction: column; backdrop-filter: blur(10px); }
.event-card:hover { transform: translateY(-8px); border-color: rgba(255,26,26,0.4); box-shadow: 0 15px 35px rgba(255,26,26,0.15); }
.ec-img-box { width: 100%; height: 160px; background: #050505; position: relative; overflow: hidden; border-bottom: 2px solid var(--primary); display: flex; align-items: center; justify-content: center; }
.ec-img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s; filter: brightness(0.85); }
.ec-day-badge { position: absolute; top: 10px; left: 10px; background: rgba(255, 26, 26, 0.25); border: 1px solid rgba(255, 26, 26, 0.5); color: #fff; font-family: 'Teko', sans-serif; font-weight: 400; padding: 3px 12px; border-radius: 4px; font-size: 1.1rem; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(0,0,0,0.4); line-height: 1; z-index: 10; backdrop-filter: blur(8px); }
.ec-content { padding: 18px 15px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(180deg, rgba(20,20,25,0.4) 0%, rgba(10,10,12,0.8) 100%); }
.ec-title { font-family: 'Black Ops One'; font-size: 1.25rem; font-weight: 300; color: #fff; margin-bottom: 8px; letter-spacing: 1px; }
.ec-desc { font-family: 'Rajdhani'; font-size: 0.95rem; color: #bbb; font-weight: 400; line-height: 1.4; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(15px); z-index: 2000; opacity: 0; visibility: hidden; transition: 0.3s; display: flex; justify-content: center; align-items: center; padding: 15px; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.apply-modal-content { background: linear-gradient(180deg, rgba(15, 15, 20, 0.98), rgba(10, 10, 12, 1)); border: 1px solid rgba(255, 26, 26, 0.3); border-top: 3px solid var(--primary); border-radius: 12px; width: 100%; max-width: 520px; padding: 25px 30px; position: relative; transform: translateY(30px); transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 25px 60px rgba(0,0,0,0.9), inset 0 0 30px rgba(255,26,26,0.03); max-height: calc(100vh - 40px); overflow-y: auto; display: flex; flex-direction: column; }
.modal-overlay.active .apply-modal-content { transform: translateY(0); }
.apply-modal-content::-webkit-scrollbar { width: 5px; }
.apply-modal-content::-webkit-scrollbar-track { background: transparent; }
.apply-modal-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 5px; }

.close-modal { position: absolute; top: 12px; right: 15px; background: none; border: none; color: #666; font-size: 1.2rem; cursor: pointer; transition: 0.2s; z-index: 10; }
.modal-header-sec { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; flex-shrink: 0; }
.modal-title { font-family: 'Teko'; font-weight: 400; font-size: 2.2rem; color: #fff; line-height: 1; margin-bottom: 5px; text-shadow: 0 0 15px rgba(255,26,26,0.4); text-align: center; }
.modal-desc { font-family: 'Rajdhani'; font-size: 0.95rem; color: #999; text-align: center; }
.join-form { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100%; }
.apply-form-group { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.apply-form-group label { font-family: 'Teko'; font-weight: 400; font-size: 1.1rem; color: #ccc; letter-spacing: 1px; display: flex; align-items: center; gap: 6px; }
.apply-form-group label i { color: var(--primary); font-size: 0.8rem; }
.form-input { width: 100%; padding: 12px 15px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.08); border-radius: 50px; color: #fff; font-size: 1rem; font-family: 'Rajdhani', sans-serif; outline: none; transition: 0.3s; font-weight: 500; }
.comm-toggle { display: flex; gap: 10px; width: 100%; }
.comm-btn { flex: 1; padding: 10px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); color: #888; border-radius: 50px; cursor: pointer; transition: 0.3s; font-family: 'Teko'; font-size: 1.2rem; letter-spacing: 1px; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.comm-btn.active.discord { background: rgba(88, 101, 242, 0.2); border-color: #5865F2; color: #fff; }
.comm-btn.active.steam { background: rgba(102, 192, 244, 0.2); border-color: #66c0f4; color: #fff; }
.role-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; width: 100%; }
.role-chip { padding: 4px 10px; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); color: #aaa; border-radius: 50px; font-family: 'Rajdhani'; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.role-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.apply-submit-btn { background: rgba(255, 26, 26, 0.1); border: 1px solid rgba(255,26,26,0.3); color: #fff; padding: 12px; border-radius: 50px; font-family: 'Rajdhani'; font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; cursor: pointer; transition: 0.3s; margin-top: 15px; width: 100%; flex-shrink: 0; }
.apply-submit-btn:hover { background: rgba(255, 26, 26, 0.2); border-color: rgba(255, 26, 26, 0.5); }
.success-screen { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 0; min-height: 350px; width: 100%; }
.success-icon { font-size: 5rem; color: #2ecc71; margin-bottom: 20px; }
.success-screen-title { font-family: 'Teko'; font-size: 2.5rem; color: #fff; margin-bottom: 10px; }
.success-desc { font-family: 'Rajdhani'; font-size: 1.1rem; color: #ccc; margin-bottom: 30px; }
.success-actions { display: flex; gap: 15px; width: 100%; }

@media (max-width: 1024px) {
    .pitch-title { font-size: 4rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .bb-actions { flex-direction: column; align-items: center; }
    .social-actions { width: 100%; }
    .event-card { width: calc(50% - 10px); }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .content-wrapper { padding-top: 100px; gap: 40px; }
    .pitch-title { font-size: 3rem; letter-spacing: 3px; }
    .pitch-subtitle { font-size: 1rem; }
    .benefits-box { padding: 25px 15px; }
    .b-item { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
    .social-actions { flex-direction: column; }
    .social-btn-large { width: 100%; }
    .event-card { width: 100%; min-width: 0; }
    .apply-modal-content { padding: 20px 15px; }
    .success-actions { flex-direction: column; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }