/* ================================================================
   UTD Games — Game Show Page Styles
   ================================================================ */

/* ── Layout ── */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 2rem 3rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.75rem;
    min-height: calc(100vh - 80px);
    align-items: start;
}

.content-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Game Slider ── */
.game-slider {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.18);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(99,102,241,0.08);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.slide::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(5,8,15,0.08) 0%, rgba(5,8,15,0.45) 50%, rgba(5,8,15,0.92) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 2rem 2.5rem;
    max-width: 560px;
    text-align: left;
}

.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .75rem;
    background: rgba(99,102,241,0.22);
    border: 1px solid rgba(99,102,241,0.4);
    border-radius: 2rem;
    font-size: .72rem;
    font-weight: 700;
    color: #a5b4fc;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .75rem;
    backdrop-filter: blur(4px);
    font-family: 'Rajdhani', sans-serif;
}

.slide-title {
    font-family: 'Russo One', sans-serif;
    font-size: 1.85rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: .6rem;
    line-height: 1.15;
    text-shadow: 0 2px 24px rgba(0,0,0,0.5);
    letter-spacing: .03em;
}

.slide-description {
    color: rgba(255,255,255,0.72);
    font-size: .95rem;
    line-height: 1.6;
    max-width: 440px;
    font-family: 'DM Sans', sans-serif;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1.1rem;
    padding: .6rem 1.4rem;
    background: linear-gradient(135deg, rgba(99,102,241,0.88), rgba(168,85,247,0.85));
    border: 1px solid rgba(99,102,241,0.5);
    color: #fff;
    border-radius: .5rem;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all .25s ease;
    letter-spacing: .04em;
    box-shadow: 0 4px 20px rgba(99,102,241,0.35);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}
.slide-btn:hover {
    background: linear-gradient(135deg, rgba(99,102,241,1), rgba(168,85,247,0.95));
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99,102,241,0.55);
}

/* Navigation arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(5,8,15,0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(99,102,241,0.25);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.slider-nav:hover {
    background: rgba(99,102,241,0.4);
    border-color: rgba(99,102,241,0.7);
    box-shadow: 0 0 20px rgba(99,102,241,0.3);
    transform: translateY(-50%) scale(1.1);
}
.slider-nav.prev { left: 1rem; }
.slider-nav.next { right: 1rem; }

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    padding: .75rem;
    background: rgba(5,8,15,0.6);
    border-top: 1px solid rgba(99,102,241,0.1);
}
.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active {
    background: var(--accent-primary, #6366f1);
    transform: scale(1.5);
    box-shadow: 0 0 8px rgba(99,102,241,0.6);
}
.dot:hover:not(.active) { background: rgba(255,255,255,0.5); }

/* ── Content Panels ── */
.panel {
    background: rgba(10,14,22,0.85);
    border-radius: 1rem;
    padding: 1.75rem;
    border: 1px solid rgba(99,102,241,0.15);
    backdrop-filter: blur(8px);
}

.panel-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #eef2ff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.panel-title svg { color: var(--accent-primary, #6366f1); flex-shrink: 0; }
.panel-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(99,102,241,0.3), transparent);
}

