/* ======= BASE ======= */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #181818;
    color: #fafafa;
}
a {
    color: #ffd600;
    text-decoration: none;
}
a:hover,
a:focus {
    text-decoration: underline;
}

/* ======= CONTAINER ======= */
.container {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ======= TOP BAR ======= */
.top-bar {
    background: #151515;
    border-bottom: 2px solid #232323;
    padding: 8px 0;
}
.top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-logo {
    height: 48px;
    width: 48px;
    border-radius: 8px;
    background: #232323;
    object-fit: contain;
}
.site-title {
    font-size: 1.5rem;
    color: #ffea00;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.5px;
}
.site-tagline {
    font-size: 0.98rem;
    color: #d1d1d1;
    letter-spacing: 0.5px;
}
.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00e676;
    border-radius: 50%;
    margin-left: 5px;
}
.top-links {
    display: flex;
    gap: 12px;
}
.btn-main, .btn-forum {
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.btn-main {
    background: linear-gradient(90deg, #ffd600, #ffea00);
    color: #222;
    border: none;
}
.btn-main:hover {
    background: linear-gradient(90deg, #fff176, #ffd600);
    color: #111;
}
.btn-forum {
    background: #232323;
    color: #ffea00;
    border: 1.5px solid #ffd600;
    transition: background 0.2s, color 0.2s;
}
.btn-forum:hover {
    background: #ffd600;
    color: #1a1a1a;
}

/* ======= AD BOARD ======= */
.ad-board {
    background: #292929;
    color: #ffd600;
    text-align: center;
    font-size: 1.08rem;
    padding: 10px 0;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px #0002;
    letter-spacing: 0.2px;
}
.ad-board a {
    color: #00e676;
    text-decoration: underline;
    font-weight: 600;
}
.ad-board a:hover {
    color: #ffd600;
}

/* ======= RESULT BOARD ======= */
.result-board-wrap {
    margin: 20px auto;
}
.result-board-header {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.tab-btn {
    background: #1a1a1a;
    color: #ffd600;
    border: 1.5px solid #ffd600;
    padding: 8px 20px;
    border-radius: 7px 7px 0 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: background 0.18s, color 0.18s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.tab-btn.active, .tab-btn:hover {
    background: #ffd600;
    color: #181818;
}
.result-board {
    background: #222;
    border-radius: 0 0 12px 12px;
    padding: 12px 8px;
    box-shadow: 0 2px 12px #0001;
}
.result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    margin-bottom: 0;
}
.result-table th, .result-table td {
    padding: 8px 6px;
    text-align: center;
    border-bottom: 1px solid #292929;
}
.result-table thead tr {
    background: #191919;
    color: #ffd600;
    font-size: 1rem;
    letter-spacing: 0.2px;
}
.result-table th {
    border-bottom: 2px solid #ffd600;
}
.result-table tbody tr:nth-child(odd) {
    background: #232323;
}
.result-table tbody tr:nth-child(even) {
    background: #202020;
}
.live-result {
    color: #00e676;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 1.1rem;
}
.result-table .btn-play {
    display: inline-flex;
    padding: 8px 18px;
    background: linear-gradient(90deg, #ffd600, #ffea00);
    color: #181818;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 7px #ffd60023;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.18s, box-shadow 0.15s;
    min-height: 44px;
    align-items: center;
}
.result-table .btn-play:hover,
.result-table .btn-play:focus {
    background: linear-gradient(90deg, #fffde7, #ffd600);
    box-shadow: 0 5px 16px #ffd60044;
}

/* ======= CHART LINKS ======= */
.chart-links-wrap {
    margin: 20px auto;
    background: #232323;
    border-radius: 9px;
    padding: 12px 8px;
    box-shadow: 0 1px 7px #0002;
}
.chart-links-title {
    color: #ffd600;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.chart-links-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
}
.chart-link {
    display: inline-flex;
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    margin-right: 8px;
    padding: 8px 20px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 6px;
    border: 2px solid #ffd60020;
    box-shadow: 0 2px 7px #0002;
    transition: background 0.17s, color 0.17s, border 0.14s;
    font-size: 0.95rem;
    min-height: 44px;
    align-items: center;
}
.chart-link:hover,
.chart-link:focus {
    background: #ffd600;
    color: #181818;
    border: 2px solid #ffd600;
}

/* ======= LIVE CARDS ======= */
.live-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 16px 0;
}
.game-card {
    background: #232323;
    border-radius: 10px;
    padding: 12px;
    width: 100%;
    max-width: 280px;
    box-shadow: 0 2px 10px #0002;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.19s;
    border: 1.5px solid #232323;
}
.game-card:hover {
    box-shadow: 0 6px 18px #0004;
    border-color: #ffd60060;
}
.game-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffea00;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}
.game-time, .game-result {
    font-size: 1rem;
    color: #d1d1d1;
    margin: 3px 0;
}
.game-result {
    font-size: 1.1rem;
    font-weight: 500;
    color: #00e676;
}
.btn-play {
    margin-top: 8px;
    padding: 8px 18px;
    font-weight: 600;
    color: #181818;
    background: linear-gradient(90deg, #ffea00, #ffd600);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px #0001;
    transition: background 0.18s, box-shadow 0.15s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.btn-play:hover {
    background: linear-gradient(90deg, #fff176, #ffd600);
    box-shadow: 0 5px 16px #ffd60044;
}

/* ======= ARTICLE/SEO SECTION ======= */
.seo-article {
    background: #212121;
    border-radius: 10px;
    margin: 30px auto;
    padding: 20px 16px;
    max-width: 760px;
    box-shadow: 0 1px 8px #0002;
    font-size: 1rem;
    line-height: 1.6;
}
.seo-article h2 {
    color: #ffea00;
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}
.seo-article ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.seo-article li {
    margin-bottom: 4px;
}
.seo-article strong {
    color: #ffd600;
}

/* ======= MAIN TITLE ======= */
.main-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin: 28px 0 12px;
    color: #ffd600;
    letter-spacing: 0.8px;
}

/* ======= FOOTER ======= */
footer {
    background: #131313;
    color: #c2c2c2;
    text-align: center;
    padding: 16px 0;
    font-size: 0.95rem;
    margin-top: 30px;
}
.footer-links {
    margin-bottom: 6px;
}
.footer-links a {
    color: #ffd600;
    margin: 0 6px;
    text-decoration: none;
    font-size: 0.95rem;
}
.footer-links a:hover {
    text-decoration: underline;
    color: #fff176;
}

/* ======= CHART TABLE ======= */
.chart-table-wrap {
    margin: 24px auto;
    overflow-x: auto;
    background: #232323;
    border-radius: 10px;
    box-shadow: 0 2px 8px #0002;
    padding: 12px 10px;
    max-width: 98vw;
}
.chart-table {
    width: 100%;
    min-width: 300px;
    border-collapse: collapse;
    font-size: 1rem;
    background: #222;
    border-radius: 8px;
    overflow: hidden;
}
.chart-table thead tr {
    background: #191919;
}
.chart-th, .chart-td {
    padding: 8px 6px;
    text-align: center;
    border-bottom: 1px solid #292929;
}
.chart-th {
    color: #ffd600;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 1rem;
    border-bottom: 2px solid #ffd600;
    background: #181818;
}
.chart-th-date {
    background: #222;
    color: #00e676;
    font-weight: 700;
    border-right: 2px solid #333;
    min-width: 80px;
}
.chart-table tbody tr:nth-child(odd) {
    background: #232323;
}
.chart-table tbody tr:nth-child(even) {
    background: #202020;
}
.chart-td {
    color: #fff;
    font-weight: 600;
}
.chart-td-date {
    color: #ffd600;
    background: #181818;
    font-size: 1rem;
    border-right: 2px solid #292929;
}
.chart-num {
    color: #00e676;
    font-weight: 700;
    background: #232324;
    border-radius: 4px;
}

/* ======= CHART HEADER ======= */
.chart-header {
    text-align: center;
    margin: 20px auto;
    max-width: 90%;
}
.chart-header h1 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    letter-spacing: 0.8px;
    color: #ffd600;
}
.chart-header p {
    font-size: 0.95rem;
    margin: 0;
    color: #d1d1d1;
}
.dropdown-year {
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    margin: 12px auto;
    display: block;
    width: 100%;
    max-width: 300px;
    background: #232323;
    color: #ffd600;
    border: 1.5px solid #ffd60080;
}

/* ======= NOTICE BOARD ======= */
.notice-board {
    background: linear-gradient(90deg, #ffe082, #fffde7);
    border: 2px solid #ffc107;
    border-radius: 10px;
    box-shadow: 0 2px 12px #0002;
    max-width: 90%;
    margin: 20px auto;
    padding: 12px 16px;
    text-align: center;
    animation: noticeFadeIn 1.1s;
}
@keyframes noticeFadeIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
.notice-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #c62828;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.notice-content {
    font-size: 1rem;
    color: #222;
    font-weight: 500;
    line-height: 1.6;
}
.notice-content b {
    color: #f57c00;
    font-weight: 600;
}

/* ======= USER FORM/FORUM ======= */
.user-form-wrap,
.forum-wrap,
.profile-wrap,
.auth-wrap {
    max-width: 90%;
    background: #222;
    margin: 28px auto;
    border-radius: 10px;
    box-shadow: 0 2px 13px #0005;
    padding: 20px 16px;
}
.user-form-wrap h1, .forum-wrap h1, .profile-wrap h1, .auth-wrap h1,
.user-form-wrap h2, .forum-wrap h2, .profile-wrap h2, .auth-wrap h2 {
    color: #ffd600;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.8px;
}
.user-form-wrap label,
.forum-wrap label,
.profile-wrap label,
.auth-wrap label {
    color: #fffde7;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    display: block;
    letter-spacing: 0.2px;
}
.user-form-wrap input[type="text"],
.user-form-wrap input[type="password"],
.user-form-wrap input[type="file"],
.user-form-wrap select,
.user-form-wrap textarea,
.forum-wrap input[type="text"],
.forum-wrap input[type="password"],
.forum-wrap input[type="file"],
.forum-wrap select,
.forum-wrap textarea {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 12px;
    border: 1.5px solid #ffd60080;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #202020;
    color: #ffd600;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.18s;
}
.user-form-wrap input[type="text"]:focus,
.user-form-wrap input[type="password"]:focus,
.user-form-wrap select:focus,
.forum-wrap input[type="text"]:focus,
.forum-wrap input[type="password"]:focus,
.forum-wrap select:focus {
    border-color: #ffd600;
    background: #232323;
    outline: none;
}
.user-form-wrap input[type="file"], .forum-wrap input[type="file"] {
    background: #212121;
    color: #fff8e1;
    font-size: 0.9rem;
}
.user-form-wrap button, .user-form-wrap input[type="submit"],
.forum-wrap button, .forum-wrap input[type="submit"] {
    background: linear-gradient(90deg, #ffd600, #ffea00);
    color: #222;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px;
    margin-top: 8px;
    width: 100%;
    box-shadow: 0 1px 5px #ffd60050;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.15s;
    min-height: 44px;
}
.user-form-wrap button:hover,
.user-form-wrap input[type="submit"]:hover,
.forum-wrap button:hover,
.forum-wrap input[type="submit"]:hover {
    background: linear-gradient(90deg, #fffde7, #ffd600);
    box-shadow: 0 5px 16px #ffd60044;
}
.notice, .form-msg, .alert-msg {
    background: #fffde7;
    color: #c62828;
    border: 1.5px solid #ffd60090;
    border-radius: 6px;
    padding: 10px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.profile-pic {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd600;
    background: #2d2d2d;
    margin-bottom: 8px;
}
.profile-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.profile-block .profile-pic {
    margin-bottom: 0;
}
.inline-fields {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.inline-fields input[type="password"] {
    width: 48%;
    margin-bottom: 0;
}
.change-pass { margin-top: 10px; }
.change-pass button { width: 45%; margin-left: 5%; }
.forum-title, .user-title {
    text-align: center;
    color: #ffd600;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 10px 0 8px;
    letter-spacing: 0.5px;
}
.forum-form {
    background: #191919;
    border-radius: 8px;
    padding: 12px 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px #0003;
}
.forum-form input, .forum-form select {
    background: #232323;
    color: #ffd600;
    border: 1.5px solid #ffd60080;
}
.forum-form input[type="text"]:focus, .forum-form select:focus {
    border-color: #ffd600;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #232323;
    color: #fff;
    margin-top: 12px;
    font-size: 0.95rem;
}
.admin-table th, .admin-table td {
    padding: 8px 6px;
    text-align: center;
    border-bottom: 1px solid #444;
}
.admin-table th {
    background: #181818;
    color: #ffd600;
    font-weight: 700;
}
.admin-table tr:nth-child(even) { background: #1a1a1a; }
.admin-table tr:hover { background: #212121; }
.admin-table a { color: #ff5252; font-weight: 600; }

/* ======= YEARLY CHART CTA ======= */
.yearly-chart-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 90%;
    margin: 28px auto;
    padding: 20px 16px;
    background: rgba(24,24,24,0.95);
    border-radius: 16px;
    box-shadow: 0 6px 20px #ffd60038, 0 1.5px 0 #ffd600 inset;
    border: 2px solid #ffd600c9;
    backdrop-filter: blur(3px);
    text-align: center;
    transition: box-shadow 0.23s, transform 0.18s;
}
.yearly-chart-cta:hover {
    box-shadow: 0 10px 30px #ffd60099, 0 1.5px 0 #ffd600 inset;
    transform: scale(1.03);
}
.chart-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 4px #ffd60075);
    margin-bottom: 4px;
    transition: transform 0.25s;
}
.yearly-chart-cta:hover .chart-icon {
    transform: scale(1.15);
}
.chart-title {
    color: #ffd600;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
    text-shadow: 0 2px 12px #2228;
    line-height: 1.2;
}
.chart-link-text {
    font-size: 1rem;
    color: #181818;
    background: #ffd600;
    border-radius: 6px;
    padding: 6px 16px;
    box-shadow: 0 2px 12px #ffd60018;
    transition: background 0.19s, color 0.19s, transform 0.17s;
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.yearly-chart-cta:hover .chart-link-text {
    background: #181818;
    color: #ffd600;
    transform: scale(1.05);
}
.chart-arrow {
    font-size: 1.1rem;
    margin-left: 5px;
    transition: transform 0.21s cubic-bezier(0.4, 2.3, 0.5, 1);
    vertical-align: middle;
}
.yearly-chart-cta:hover .chart-arrow {
    transform: translateX(6px);
}

/* ======= CONTENT BOX ======= */
.content-box {
    max-width: 90%;
    margin: 28px auto;
    padding: 20px 16px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
}
.content-box h1, .content-box h2, .content-box h3 {
    margin-top: 16px;
    color: #222;
    font-weight: bold;
}
.content-box ul, .content-box ol {
    margin-left: 16px;
    padding-left: 8px;
}
.content-box a {
    color: #d4af37;
    text-decoration: underline;
}
.content-box a:hover {
    color: #b38f2f;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 950px) {
    .container {
        width: 98%;
    }
}
@media (max-width: 750px) {
    .top-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .logo-block {
        gap: 6px;
    }
    .chart-link {
        padding: 6px 16px;
        font-size: 0.9rem;
    }
    .site-title {
        font-size: 1.2rem;
    }
    .site-logo {
        height: 40px;
        width: 40px;
    }
}
@media (max-width: 600px) {
    .main-title {
        font-size: 1.3rem;
        margin: 20px 0 10px;
    }
    .live-cards {
        gap: 8px;
    }
    .game-card {
        max-width: 95vw;
        padding: 10px;
    }
    .result-table th, .result-table td {
        padding: 6px 4px;
        font-size: 0.9rem;
    }
    .result-table td a {
        color: #ffd600 !important;
        text-decoration: underline !important;
    }
    .chart-table-wrap {
        padding: 8px 6px;
    }
    .chart-table {
        min-width: 280px;
        font-size: 0.9rem;
    }
    .chart-th, .chart-td {
        padding: 6px 4px;
    }
    .chart-header {
        max-width: 95%;
    }
    .chart-header h1 {
        font-size: 1.2rem;
    }
    .chart-header p {
        font-size: 0.9rem;
    }
    .dropdown-year {
        max-width: 95%;
    }
    .notice-board {
        padding: 10px 12px;
    }
    .notice-title {
        font-size: 1.05rem;
    }
    .notice-content {
        font-size: 0.95rem;
    }
    .seo-article {
        padding: 16px 12px;
    }
    .content-box {
        padding: 16px 12px;
        font-size: 0.95rem;
    }
    .user-form-wrap, .forum-wrap, .profile-wrap, .auth-wrap {
        padding: 16px 12px;
    }
    .forum-form {
        padding: 10px 8px;
    }
    .profile-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .admin-table {
        font-size: 0.85rem;
    }
    .yearly-chart-cta {
        padding: 16px 5vw;
    }
    .chart-title {
        font-size: 1.05rem;
    }
    .chart-icon {
        font-size: 1.8rem;
    }
    .chart-link-text {
        font-size: 0.95rem;
        padding: 6px 5vw;
    }
}
@media (max-width: 400px) {
    .chart-table {
        min-width: 260px;
        font-size: 0.85rem;
    }
    .chart-th, .chart-td {
        padding: 5px 3px;
    }
    .chart-th-date {
        min-width: 70px;
    }
}
/* ======= EXTREME MOBILE OPTIMIZATION ======= */
@media (max-width: 480px) {
    body {
        font-size: 13.5px;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .main-title,
    .site-title,
    .chart-title,
    .notice-title,
    .seo-article h2 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .seo-article,
    .user-form-wrap,
    .forum-wrap,
    .profile-wrap,
    .auth-wrap,
    .notice-board,
    .content-box {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .top-flex,
    .profile-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .logo-block {
        gap: 4px;
    }

    .site-logo {
        height: 36px;
        width: 36px;
    }

    .chart-header h1,
    .chart-header p,
    .dropdown-year,
    .chart-link-text,
    .btn-play,
    .chart-link,
    .tab-btn,
    .btn-main,
    .btn-forum {
        font-size: 0.9rem !important;
        padding: 6px 12px !important;
        min-height: 38px;
    }

    .chart-link,
    .chart-link-text {
        white-space: nowrap;
    }

    .result-table,
    .chart-table,
    .admin-table {
        font-size: 0.85rem;
        overflow-x: auto;
        display: block;
        width: 100%;
    }

    .result-table th, .result-table td,
    .chart-th, .chart-td {
        padding: 5px 4px;
    }

    .chart-th-date {
        min-width: 70px;
    }

    .live-cards {
        gap: 6px;
    }

    .game-card {
        padding: 10px;
        max-width: 100%;
        width: 100%;
    }

    .yearly-chart-cta {
        padding: 16px 5vw;
        font-size: 0.9rem;
    }

    .chart-icon {
        font-size: 1.6rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .chart-links-scroll {
        padding-bottom: 4px;
        overflow-x: auto;
    }

    .inline-fields {
        flex-direction: column;
    }

    .inline-fields input {
        width: 100%;
    }

    .change-pass button {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }
}
.top-guesser-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: rgba(24,24,24,0.97);
    border: 2.5px solid #ffd600c9;
    border-radius: 18px;
    box-shadow: 0 4px 16px #ffd60024, 0 1.5px 0 #ffd600 inset;
    max-width: 320px;
    margin: 28px auto 20px auto; /* Margin center auto */
    padding: 21px 19px 16px 19px;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .19s, transform .17s;
    cursor: pointer;
    animation: topgfade 0.7s;
    position: relative;
    z-index: 1;
}
@keyframes topgfade { from { opacity:0; transform:translateY(16px) scale(0.96);} to { opacity:1; transform:none; } }
.top-guesser-cta:hover {
    box-shadow: 0 10px 38px #ffd60066, 0 2px 0 #ffd600 inset;
    transform: scale(1.045) translateY(-2px);
}
.topg-icon {
    font-size: 2.2rem;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 6px #ffd60090);
    transition: transform .23s;
}
.top-guesser-cta:hover .topg-icon { transform: scale(1.15) rotate(-7deg);}
.topg-title {
    color: #ffd600;
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
    line-height: 1.22;
}
.topg-link {
    font-size: 1.01rem;
    color: #222;
    background: #ffd600;
    border-radius: 7px;
    padding: 5px 18px 6px 18px;
    font-weight: 600;
    margin-top: 7px;
    box-shadow: 0 2px 8px #ffd60016;
    transition: background .17s, color .17s, transform .17s;
    display: inline-block;
    letter-spacing: .4px;
}
.top-guesser-cta:hover .topg-link {
    background: #181818;
    color: #ffd600;
    transform: scale(1.09);
}
.topg-arrow {
    font-size: 1.22em;
    margin-left: 5px;
    transition: transform .19s cubic-bezier(.4,2.3,.5,1), color .17s;
    vertical-align: middle;
}
.top-guesser-cta:hover .topg-arrow {
    color: #ffd600;
    transform: translateX(8px) scale(1.18) rotate(-2deg);
}
.top-guesser-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: rgba(24,24,24,0.97);
    border: 2.5px solid #ffd600c9;
    border-radius: 18px;
    box-shadow: 0 4px 16px #ffd60024, 0 1.5px 0 #ffd600 inset;
    max-width: 320px;
    margin: 28px auto 20px auto; /* Margin center auto */
    padding: 21px 19px 16px 19px;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .19s, transform .17s;
    cursor: pointer;
    animation: topgfade 0.7s;
    position: relative;
    z-index: 1;
}
@keyframes topgfade { from { opacity:0; transform:translateY(16px) scale(0.96);} to { opacity:1; transform:none; } }
.top-guesser-cta:hover {
    box-shadow: 0 10px 38px #ffd60066, 0 2px 0 #ffd600 inset;
    transform: scale(1.045) translateY(-2px);
}
.topg-icon {
    font-size: 2.2rem;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 6px #ffd60090);
    transition: transform .23s;
}
.top-guesser-cta:hover .topg-icon { transform: scale(1.15) rotate(-7deg);}
.topg-title {
    color: #ffd600;
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
    line-height: 1.22;
}
.topg-link {
    font-size: 1.01rem;
    color: #222;
    background: #ffd600;
    border-radius: 7px;
    padding: 5px 18px 6px 18px;
    font-weight: 600;
    margin-top: 7px;
    box-shadow: 0 2px 8px #ffd60016;
    transition: background .17s, color .17s, transform .17s;
    display: inline-block;
    letter-spacing: .4px;
}
.top-guesser-cta:hover .topg-link {
    background: #181818;
    color: #ffd600;
    transform: scale(1.09);
}
.topg-arrow {
    font-size: 1.22em;
    margin-left: 5px;
    transition: transform .19s cubic-bezier(.4,2.3,.5,1), color .17s;
    vertical-align: middle;
}
.top-guesser-cta:hover .topg-arrow {
    color: #ffd600;
    transform: translateX(8px) scale(1.18) rotate(-2deg);
}
.congrats{color:#1F9C47;font-weight:800;margin-top:6px}
@media (max-width:480px) {
    .top-guesser-cta { max-width: 98vw; padding: 13px 4vw 10px 4vw; }
    .topg-title { font-size: .97rem; }
    .topg-link { font-size: 0.93rem; }
}

@media (max-width:480px) {
    .top-guesser-cta { max-width: 98vw; padding: 13px 4vw 10px 4vw; }
    .topg-title { font-size: .97rem; }
    .topg-link { font-size: 0.93rem; }
}
