/* --- Basic Setup & Variables (Values are now hardcoded) --- */
/*
  Original Variables for reference:
  --background-color: #1a1a1a;
  --container-bg-color: #242424;
  --text-color: #ffffff;
  --secondary-text-color: #cccccc;
  --accent-color: #ffca3a;
*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 100vh;
}

/* --- Page Wrapper & Animation --- */
.page-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 30px 20px;
}
.hidden {
    opacity: 0;
    -webkit-transition: opacity 0.8s ease-in-out;
    -o-transition: opacity 0.8s ease-in-out;
    transition: opacity 0.8s ease-in-out;
}
.page-wrapper:not(.hidden) {
    opacity: 1;
}

/* --- Profile Section --- */
.profile-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #ffca3a; /* --accent-color */
    -o-object-fit: cover;
    object-fit: cover;
    margin-bottom: 15px;
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.username {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff; /* --text-color */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    padding-bottom: 15px;
}

/* --- Ad Banner --- */
.ad-banner-container {
    margin: 25px 0;
    width: 100%;
    max-width: 468px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.ad-banner-container a {
    display: block;
}
.ad-banner-container img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Main Container --- */
.container {
    width: 100%;
    max-width: 720px;
    background: #242424; /* --container-bg-color */
    border-radius: 20px;
    overflow: hidden;
    -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* --- Matchup Header --- */
.matchup-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    position: relative;
}
.team {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 40px 20px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    min-height: 100px;
}
.team:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
.team-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #ffffff; /* --text-color */
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.vs-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #1a1a1a; /* --background-color */
    color: #ffca3a; /* --accent-color */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    border: 3px solid #ffffff; /* --text-color */
    z-index: 10;
    -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.5);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* --- Links Section --- */
.links-section {
    padding: 30px;
    text-align: center;
}
.countdown {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: -10px auto 25px auto;
    max-width: 400px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffca3a; /* --accent-color */
}
.countdown.live {
    color: #ff0000;
}
.main-description {
    color: #cccccc; /* --secondary-text-color */
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}
.links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
}
.link-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff; /* --text-color */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.link-button:hover {
    border-color: #ffca3a; /* --accent-color */
    background: rgba(255, 202, 58, 0.1);
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.link-button i {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 20px;
}

/* --- Simplified Article Styles --- */
.prediction-article-wrapper {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}
.article-body h3 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-size: 1.5rem;
    color: #ffca3a; /* --accent-color */
    margin-top: 15px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.article-body h3:first-child {
    margin-top: 0;
}
.article-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cccccc; /* --secondary-text-color */
    margin-bottom: 15px;
}
.article-body .prediction-score {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff; /* --text-color */
    background-color: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 5px;
}

/* --- Footer & Socials --- */
footer {
    padding: 25px 30px;
    background: rgba(0,0,0,0.2);
    text-align: center;
}
.socials {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 15px;
}
.socials a {
    color: #cccccc; /* --secondary-text-color */
    font-size: 1.5rem;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.socials a:hover {
    color: #ffca3a; /* --accent-color */
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}
.copyright {
    font-size: 0.8rem;
    color: #888;
}

/* --- Blinking Live Indicator --- */
@-webkit-keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

.countdown.live::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: #ff0000;
    -webkit-animation: blink 1.5s infinite;
    animation: blink 1.5s infinite;
}

/* --- Responsive Media Queries --- */
@media (max-width: 600px) {
    .page-wrapper {
        padding: 20px 10px;
    }
    .profile-header {
        margin-bottom: 0;
    }
    .profile-pic {
        width: 80px;
        height: 80px;
    }
    .username {
        font-size: 1.3rem;
    }
    .matchup-header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .team {
        padding: 30px 20px;
        min-height: auto;
    }
    .team-name {
        font-size: 2rem;
    }
    .vs-divider {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .links-section {
        padding: 25px 20px;
    }
    .countdown {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}