/* ── Community Videos (compact thumbnail) ── */
.community-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .75rem;
}
.community-video-card {
    display: block; text-decoration: none;
    background: rgba(5,8,15,0.7);
    border-radius: .6rem;
    overflow: hidden;
    border: 1px solid rgba(99,102,241,0.12);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.community-video-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99,102,241,0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 14px rgba(99,102,241,0.12);
}
.community-video-wrapper {
    position: relative; padding-top: 56.25%; background: #000; overflow: hidden;
}
.community-video-wrapper img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover; border: none;
    transition: transform .3s ease;
}
.community-video-card:hover .community-video-wrapper img { transform: scale(1.05); }
.community-video-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.18);
    transition: background .22s;
}
.community-video-card:hover .community-video-play { background: rgba(0,0,0,.04); }
.community-video-info { padding: .6rem .7rem; }
.community-video-title {
    font-family: 'DM Sans', sans-serif;
    font-size: .78rem; font-weight: 600;
    text-align: left; color: #eef2ff;
    margin: 0 0 .3rem 0; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.community-video-author {
    color: #5b6b88; font-size: .7rem;
    display: flex; align-items: center; gap: .35rem;
}

/* ── Limited Activities on Show Page ── */
.show-la-panel {}
.show-la-head {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin-bottom: .9rem;
}
.show-la-all {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .72rem; font-weight: 600; color: #818cf8;
    text-decoration: none; letter-spacing: .03em;
    transition: color .18s;
}
.show-la-all:hover { color: #a5b4fc; }
.show-la-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .65rem;
}
.show-la-card {
    display: flex; flex-direction: column; gap: .45rem;
    text-decoration: none; color: inherit;
    background: rgba(5,8,15,0.65);
    border: 1px solid rgba(99,102,241,0.14);
    border-radius: .6rem;
    padding: .75rem .9rem;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.show-la-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99,102,241,0.4);
    box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 12px rgba(99,102,241,0.1);
}
.show-la-card-top {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.show-la-status {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    padding: .18rem .5rem;
    border-radius: 3px;
}
.show-la-status::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
}
.show-la-status.live {
    color: #3ee0a5;
    background: rgba(62,224,165,.08);
    border: 1px solid rgba(62,224,165,.3);
}
.show-la-status.live::before {
    background: #3ee0a5; box-shadow: 0 0 6px #3ee0a5;
    animation: la-show-pulse 1.8s ease-in-out infinite;
}
.show-la-status.ended {
    color: #64748b;
    background: rgba(100,116,139,.06);
    border: 1px solid rgba(100,116,139,.2);
}
.show-la-status.ended::before { background: #64748b; }
@keyframes la-show-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.show-la-dates {
    font-size: .67rem; color: #4b5f7a; letter-spacing: .02em; white-space: nowrap;
}
.show-la-card-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: .95rem; font-weight: 700; color: #c7d2fe;
    letter-spacing: .02em; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.show-la-card-cta {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .7rem; font-weight: 600; color: #818cf8;
    letter-spacing: .06em; text-transform: uppercase;
    margin-top: auto;
    transition: color .18s, gap .18s;
}
.show-la-card:hover .show-la-card-cta { color: #a5b4fc; gap: .5rem; }

/* ── Products CTA ── */
.products-cta { text-align: center; padding: .5rem 0; }
.products-cta h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem; font-weight: 700;
    color: #eef2ff; margin-bottom: .6rem;
    letter-spacing: .08em; text-transform: uppercase;
}
.products-cta p {
    color: #5b6b88; margin-bottom: 1.5rem;
    font-size: .9rem; line-height: 1.6;
}
.btn-orange-glow {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .875rem 2rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff8c42 100%);
    color: #fff;
    border: 1px solid rgba(255,107,53,0.5);
    border-radius: .75rem;
    font-size: .95rem; font-weight: 700;
    text-decoration: none; letter-spacing: .04em;
    transition: all .3s ease;
    box-shadow: 0 4px 20px rgba(255,107,53,0.35);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}
.btn-orange-glow:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e8821a 50%, #ff7a32 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,107,53,0.5);
}

/* ── Accordion ── */
.accordion {
    background: rgba(10,14,22,0.85);
    border-radius: 1rem;
    border: 1px solid rgba(99,102,241,0.15);
    overflow: hidden; backdrop-filter: blur(8px);
}
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.04); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
    padding: 1.25rem 1.5rem;
    background: transparent; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: all 0.25s ease; border: none; width: 100%; text-align: left;
}
.accordion-header:hover { background: rgba(99,102,241,0.06); }
.accordion-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem; font-weight: 700;
    color: #eef2ff; margin: 0;
    letter-spacing: .05em; text-transform: uppercase;
}
.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--accent-primary, #6366f1);
    font-size: 1.1rem; flex-shrink: 0;
}
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-item.active .accordion-content { max-height: 1000px; }
.accordion-body { padding: 1.5rem; }

