/* ==========================================================================
   Извлечено из templates/ib/pages/discord-event.blade.php
   ========================================================================== */

/* ===== страница ===== */
.gge { padding: 130px 0 90px; position: relative; overflow: hidden; --primary-color: #c33434; --primary-hover: #d04848; --red-color: #c33434; --red-hover: #d96a6a; }
.gge::before {
    content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 1100px; height: 520px; pointer-events: none;
    background: radial-gradient(ellipse, rgba(195,52,52,.22) 0%, transparent 65%);
}
.gge .gge-wrap { max-width: 980px; margin: 0 auto; position: relative; z-index: 1; }
.gge, .gge p, .gge li { color: var(--text-color); }
.gge a { color: var(--red-hover); font-weight: 700; text-decoration: none; }
.gge a:hover { text-decoration: underline; }
.gge strong, .gge b { color: var(--white); }

/* ===== hero ===== */
.gge-hero { text-align: center; margin-bottom: 46px; }
@keyframes gge-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}
.gge-kicker {
    display: inline-block; font-size: 17px; font-weight: 800; letter-spacing: 3px;
    text-transform: uppercase; color: var(--red-hover); margin-bottom: 6px;
}
.gge-h1 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 900; font-size: clamp(24px, 4.2vw, 42px); line-height: 1.08;
    color: var(--white); text-transform: uppercase; letter-spacing: 2px;
}
.gge-h1 em { font-style: normal; color: var(--red-color); display: block; font-size: .58em; letter-spacing: 4px; margin-top: 8px; }
/* ===== заголовки секций ===== */
.gge-h2 {
    display: flex; align-items: center; gap: 18px; margin: 52px 0 24px;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 800; font-size: clamp(17px, 2.4vw, 22px);
    color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; text-align: center;
}
.gge-h2::before, .gge-h2::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(195,52,52,.5));
}
.gge-h2::after { background: linear-gradient(90deg, rgba(195,52,52,.5), transparent); }
.gge-h2 i { color: var(--red-hover); margin-right: 8px; }
/* ===== этапы: 3 карточки ===== */
.gge-codes-note {
    margin-top: 14px; padding: 15px 20px; text-align: center;
    border: 1px solid rgba(195,52,52,.55); border-radius: 14px;
    background: linear-gradient(135deg, rgba(195,52,52,.16), rgba(0,0,0,.25));
    color: var(--white); font-size: 15px; font-weight: 700;
}
.gge-codes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .gge-codes { grid-template-columns: 1fr; } }
.gge-code {
    position: relative; overflow: hidden; text-align: center;
    background: var(--card-bg); border: 1px solid #1c1c1c; border-radius: 16px;
    padding: 28px 16px 26px; transition: .25s border-color, .25s transform;
}
.gge-code:hover { border-color: rgba(195,52,52,.5); transform: translateY(-4px); }
.gge-code-t {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 19px; font-weight: 900; color: var(--white);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.gge-code-date {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 800; letter-spacing: .6px;
    color: var(--red-hover); background: rgba(195,52,52,.1);
    border: 1px solid rgba(195,52,52,.35); border-radius: 999px;
    padding: 6px 14px;
}

/* ===== финальная награда ===== */
.gge-collector {
    position: relative; overflow: hidden; margin-top: 14px;
    display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
    background: linear-gradient(135deg, #1a1408 0%, var(--card-bg) 60%);
    border: 1px solid rgba(224,168,0,.45); border-radius: 18px;
    padding: 24px 28px;
}
@media (max-width: 640px) { .gge-collector { grid-template-columns: 1fr; text-align: center; } }
.gge-collector-ico {
    width: 86px; height: 86px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 35% 30%, #2a2210, #0d0a05 75%);
    border: 1px solid rgba(224,168,0,.55); border-radius: 22px;
    color: #ffc23d; font-size: 34px;
    box-shadow: 0 0 26px rgba(224,168,0,.3), inset 0 0 18px rgba(224,168,0,.18);
    animation: gge-float 4.5s ease-in-out infinite;
}
.gge-collector-ico img { width: 58px; height: 58px; border-radius: 10px; }
.gge-collector-kicker { grid-column: 1 / -1; display: block; font-family: 'Montserrat', 'Inter', sans-serif; font-size: 22px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #e0a800; text-align: center; margin-bottom: 12px; }
.gge-collector-d { font-size: 14px; line-height: 1.6; color: var(--text-grey); }
.gge-collector-d strong { color: var(--white); }
.gge-collector-how {
    margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(224,168,0,.25);
    font-size: 13.5px; line-height: 1.7; color: var(--text-color);
}
.gge-collector-how i { color: #e0a800; margin-right: 6px; }
.gge-ticket-tpl {
    margin-top: 12px; padding: 12px 16px;
    border: 1px dashed rgba(224,168,0,.45); border-radius: 10px;
    background: rgba(0,0,0,.3); font-size: 13px; line-height: 1.65; color: var(--text-grey);
}
.gge-ticket-tpl .tpl-label { display: block; font-weight: 800; color: #e0a800; margin-bottom: 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.gge-ticket-tpl .tpl-label i { margin-right: 6px; }
.gge-ticket-tpl em { font-style: italic; color: var(--text-color); }

/* ===== шаги условий ===== */
.gge-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .gge-steps { grid-template-columns: 1fr; } }
.gge-step {
    position: relative; overflow: hidden;
    background: var(--card-bg); border: 1px solid #1c1c1c; border-radius: 16px;
    padding: 24px 20px 22px; transition: .25s border-color, .25s transform;
}
.gge-step:hover { border-color: rgba(195,52,52,.5); transform: translateY(-4px); }
.gge-step-t { font-family: 'Montserrat', 'Inter', sans-serif; font-size: 19px; font-weight: 900; color: var(--white); text-align: center; margin-bottom: 12px; }
.gge-step-d { font-size: 13.5px; line-height: 1.6; }
.gge-mini { list-style: none; padding: 0; margin: 10px 0 0; }
.gge-mini li { position: relative; padding: 3px 0 3px 18px; font-size: 13px; color: var(--text-grey); }
.gge-mini li::before {
    content: ''; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary-color);
}
.gge-mini strong { color: var(--text-color); }
.gge-files { list-style: none; padding: 0; margin: 10px 0 0; }
.gge-files li { margin: 6px 0; font-size: 13.5px; }
.gge-files i { color: var(--red-hover); margin-right: 6px; }
.gge-warn {
    display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; padding: 10px 12px;
    border-radius: 10px; font-size: 12.5px; line-height: 1.5;
    border: 1px solid rgba(224,168,0,.4); background: rgba(255,193,7,.07);
}
.gge-warn i { color: #e0a800; margin-top: 2px; flex: none; }

/* ===== путь получения ===== */
.gge-path { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gge-path::before {
    content: ''; position: absolute; top: 46px; left: 10%; right: 10%; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(195,52,52,.55) 0 10px, transparent 10px 20px);
}
@media (max-width: 860px) {
    .gge-path { grid-template-columns: 1fr; }
    .gge-path::before { display: none; }
}
.gge-node { position: relative; text-align: center; padding: 14px 10px; }
.gge-node-ico {
    position: relative; z-index: 1;
    width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 23px; color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #7e1d1d);
    border: 3px solid #0b0b0b; outline: 1px solid rgba(195,52,52,.5);
    box-shadow: 0 8px 22px rgba(195,52,52,.4);
}
.gge-node-ico img { width: 38px; height: 38px; border-radius: 50%; }
.gge-node-ico--gold {
    background: linear-gradient(135deg, #b8890b, #6e5306);
    outline-color: rgba(224,168,0,.5);
    box-shadow: 0 8px 22px rgba(224,168,0,.35);
}
.gge-node-t { font-weight: 800; font-size: 15px; color: var(--white); margin-bottom: 5px; }
.gge-node-d { font-size: 12.5px; color: var(--text-grey); line-height: 1.45; }

/* ===== правила ===== */
.gge-rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.gge-rules li {
    position: relative;
    background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px; padding: 12px 16px 12px 42px; font-size: 14px; line-height: 1.55;
}
.gge-rules li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: var(--red-hover); font-size: 12px;
    position: absolute; left: 17px; top: 15px;
}

.gge-rule-dates { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 4px; vertical-align: middle; }
.gge-rule-dates span {
    display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .4px;
    color: var(--red-hover); background: rgba(195,52,52,.1);
    border: 1px solid rgba(195,52,52,.35); border-radius: 999px; padding: 3px 10px;
}

/* ===== блок ВАЖНО ===== */
.gge-important {
    position: relative; margin-top: 14px; padding: 20px 22px 18px;
    border: 1px solid rgba(195,52,52,.6); border-radius: 14px;
    background: linear-gradient(135deg, rgba(195,52,52,.14), rgba(0,0,0,.25));
    box-shadow: 0 0 24px rgba(195,52,52,.12);
}
.gge-important::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--primary-color); border-radius: 14px 0 0 14px;
}
.gge-important-title {
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 900; font-size: 17px; letter-spacing: 1.5px;
    color: #ef7070; text-transform: uppercase;
}
.gge-important-title i { font-size: 19px; animation: gge-blink 1.6s ease-in-out infinite; }
@keyframes gge-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}
.gge-important p { margin: 7px 0; font-size: 14px; line-height: 1.7; }
.gge-important strong { color: var(--white); }
.gge-important .ok { color: #4caf50; font-weight: 700; }
.gge-important .no { color: #ef7070; font-weight: 700; }

/* ===== финальная CTA ===== */
.gge-cta {
    margin-top: 50px; padding: 32px 28px; text-align: center;
    border-radius: 18px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1a0d0d 0%, #120909 60%, var(--card-bg) 100%);
    border: 1px solid rgba(195,52,52,.4);
}
.gge-cta::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}
.gge-cta-t { font-weight: 800; font-size: 16.5px; color: var(--white); margin-bottom: 20px; }
.gge-cta-t i { color: var(--red-hover); margin-right: 8px; }
.gge-btn {
    display: inline-flex; align-items: center; gap: 11px;
    background: var(--primary-color); color: #fff !important;
    border: 1px solid var(--primary-color); border-radius: 50px;
    padding: 16px 42px; font-size: 15px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; text-decoration: none !important;
    box-shadow: 0 8px 26px rgba(195,52,52,.4);
    transition: .3s all; animation: gge-btn-pulse 2.4s infinite;
}
@keyframes gge-btn-pulse {
    0%   { box-shadow: 0 8px 26px rgba(195,52,52,.4), 0 0 0 0 rgba(195,52,52,.45); }
    70%  { box-shadow: 0 8px 26px rgba(195,52,52,.4), 0 0 0 16px rgba(195,52,52,0); }
    100% { box-shadow: 0 8px 26px rgba(195,52,52,.4), 0 0 0 0 rgba(195,52,52,0); }
}
.gge-btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-2px); }
