/* =========================================================
   TEEN GAMES PAGE STYLESHEET (mirrors veterans.css design)
   ========================================================= */

body.teen-games-page {
    background-color: #00011c;
    color: #b0b0b0;
}

.teen-games-page .header {
    background: linear-gradient(to right, #002244, #69be28);
    margin-bottom: 5px;
    border-radius: 15px;
    overflow: hidden;
}

/* Chasing digital light around the title */
.title-glow-wrap {
    position: relative;
    display: inline-block;
    border-radius: 10px;
    padding: 6px 14px;
}

.title-glow-wrap::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 12px;
    padding: 3px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        #fff 15deg,
        #6c5ce7 40deg,
        transparent 70deg,
        transparent 360deg
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: chase-light 3s linear infinite;
}

@keyframes chase-light {
    to { transform: rotate(360deg); }
}

.tg-hero {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(180deg, #002A5C, #000435);
    border-radius: 15px;
    margin-top: 0;
    margin-bottom: 25px;
}

.tg-hero h1 {
    color: #fff;
    font-size: 32px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    margin-bottom: 8px;
}

.tg-hero p {
    color: #c9d6e8;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* 3D Metallic Silver frame */
.tg-frame-metallic {
    position: relative;
    max-width: 800px;
    margin: 25px auto;
    padding: 8px;
    border-radius: 15px;
    background: linear-gradient(145deg, #f2f2f2, #b8b8b8, #d9d9d9, #8f8f8f);
    box-shadow:
        inset 2px 2px 4px rgba(255,255,255,0.8),
        inset -2px -2px 4px rgba(0,0,0,0.4),
        0 8px 20px rgba(0,0,0,0.6);
}

.tg-frame-metallic::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 17px;
    padding: 3px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        #fff 15deg,
        #cfcfcf 40deg,
        transparent 70deg,
        transparent 360deg
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: chase-light 4s linear infinite;
    pointer-events: none;
}

.tg-frame-metallic video {
    width: 100%;
    display: block;
    border-radius: 10px;
    background-color: #000;
}

.tg-caption {
    text-align: center;
    color: #ddd;
    font-size: 13px;
    margin-top: 8px;
    font-style: italic;
}

/* Light-gray comment box */
.tg-comment-box {
    max-width: 800px;
    margin: 25px auto;
    background-color: #e8e8e8;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.tg-frame-metallic .tg-comment-box {
    margin-top: 10px;
}

.tg-comment-input {
    width: 100%;
    min-height: 60px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #bbb;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #fff;
}

.tg-emoji-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.tg-emoji-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    background: linear-gradient(145deg, #ddd, #bbb);
    box-shadow: 2px 2px 5px #aaa, -2px -2px 5px #fff;
    transition: transform 0.2s;
}

.tg-emoji-btn:hover {
    transform: scale(1.15);
}

.tg-post-button {
    margin-top: 12px;
    align-self: flex-end;
    padding: 8px 22px;
    background-color: #002A5C;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    float: right;
}

.tg-post-button:hover {
    background-color: #6c5ce7;
}

.teen-games-page .footer {
    background-color: #000;
}