/* ── Success Notification ── */
.success-notification {
    position: fixed; top: 100px; right: 2rem;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white; padding: 1rem 1.5rem;
    border-radius: .875rem;
    box-shadow: 0 4px 24px rgba(16,185,129,0.3);
    z-index: 1001;
    display: flex; align-items: center; gap: .5rem;
    min-width: 300px; max-width: 400px;
    animation: slideInRight 0.3s ease-out;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}
.notification-content {
    display: flex; align-items: center; flex: 1;
    font-weight: 500; font-size: .9rem;
}
.notification-close {
    background: none; border: none; color: white; font-size: 1.4rem;
    cursor: pointer; padding: 0; width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: all 0.2s ease; margin-left: .5rem;
}
.notification-close:hover { background: rgba(255,255,255,0.2); }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* ── Sidebar ── */
.sidebar {
    position: sticky; top: 96px; align-self: start;
    display: flex; flex-direction: column; gap: 1rem;
}
.sidebar-card {
    background: rgba(10,14,22,0.9);
    backdrop-filter: blur(12px);
    border-radius: 1rem; padding: 1.5rem;
    border: 1px solid rgba(99,102,241,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.sidebar-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: .82rem; font-weight: 700;
    color: #6366f1; margin-bottom: 1.25rem;
    letter-spacing: .14em; text-transform: uppercase;
    display: flex; align-items: center; gap: .5rem;
}
.sidebar-title::after {
    content: "";
    flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(99,102,241,0.4), transparent);
}

/* ── Section Title ── */
.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: .82rem; font-weight: 700;
    color: #6366f1; margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(99,102,241,0.2);
    letter-spacing: .12em; text-transform: uppercase;
}

/* ── Info Card ── */
.info-card {
    background: rgba(5,8,15,0.6);
    border-radius: .75rem; padding: .5rem 1.25rem;
    border: 1px solid rgba(99,102,241,0.1);
}
.info-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: .7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.info-item:last-child { border-bottom: none; }
.info-label { font-weight: 500; color: #5b6b88; font-size: .85rem; }
.info-value { color: #eef2ff; font-weight: 600; font-size: .875rem; }

/* ── Form elements ── */
.form-section { margin-bottom: 1.25rem; }
.form-section:last-child { margin-bottom: 0; }

/* ── Buttons ── */
.btn {
    padding: .7rem 1.25rem;
    border-radius: .625rem;
    font-weight: 700; cursor: pointer;
    transition: all .25s ease; border: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: .95rem; letter-spacing: .05em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; justify-content: center;
    gap: .4rem; text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff; box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #4f51d4, #9333ea);
    transform: translateY(-1px); box-shadow: 0 6px 24px rgba(99,102,241,0.5);
}
.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #94a3b8; border: 1px solid rgba(255,255,255,0.08);
}
.btn-secondary:hover {
    background: rgba(99,102,241,0.1); color: #eef2ff;
    border-color: rgba(99,102,241,0.3);
}
.btn-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff8c42 100%);
    color: #fff;
    border: 1px solid rgba(255,107,53,0.4);
    box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}
.btn-orange:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e8821a 50%, #ff7a32 100%);
    transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,107,53,0.45);
}

