body {
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    background: #4BB0C9 url('Images/movingClouds.jpg') top left repeat-x;
    color: #000;
    animation: movingClouds 60s linear infinite; 
}
@keyframes movingClouds {
    0% { background-position: 0 0; }
    100% { background-position: -2000px 0; }
}
a {
    color: #0000FF;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    width: 900px;
    margin: 0 auto;
    padding-top: 10px;
    position: relative;
    z-index: 1;
}
.feedback-top {
    text-align: right;
    margin-bottom: 2px;
    font-size: 10px;
}
.banner-container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.banner-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('Images/bgBanner.png') center/cover repeat-x;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.banner-logo {
    height: 155px;
    pointer-events: none;
    width: auto;
    object-fit: contain;
}
.navbar {
    background-color: #6e99c9;
    border: 1px solid #000;
    padding: 8px;
    text-align: center;
    margin-bottom: 10px;
}
.navbar a {
    color: #FFF;
    font-size: 15px;
    font-weight: bold;
    margin: 0 5px;
    text-shadow: 1px 1px 0px #333;
}
.row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.box {
    border: 1px solid #000;
    background: #FFF;
}
.header-comic {
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}
.col-download {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f4f8fa;
}
.panel-header {
    background: #6e99c9;
    color: #FFF;
    font-weight: bold;
    font-size: 12px;
    padding: 6px 10px;
    border-bottom: 1px solid #000;
    text-shadow: 1px 1px 0px #333;
}
.panel-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.download-icon-box {
    width: 120px;
    height: 120px;
    border: 1px solid #000;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 2px 2px 0px #ccc;
}
.download-icon-box img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}
.download-desc {
    font-size: 11px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 15px;
    min-height: 45px;
}
.btn-download {
    background: linear-gradient(to bottom, #7abcff 0%, #0066cc 100%);
    border: 2px solid #003366;
    border-radius: 6px;
    color: #FFF;
    font-family: "Comic Sans MS", cursive, sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 20px;
    cursor: pointer;
    text-shadow: 1px 1px 0px #000;
    display: inline-block;
    margin-top: auto;
}
.btn-download:hover {
    filter: brightness(1.1);
    text-decoration: none;
}
.btn-download-orange {
    background: linear-gradient(to bottom, #ffd800 0%, #ff6a00 100%);
    border: 2px solid #993d00;
}
.col-sys-req {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    background: #FFF;
}
.sys-list {
    margin: 5px 0 0 20px;
    padding: 0;
    font-size: 10px;
    line-height: 1.5;
}
button {
    font-family: Verdana, Arial, sans-serif;
    font-weight: bold;
    font-size: 11px;
    color: #FFFFFF;
    text-shadow: 1px 1px 0px #333333;
    background: linear-gradient(to bottom, #FFD800 0%, #FF6A00 100%);
    border: 1px solid #993D00;
    border-radius: 3px;
    padding: 4px 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
button:hover {
    filter: brightness(1.08);
}
button:active {
    background: linear-gradient(to bottom, #FF6A00 0%, #FFD800 100%);
}
.col-login {
    width: 170px;
    background: #d3d3d3;
    display: flex;
    flex-direction: column;
}
.login-header {
    border-bottom: 1px solid #000;
    padding: 3px 5px;
    font-weight: bold;
}
.login-body {
    padding: 10px;
    text-align: center;
}
.login-body label {
    display: block;
    text-align: left;
    font-weight: bold;
    margin-bottom: 2px;
}
.login-input {
    width: 90%;
    border: 1px dashed #000;
    margin-bottom: 8px;
    padding: 2px;
}
.login-btn, .logout-btn {
    background: #f0f0f0;
    border: 1px solid #000;
    padding: 2px 15px;
    cursor: pointer;
    margin-bottom: 5px;
    color: #000;
    text-shadow: none;
}
.register-link-btn {
    display: inline-block;
    background: #f0f0f0;
    border: 1px solid #000;
    padding: 2px 15px;
    cursor: pointer;
    color: #000;
    font-size: 11px;
    text-decoration: none;
    margin-bottom: 5px;
}
.register-link-btn:hover {
    text-decoration: none;
    background: #e4e4e4;
}
.login-links {
    font-size: 9px;
    color: #555;
}
.error-text {
    color: red;
    font-weight: bold;
    margin-bottom: 5px;
    display: none;
    font-size: 10px;
}
.logged-in-container {
    display: none;
    text-align: center;
}
.avatar-label {
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
}
.avatar-viewport {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    border: 1px solid #000;
    background: #fff url('Images/default_avatar.png') center/cover no-repeat;
    cursor: pointer;
}
.avatar-viewport:hover {
    border: 1px solid #0000FF;
}
.col-mid {
    width: 440px;
    min-height: 250px;
}
.col-right-top {
    width: 270px;
    background: linear-gradient(to bottom, #f4f8fa 0%, #b8d4e9 100%);
}
.play-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
}
.play-banner-img {
    height: 60px;
}
.col-featured {
    width: 620px;
    padding: 10px;
    box-sizing: border-box;
}
.featured-content {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.featured-thumbnail {
    width: 400px;
    height: 280px;
    border: 1px solid #000;
    background: url('Images/gameplaceholder.png') center/cover;
}
.featured-info {
    flex: 1;
    text-align: center;
}
.play-this-btn {
    background: linear-gradient(to bottom, #7abcff 0%, #0066cc 100%);
    border: 2px solid #003366;
    border-radius: 10px;
    color: #000;
    font-family: "Comic Sans MS", cursive;
    font-size: 22px;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
}
.stats {
    text-align: left;
    font-size: 10px;
    line-height: 1.4;
    margin-bottom: 15px;
}
.creator-img {
    width: 60px;
    height: 60px;
    margin: 0 auto 5px;
    background: url('Images/creator_avatar.png') center/cover;
}
.col-sidebar {
    width: 270px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-box {
    padding: 10px;
    box-sizing: border-box;
}
.fact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    margin-bottom: 10px;
}
.fact-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background: url('Images/money_icon.png') center/contain no-repeat;
}
.col-bottom-left {
    width: 730px;
    min-height: 100px;
}
.col-news {
    width: 160px;
    padding: 5px;
}
.col-news h4 {
    text-align: center;
    margin: 0 0 5px 0;
    font-size: 11px;
}
.col-news ul {
    margin: 0;
    padding-left: 15px;
    font-size: 10px;
    line-height: 1.4;
}
.footer-links {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 30px;
    font-size: 10px;
    color: #333;
}
.footer-links p {
    margin: 5px 0;
}
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-box {
    width: 580px;
    background: #fff;
    border: 1px solid #000;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.3);
    font-family: Verdana, Arial, Helvetica, sans-serif;
}
.popup-header {
    background: #4BB0C9 url('Images/movingClouds.jpg') top left repeat-x;
    animation: movingClouds 60s linear infinite;
    color: #FFF;
    padding: 8px 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
    text-shadow: 1px 1px 0px #333;
}
.close-btn {
    cursor: pointer;
    position: relative;
    z-index: 9999;
    pointer-events: all;
}
.close-btn:hover {
    color: #ff3333;
}
.popup-body {
    padding: 15px;
    text-align: center;
}
.rewards-grid {
    display: flex;
    gap: 5px;
    margin: 15px 0;
    justify-content: space-between;
}
.reward-day {
    flex: 1;
    border: 1px solid #000;
    background: #e0e0e0;
    padding: 10px 2px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.day-label {
    font-weight: bold;
    font-size: 10px;
}
.reward-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background-color: #ccc;
    border: 1px solid #999;
}
.reward-amt {
    font-size: 11px;
    font-weight: bold;
    color: #333;
}
.reward-type {
    font-size: 9px;
    color: #666;
}
.reward-day.claimed {
    background: #a8d5a2;
    border-color: #4a7545;
}
.reward-day.claimed .reward-amt,
.reward-day.claimed .reward-type {
    color: #2d4d29;
    text-decoration: line-through;
    opacity: 0.7;
}
.reward-day.claimed .reward-icon {
    opacity: 0.5;
}
.reward-day.active {
    background: #ffe9a6;
    border: 2px solid #ff9900;
    box-shadow: inset 0 0 5px rgba(255,153,0,0.5);
    cursor: pointer;
}
.reward-day.active .reward-amt,
.reward-day.active .reward-type {
    color: #cc5200;
}
.reward-day.active:hover {
    background: #fff0c2;
}
.claim-btn {
    background: #f0f0f0;
    border: 1px solid #000;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: bold;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #000;
    text-shadow: none;
}
.claim-btn:hover:not(:disabled) {
    background: #e4e4e4;
}
.claim-btn:disabled {
    color: #888;
    cursor: not-allowed;
}