/* ── Game header in sidebar ── */
.game-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem; font-weight: 700;
    color: #eef2ff; margin-bottom: .3rem;
    letter-spacing: .06em; text-transform: uppercase;
}
.game-description-text { color: #5b6b88; font-size: .875rem; }

/* ── Event Banner ── */
.event-banner-link { text-decoration: none; display: block; }
.event-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(135deg, rgba(234,179,8,0.08) 0%, rgba(251,146,60,0.08) 50%, rgba(234,179,8,0.06) 100%);
    border: 1px solid rgba(234,179,8,0.35);
    border-radius: 1rem;
    overflow: hidden;
    transition: all .25s ease;
    box-shadow: 0 4px 24px rgba(234,179,8,0.08);
}
.event-banner:hover {
    border-color: rgba(234,179,8,0.6);
    background: linear-gradient(135deg, rgba(234,179,8,0.13) 0%, rgba(251,146,60,0.12) 50%, rgba(234,179,8,0.1) 100%);
    box-shadow: 0 8px 32px rgba(234,179,8,0.18);
    transform: translateY(-2px);
}
.event-banner-glow {
    position: absolute; top: -40px; right: 80px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(234,179,8,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.event-banner-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: .75rem;
    background: rgba(234,179,8,0.15);
    border: 1px solid rgba(234,179,8,0.3);
    display: flex; align-items: center; justify-content: center;
    color: #fbbf24;
}
.event-banner-body { flex: 1; min-width: 0; }
.event-banner-label {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .68rem; font-weight: 800;
    color: #fbbf24; letter-spacing: .14em;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: .25rem;
}
.event-banner-label::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fbbf24;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.3); } }
.event-banner-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem; font-weight: 700;
    color: #fef3c7; letter-spacing: .04em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.event-banner-deadline {
    display: flex; align-items: center; gap: .3rem;
    font-size: .75rem;
    color: rgba(251,191,36,0.6); margin-top: .2rem;
}
.event-banner-cta {
    flex-shrink: 0;
    display: flex; align-items: center; gap: .4rem;
    padding: .55rem 1.1rem;
    background: rgba(234,179,8,0.18);
    border: 1px solid rgba(234,179,8,0.4);
    border-radius: .5rem;
    color: #fbbf24;
    font-family: 'Rajdhani', sans-serif;
    font-size: .875rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    transition: all .2s ease;
}
.event-banner:hover .event-banner-cta {
    background: rgba(234,179,8,0.3);
    border-color: rgba(234,179,8,0.7);
}

/* ── News Card Reactions ── */
.news-card-reactions {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
    margin-top: .625rem;
    margin-bottom: .25rem;
}
.news-card-reaction {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .15rem .45rem;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 1rem;
    font-size: .75rem;
    line-height: 1;
}
.news-card-reaction-count {
    font-size: .68rem;
    font-weight: 600;
    color: #94a3b8;
}

/* ── Responsive: 1100px ── */
@media (max-width: 1100px) {
    .main-container { grid-template-columns: 1fr; padding: 96px 1.25rem 2rem; }
    .sidebar { position: static; top: auto; order: -1; }
    .slider-container { height: 360px; }
    .slide-content { padding: 1.5rem 1.75rem; }
    .slide-title { font-size: 1.45rem; }
}

/* ── Responsive: 768px ── */
@media (max-width: 768px) {
    .slider-container { height: 260px; }
    .slide-content { padding: 1.25rem; }
    .slide-title { font-size: 1.1rem; }
    .slide-description { font-size: .82rem; }
    .community-videos-grid { grid-template-columns: repeat(3, 1fr); }
    .show-la-grid { grid-template-columns: 1fr 1fr; }
    .slider-nav { width: 36px; height: 36px; font-size: 1.1rem; }
    .slider-nav.prev { left: .5rem; }
    .slider-nav.next { right: .5rem; }
    .success-notification {
        right: 1rem; left: 1rem;
        min-width: unset; max-width: unset;
        top: 112px;
    }
    .event-banner { padding: .875rem 1rem; gap: .875rem; }
    .event-banner-icon { width: 42px; height: 42px; border-radius: .5rem; }
    .event-banner-cta { display: none; }
    .event-banner-title { font-size: .95rem; }
}

/* ── Responsive: 480px ── */
@media (max-width: 480px) {
    .slider-container { height: 200px; }
    .slide-content { padding: .875rem; }
    .slide-title { font-size: .9rem; }
    .slide-description { display: none; }
    .slide-tag { font-size: .65rem; padding: .2rem .5rem; margin-bottom: .5rem; }
    .slide-btn { padding: .45rem 1rem; font-size: .78rem; }
    .community-videos-grid { grid-template-columns: 1fr 1fr; }
    .show-la-grid { grid-template-columns: 1fr; }
    .panel { border-radius: .75rem; }
    .event-banner-icon { width: 36px; height: 36px; }
    .event-banner-label { font-size: .62rem; }
}
