/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;    /* Include padding and border in width */
}

html, body {
    overflow-x: hidden;        /* Prevent horizontal scrolling */
    max-width: 100%;
    font-family: "Segoe UI", Tahoma, sans-serif;
    background:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.7), transparent 30%),
        radial-gradient(circle at 60% 30%, rgba(255,255,255,0.6), transparent 35%),
        linear-gradient(to bottom, #87CEEB, #E0F7FF);
    background-size: 200% 100%;
    animation: skyMove 30s linear infinite;
    color: #fff;
    line-height: 1.6;
}
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* full viewport height */
}
@keyframes skyMove {
    from { background-position: 0 0; }
    to { background-position: 100% 0; }
}

/* ================= BANNER ================= */
.night-sky-banner {
    position: relative;
    height: 150px;
    background: linear-gradient(to bottom, #020617, #0b0f1a); /* solid banner background */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-heading {
    font-size: 2.5rem;
    z-index: 2;
    font-weight: bold;
}

/* Stars */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    opacity: 0.8;
    animation: twinkle infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* Shooting star */
.shooting-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;

    /* Super bright glow effect */
    box-shadow:
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 30px #fff,
        0 0 40px #f0f8ff,
        0 0 60px #b0e0e6,
        0 0 80px #87cefa;
}
/* Planet orbit */
.orbit {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.planet {
    width: 10px;
    height: 10px;
    background: #38bdf8;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #03a200;
    padding: 10px 20px;
    position: relative;
    top: 0;
    z-index: 999;
}

/* Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #e5e7eb;
    padding: 8px 10px;
    display: block;
    font-size: 14px;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* Search */
.search-form {
    display: flex;
    background: #1f2937;
    border-radius: 10px 27px 27px 10px;
    overflow: hidden;
}

.search-form input {
    border: none;
    padding: 6px 10px;
    background: transparent;
    color: white;
    outline: none;
}

.search-form button {
    border: none;
    background: #bdcad0;
    padding: 6px 10px;
    cursor: pointer;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px #fff, 0 0 16px #f7f7f7, 0 0 24px #fff;
}

/* Badge */
.badge {
    background: red;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    margin-left: 5px;
}

/* ================= MEGA MENU ================= */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #111827;
    display: none;
    padding: 20px;
    width: 500px;
    gap: 20px;
    border-radius: 8px;
    flex-wrap: wrap;
    z-index: 1000;
}

.dropdown.active .mega-menu {
    display: flex;
}

.column {
    min-width: 150px;
}

.column h4 {
    margin-bottom: 10px;
    color: #38bdf8;
}

.column a {
    display: block;
    margin-bottom: 5px;
}

/* ================= MOBILE ================= */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Tablet */
@media (max-width: 1024px) {
    .mega-menu {
        width: 90vw;
        left: 0;
    }
}


/* =========================
   MOBILE STYLES responsive
   ========================= */
@media (max-width: 768px) {

    /* MENU TOGGLE BUTTON */
    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 10001;
    }

    /* =========================
       LEFT SIDEBAR MENU
       ========================= */
    .nav-left {
        position: fixed;
        top: 0;
        left: -260px;                 /* Hidden by default */
        width: 260px;
        max-width: 80vw;              /* Prevent overflow on small screens */
        height: 100vh;
        background: #111827;
        padding: 60px 0 20px;
        display: flex;
        flex-direction: column;
        transition: left 0.3s ease-in-out;
        z-index: 9999;
        overflow-y: auto;             /* Allow vertical scrolling */
        overflow-x: hidden;           /* Prevent horizontal overflow */
    }

    .nav-left.active {
        left: 0;                      /* Slide in when active */
    }

    /* NAVIGATION LINKS */
    .nav-left .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-left .nav-links li {
        width: 100%;
        position: relative;           /* Anchor for submenu positioning */
    }

    .nav-left .nav-links li a {
        display: block;
        width: 100%;
        padding: 12px 18px;
        color: #ffffff;
        text-decoration: none;
        white-space: normal;          /* Allow text wrapping */
        word-break: break-word;       /* Prevent long text overflow */
        overflow-wrap: break-word;
    }

    /* =========================
       DROPDOWN / SUB-MENU FIX
       ========================= */
    .nav-left .sub-menu,
    .nav-left .dropdown-menu,
    .nav-left .mega-menu {
        position: relative;           /* Prevents overflow from absolute positioning */
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 8px 0;
        margin: 0;
        background: #1f2937;
        display: none;                /* Hidden by default */
        flex-direction: column;
        box-sizing: border-box;
        overflow: hidden;             /* Ensures no horizontal expansion */
    }

    /* Show submenu when active */
    .nav-left .nav-links li.active > .sub-menu,
    .nav-left .nav-links li.active > .dropdown-menu,
    .nav-left .nav-links li.active > .mega-menu {
        display: flex;
    }

    /* Submenu links */
    .nav-left .sub-menu li a,
    .nav-left .dropdown-menu li a,
    .nav-left .mega-menu li a {
        padding: 10px 30px;
        font-size: 0.95rem;
    }

    /* Remove multi-column layout for mega menu */
    .mega-menu .row,
    .mega-menu .column {
        display: block;
        width: 100%;
    }

    .mega-menu img {
        max-width: 100%;
        height: auto;
    }

    /* =========================
       CENTER NAVIGATION
       ========================= */
    .nav-center {
        display: none;                /* Hidden on mobile */
    }

    /* =========================
       RIGHT SIDE MENU
       ========================= */
    .nav-right {
        position: absolute;
        right: 15px;
        top: 10px;
        z-index: 10000;
        display: flex;
        align-items: center;
        gap: 10px;
        max-width: calc(100% - 70px); /* Prevent pushing layout */
    }

    .nav-right .nav-links {
        display: flex;
        flex-direction: row;          /* Keep horizontal */
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
        flex-wrap: wrap;              /* Wrap if space is limited */
    }

    .nav-right .nav-links li {
        margin: 0;
    }

    /* =========================
       TYPOGRAPHY ADJUSTMENTS
       ========================= */
    .banner-heading {
        font-size: 1.8rem;
        line-height: 1.3;
        padding: 0 10px;
    }

    /* =========================
       SAFETY FIXES FOR NAVBAR & FOOTER
       ========================= */
    .navbar,
    .footer,
    header,
    main,
    section {
        max-width: 100%;
        overflow-x: hidden;
    }
}
/* ================= MAIN ================= */
main {
    flex: 1;
}

/* ================= ADSENSE SAFE AREA ================= */
.ad-container {
    margin: 30px 0;
    text-align: center;
    min-height: 90px;
}

/* ================= FOOTER ================= */
.menu-lower {
    background: #020617;
    text-align: center;
    padding: 20px;
    /* remove margin-top if you want exact stickiness */
}

.social-icons {
    margin: 10px 0;
}

.social-icons a {
    margin: 0 8px;
    display: inline-block;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #9ca3af;
    margin: 0 10px;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #38bdf8;
}
/* ================= login page ================= */
/* ================= LOGIN PAGE ================= */

.login-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Card */
.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    margin-bottom: 20px;
}

/* SVG Header */
.login-header svg {
    width: 100%;
    height: 120px;
}

.login-header textPath {
    fill: #9ca3af;
    font-size: 14px;
}

.login-title {
    fill: #38bdf8;
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 15px;
}

/* Form */
.login-form {
    margin-top: 20px;
}

.login-form-group {
    margin-bottom: 15px;
    text-align: left;
}

.login-form-group label {
    font-size: 13px;
    color: #9ca3af;
    display: block;
    margin-bottom: 5px;
}

.login-form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #374151;
    background: #020617;
    color: white;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

.login-form-group input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 5px #38bdf8;
}

/* Button */
.login-btn-login {
    width: 100%;
    padding: 12px;
    background: #38bdf8;
    border: none;
    border-radius: 6px;
    color: black;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn-login:hover {
    background: #0ea5e9;
}

/* Register link */
.login-register-link {
    margin-top: 15px;
    font-size: 14px;
    color: #9ca3af;
}

.login-register-link a {
    color: #38bdf8;
    text-decoration: none;
}

.login-register-link a:hover {
    text-decoration: underline;
}

/* Messages */
.login-messages {
    margin-bottom: 15px;
}

.login-error-message {
    background: #7f1d1d;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #fff;
}

/* Already logged */
.login-already-logged {
    text-align: center;
    color: #38bdf8;
    margin: 20px 0;
}

/* ================= ADSENSE SAFE ================= */

/* Top ad spacing */
.login-ad-top {
    margin-bottom: 25px;
    text-align: center;
}

/* Bottom ad spacing */
.login-ad-bottom {
    margin-top: 25px;
    text-align: center;
}

.login-ad-box {
    min-height: 90px;
    background: #f5f5f5;
    border-radius: 6px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
    .login-card {
        padding: 20px;
    }

    .login-title {
        font-size: 28px;
    }

    .login-btn-login {
        font-size: 14px;
    }

    .login-form-group input {
        padding: 8px 10px;
    }
}

/* ================= CHAT PAGE ================= */

.chat-container {
    max-width: 900px;
    margin: auto;
    height: 80vh;
    display: flex;
    flex-direction: column;
    background: #556edd;
    border-radius: 10px;
    overflow: hidden;
}

/* Header */
.chat-header {
    background: #063498;
    padding: 12px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #1f2937;
}

.chat-online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-left: 5px;
}

/* Chat box */
.chat-box {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Message */
.chat-message {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    position: relative;
    word-wrap: break-word;
}

/* Left */
.chat-message-left {
    background: #3983eb;
    align-self: flex-start;
}

/* Right */
.chat-message-right {
    background: #38bdf8;
    color: black;
    align-self: flex-end;
}

/* Sender */
.chat-message-sender {
    font-size: 11px;
    opacity: 0.7;
    margin-bottom: 3px;
}

/* Content */
.chat-message-content {
    margin-bottom: 5px;
}

/* Image */
.chat-image {
    max-width: 100%;
    border-radius: 6px;
    margin-top: 5px;
}

/* Meta */
.chat-message-meta {
    font-size: 10px;
    text-align: right;
    opacity: 0.6;
}

/* ================= INPUT ================= */

.chat-input {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: #033dba;
    border-top: 1px solid #1f2937;
}

.chat-input input[type="text"] {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    border: none;
    outline: none;
    background: #020617;
    color: white;
}

.chat-input input[type="file"] {
    color: white;
}

.chat-input button {
    background: #04bc35;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* ================= IMAGE PREVIEW ================= */

#chat-image-preview {
    background: #020617;
    padding: 13px;
    text-align: center;
}

.chat-image-preview {
    max-width: 120px;
    border-radius: 6px;
}

#chat-image-preview button {
    margin-top: 5px;
    background: red;
    border: none;
    padding: 5px;
    cursor: pointer;
}

/* ================= ADSENSE SAFE ================= */

/* Ads MUST be outside chat interaction */
.chat-ad-top,
.chat-ad-bottom {
    text-align: center;
    margin: 20px 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .chat-container {
        height: 85vh;
        border-radius: 0;
    }

    .chat-message {
        max-width: 90%;
        font-size: 13px;
    }

    .chat-input {
        flex-wrap: wrap;
    }

    .chat-input input[type="file"] {
        width: 100%;
    }
}
/* ================= inbox page ================= */
/* ================= INBOX PAGE ================= */

.inbox-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* Title */
.inbox-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
}

/* List */
.inbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Card Link */
.inbox-chat-card-link {
    text-decoration: none;
}

/* Card */
.inbox-chat-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #477def;
    padding: 12px;
    border-radius: 10px;
    transition: 0.3s;
}

.inbox-chat-card:hover {
    background: #5093f2;
}

/* Left */
.inbox-chat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Avatar */
.inbox-avatar {
    width: 45px;
    height: 45px;
    background: #38bdf8;
    color: black;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Online dot */
.inbox-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #111827;
}

/* Info */
.inbox-chat-info {
    display: flex;
    flex-direction: column;
}

/* Username */
.inbox-username {
    font-weight: bold;
    font-size: 15px;
}

/* Last message */
.inbox-last-message {
    font-size: 13px;
    color: #9ca3af;
}

/* Time */
.inbox-msg-time {
    margin-left: 8px;
    font-size: 11px;
    color: #6b7280;
}

/* Right */
.inbox-chat-right {
    display: flex;
    align-items: center;
}

/* Unread badge */
.inbox-unread-badge {
    background: red;
    color: white;
    padding: 5px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* Empty */
.inbox-empty {
    text-align: center;
    color: #9ca3af;
}

/* ================= ADSENSE SAFE ================= */

.inbox-ad-top,
.inbox-ad-middle,
.inbox-ad-bottom {
    text-align: center;
    margin: 20px 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .inbox-container {
        padding: 10px;
    }

    .inbox-chat-card {
        padding: 10px;
    }

    .inbox-avatar {
        width: 40px;
        height: 40px;
    }

    .inbox-last-message {
        font-size: 12px;
    }

    .inbox-msg-time {
        display: block;
        margin-left: 0;
    }
}
/* ================= user_search PAGE ================= */
/* ================= USER SEARCH PAGE ================= */

.user-search-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* Title */
.user-search-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

/* Form */
.user-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.user-search-input {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #374151;
    background: #020617;
    color: white;
    outline: none;
}

.user-search-input:focus {
    border-color: #38bdf8;
}

/* Button */
.user-search-btn {
    padding: 10px 15px;
    background: #38bdf8;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* Divider */
.user-search-divider {
    height: 1px;
    background: #1f2937;
    margin: 15px 0;
}

/* List */
.user-search-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Card */
.user-search-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #356bde;
    padding: 12px;
    border-radius: 10px;
    transition: 0.3s;
}

.user-search-card:hover {
    background: #0ea201;
}

/* Info */
.user-search-info {
    display: flex;
    flex-direction: column;
}

/* Username */
.user-search-username {
    font-weight: bold;
    font-size: 15px;
    color: #38bdf8;
    text-decoration: none;
}

.user-search-username:hover {
    text-decoration: underline;
}

/* Meta */
.user-search-meta {
    font-size: 13px;
    color: #9ca3af;
}

/* Actions */
.user-search-actions {
    display: flex;
    align-items: center;
}

/* Message button */
.user-search-message-btn {
    background: #38bdf8;
    color: black;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

/* Empty */
.user-search-empty {
    text-align: center;
    color: #9ca3af;
}

/* ================= ADSENSE SAFE ================= */

.user-search-ad-top,
.user-search-ad-middle,
.user-search-ad-bottom {
    text-align: center;
    margin: 20px 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .user-search-form {
        flex-direction: column;
    }

    .user-search-btn {
        width: 100%;
    }

    .user-search-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .user-search-actions {
        width: 100%;
    }

    .user-search-message-btn {
        width: 100%;
        text-align: center;
    }
}
/* ================= game-over PAGE ================= */
/* ================= GAME OVER PAGE ================= */

.game-over-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Card */
.game-over-card {
    width: 100%;
    max-width: 360px;
    background: #111827;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* Title */
.game-over-title {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Score */
.game-over-score {
    font-size: 18px;
    margin-bottom: 20px;
    color: #9ca3af;
}

/* Buttons container */
.game-over-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Buttons */
.game-over-btn {
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

/* Variants */
.game-over-btn-green {
    background: #22c55e;
    color: black;
}

.game-over-btn-blue {
    background: #38bdf8;
    color: black;
}

.game-over-btn:hover {
    opacity: 0.9;
}

/* ================= ADSENSE SAFE ================= */

.game-over-ad-top,
.game-over-ad-bottom {
    text-align: center;
    margin: 25px 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 480px) {

    .game-over-card {
        padding: 20px;
    }

    .game-over-title {
        font-size: 20px;
    }

    .game-over-score {
        font-size: 16px;
    }
}
/* ================= leaderboard page ================= */
/* ================= LEADERBOARD PAGE ================= */

.leaderboard-container {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.leaderboard-card {
    width: 100%;
    max-width: 800px;
    background: #111827;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* Title */
.leaderboard-title {
    text-align: center;
    margin-bottom: 20px;
}

/* Table wrapper (important for mobile) */
.leaderboard-table-wrapper {
    overflow-x: auto;
}

/* Table */
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

/* Header */
.leaderboard-table thead {
    background: #22c55e;
    color: black;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 10px;
}

/* Rows */
.leaderboard-table tbody tr {
    border-bottom: 1px solid #1f2937;
}

/* Highlight current user */
.leaderboard-you {
    color: #facc15;
    font-weight: bold;
}

/* Medal styling */
.leaderboard-rank {
    font-size: 18px;
}

/* Button */
.leaderboard-action {
    text-align: center;
    margin-top: 20px;
}

.leaderboard-btn {
    padding: 10px 20px;
    background: #38bdf8;
    color: black;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

/* ================= ADSENSE SAFE ================= */

.leaderboard-ad-top,
.leaderboard-ad-middle,
.leaderboard-ad-bottom {
    text-align: center;
    margin: 25px 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 600px) {

    .leaderboard-card {
        padding: 15px;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 8px;
        font-size: 13px;
    }

    .leaderboard-title {
        font-size: 20px;
    }
}
/* ================= play PAGE ================= */
/* ================= PLAY GAME PAGE ================= */

.play-game-container {
    max-width: 700px;
    margin: auto;
    padding: 20px;
    text-align: center;
}

/* Player */
.play-game-container h5 {
    margin-bottom: 10px;
    color: #9ca3af;
}

/* Example */
.play-game-example {
    background: #1f2937;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.play-game-example h2 {
    font-size: 18px;
}

/* Word */
.play-game-word {
    font-size: 22px;
    margin-bottom: 15px;
    color: #38bdf8;
}

/* Stats */
.play-game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    color: #9ca3af;
}

/* Options */
.play-game-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Buttons */
.play-option-button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #111827;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

.play-option-button:hover {
    background: #38bdf8;
    color: black;
}

/* ================= ADSENSE SAFE ================= */

.play-game-ad-top,
.play-game-ad-bottom {
    text-align: center;
    margin: 25px 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 600px) {

    .play-game-word {
        font-size: 18px;
    }

    .play-game-example h2 {
        font-size: 16px;
    }

    .play-game-stats {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .play-option-button {
        font-size: 14px;
        padding: 10px;
    }
}
/* ================= start_game PAGE ================= */

.game-home-container {
    max-width: 500px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
}

.game-home-container h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #38bdf8;
}

/* Buttons */
.game-home-btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px 0;
    background-color: #22c55e;
    color: black;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.game-home-btn:hover {
    background-color: #16a34a;
    color: white;
}

/* Links */
.game-home-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 16px;
    text-decoration: none;
    color: #fbbf24;
    transition: 0.3s;
}

.game-home-link:hover {
    color: #f59e0b;
}

/* ================= ADSENSE SAFE ================= */
.game-home-ad-top,
.game-home-ad-bottom {
    text-align: center;
    margin: 20px 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 600px) {
    .game-home-container {
        padding: 15px;
    }
    .game-home-btn {
        width: 90%;
        font-size: 16px;
        padding: 10px;
    }
    .game-home-link {
        font-size: 14px;
    }
}
/* ================= add_post PAGE ================= */
/* ===== ADD POST PAGE ===== */
.add-form-container {
    display: flex;
    justify-content: center;
    padding: 30px 15px;
}

.add-form-card {
    width: 100%;
    max-width: 600px;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.add-form-title {
    text-align: center;
    margin-bottom: 25px;
    color: #3b82f6;
}

.add-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.add-form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.add-form-group input,
.add-form-group textarea {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    resize: vertical;
}

.add-form-group textarea {
    min-height: 100px; /* ensures message body is large enough */
}

.add-btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #10b981;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.add-btn-primary:hover {
    background-color: #059669;
}

/* ===== ADSENSE SAFE ===== */
.add-form-ad-top,
.add-form-ad-bottom {
    text-align: center;
    margin: 20px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .add-form-card {
        padding: 20px;
    }
    .add-form-title {
        font-size: 20px;
    }
    .add-btn-primary {
        font-size: 15px;
        padding: 10px;
    }
}
/* ================= delete_comment PAGE ================= */
/* ===== DELETE COMMENT PAGE ===== */
.delete-comment-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    min-height: 60vh;
}

.delete-comment-card {
    width: 100%;
    max-width: 400px;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.delete-comment-warning-text {
    font-size: 18px;
    color: #b91c1c;
    margin-bottom: 20px;
    font-weight: bold;
}

.delete-comment-actions {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
}

.delete-comment-btn-confirm,
.delete-comment-btn-cancel {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    flex: 1;
    min-width: 100px;
}

.delete-comment-btn-confirm {
    background-color: #ef4444;
    color: white;
}

.delete-comment-btn-confirm:hover {
    background-color: #b91c1c;
}

.delete-comment-btn-cancel {
    background-color: #9ca3af;
    color: white;
}

.delete-comment-btn-cancel:hover {
    background-color: #6b7280;
}

.delete-comment-alert {
    text-align: center;
    color: #374151;
    font-weight: 600;
    padding: 20px;
}

/* ===== ADSENSE SAFE ===== */
.delete-comment-ad-top,
.delete-comment-ad-bottom {
    text-align: center;
    margin: 20px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
    .delete-comment-card {
        padding: 20px;
    }
    .delete-comment-warning-text {
        font-size: 16px;
    }
    .delete-comment-btn-confirm,
    .delete-comment-btn-cancel {
        font-size: 14px;
        padding: 8px 15px;
    }
}
/* ================= delete PAGE ================= */
/* ===== DELETE BLOG POST ===== */
.delete-page-title {
    text-align: center;
    font-size: 28px;
    margin-top: 20px;
    color: #111827;
}

.delete-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    min-height: 60vh;
}

.delete-card {
    width: 100%;
    max-width: 450px;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.delete-warning-text {
    font-size: 18px;
    color: #b91c1c;
    margin-bottom: 25px;
    font-weight: bold;
}

.delete-actions {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
}

.delete-btn-danger,
.delete-btn-cancel {
    flex: 1;
    min-width: 120px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.delete-btn-danger {
    background-color: #ef4444;
    color: #fff;
}

.delete-btn-danger:hover {
    background-color: #b91c1c;
}

.delete-btn-cancel {
    background-color: #9ca3af;
    color: #fff;
}

.delete-btn-cancel:hover {
    background-color: #6b7280;
}

/* ===== ADSENSE SAFE ===== */
.delete-ad-top,
.delete-ad-bottom {
    text-align: center;
    margin: 20px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
    .delete-card {
        padding: 20px;
    }
    .delete-warning-text {
        font-size: 16px;
    }
    .delete-btn-danger,
    .delete-btn-cancel {
        font-size: 14px;
        padding: 8px 15px;
    }
}
/* ================= detail PAGE ================= */
/* ==========================
   detail.css - Post Detail Page
   Fully responsive & AdSense-friendly
========================== */

/* Container */
.detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 15px;
    font-family: Arial, sans-serif;
}

/* Ads */
.detail-ad-top,
.detail-ad-bottom {
    text-align: center;
    margin: 15px 0;
}

/* Post Card */
.detail-post-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* Post Title */
.detail-article-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    word-break: break-word;
    color: #111827;
    background-color: rgb(235, 235, 235);
    border-radius: 10px;
    text-align: center;
}

/* Post Body */
.detail-article-body {
    background-color: rgb(227, 220, 220);
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    white-space: pre-wrap; /* Keep line breaks */
}

/* Post Image */
.detail-posted-image {
    text-align: center;
    margin: 15px 0;
}

.detail-post-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Meta Info */
.detail-meta {
    font-size: 0.9rem;
    color: #555;
    margin: 3px 0;
}

/* Action Buttons */
.detail-actions a.detail-btn-action {
    margin-right: 10px;
    padding: 8px 15px;
    background: #4CAF50;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
}

.detail-actions a.detail-btn-delete {
    margin-right: 10px;
    padding: 8px 15px;
    background: #f44336;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Comments Section */
.detail-comments-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.detail-comment {
    background: #f9f9f9;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    color: #333;
}

.comment-text {
    margin-bottom: 5px;
    color: #333;
}

.comment-author {
    font-weight: bold;
    font-size: 0.9rem;
    color: #111827;
}

.comment-time {
    color: #777;
    font-size: 0.8rem;
}

/* Add Comment Form */
.detail-add-comment-card textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    min-height: 50px;
    font-size: 1rem;
    resize: vertical;
}

.detail-add-comment-card button.detail-btn {
    padding: 8px 16px;
    background: #2196F3;
    color: #fff;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.detail-add-comment-card button.detail-btn:hover {
    background: #1976D2;
}

/* Back Link */
.detail-back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #2196F3;
    text-decoration: none;
}

.detail-back-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .detail-article-title {
        font-size: 1.5rem;
    }

    .detail-actions a.detail-btn-action {
        margin-bottom: 5px;
        display: inline-block;
    }

    .detail-add-comment-card button.detail-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .detail-article-title {
        font-size: 1.3rem;
    }

    .detail-article-body {
        font-size: 0.95rem;
    }

    .detail-meta {
        font-size: 0.8rem;
    }

    .comment-author, .comment-time {
        font-size: 0.75rem;
    }
}
/*----edit_comment PAGE----*/
.edit-comment-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 15px;
}

/* Card */
.edit-comment-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Title */
.edit-comment-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #111827;
}

/* Form elements */
.edit-comment-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.edit-comment-card textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    resize: vertical;
    font-size: 14px;
    transition: border 0.3s;
}

.edit-comment-card textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* Button */
.edit-comment-btn-submit {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.edit-comment-btn-submit:hover {
    background: #0056b3;
}

/* Alert */
.edit-comment-alert {
    text-align: center;
    color: #dc3545;
    font-weight: 500;
}

/* Responsive */
@media (min-width: 768px) {
    .edit-comment-card {
        padding: 35px;
    }

    .edit-comment-title {
        font-size: 1.8rem;
    }
}
/*----edit PAGE----*/
/* Container (reduced width) */
.edit-form-container {
    max-width: 600px;   /* reduced from 800px */
    margin: 40px auto;
    padding: 0 15px;
}

/* Title */
.edit-page-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

/* Form Card */
.edit-form-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

/* Form Fields */
.edit-form-fields p {
    margin-bottom: 15px;
}

.edit-form-fields label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}

/* Inputs */
.edit-form-fields input,
.edit-form-fields textarea,
.edit-form-fields select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border 0.3s;
}

.edit-form-fields input:focus,
.edit-form-fields textarea:focus,
.edit-form-fields select:focus {
    border-color: #007bff;
    outline: none;
}

/* Button */
.edit-btn-primary {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.edit-btn-primary:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .edit-form-container {
        max-width: 100%;
        margin: 20px auto;
    }

    .edit-form-card {
        padding: 20px;
    }
}

@media (min-width: 1200px) {
    .edit-form-container {
        max-width: 550px; /* slightly narrower on large screens */
    }
}
/* ================= home PAGE ================= */
/* ===== Container ===== */
.home-feed-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 15px;
}

/* ===== Create Post Button ===== */
.home-create-post {
    text-align: center;
    margin-bottom: 25px;
}

.home-btn-create {
    display: inline-block;
    padding: 10px 18px;
    background: #28a745;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.home-btn-create:hover {
    background: #218838;
}

/* ===== Post Card ===== */
.home-post-card {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ===== Title ===== */
.home-post-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
    background-color: rgb(216, 212, 212);
    border-radius: 10px;
}

.home-post-title a {
    text-decoration: none;
    color: #222;
}

.home-post-title a:hover {
    color: #007bff;
}

/* ===== Meta ===== */
.home-post-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== Content ===== */
.home-post-content p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    background-color: rgb(239, 235, 235);
    border-radius: 10px;
    min-height: 75px;
    padding: 15px;
}

/* ===== Image ===== */
.home-post-image-wrapper {
    margin-top: 15px;
}

.home-post-thumbnail {
    width:7em;
    height: 3em;
    border-radius: 8px;
    object-fit: cover;
}
/* ===== Actions ===== */
.home-post-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-post-actions a {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    color: #fff;
}

/* Buttons */
.home-btn-readmore {
    background: #007bff;
}
.home-btn-readmore:hover {
    background: #0056b3;
}

.home-btn-edit {
    background: #ffc107;
    color: #000 !important;
}
.home-btn-edit:hover {
    background: #e0a800;
}

.home-btn-delete {
    background: #dc3545;
}
.home-btn-delete:hover {
    background: #c82333;
}

/* ===== Empty State ===== */
.home-no-posts {
    text-align: center;
    color: #666;
    margin-top: 30px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .home-feed-container {
        max-width: 100%;
    }

    .home-post-title {
        font-size: 1.3rem;
    }

    .home-post-card {
        padding: 15px;
    }
}

/* ===== AdSense Friendly Spacing ===== */
/* Add spacing between posts for future ads */
.home-post-card + .home-post-card {
    margin-top: 30px;
}
/* Ad Containers */
.home-ad-container {
    text-align: center;
    margin: 25px 0;
}

/* Placeholder (replace later with real ads) */
.home-ad-box {
    min-height: 90px;
    border-radius: 6px;
}
/*------------------- dashboard PAGE ------------------ */
/* ===== Container ===== */
.dashboard-cv-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 15px;
    color: #333;
    background-color: #ededed;
    border-radius: 10px;
}

/* ===== Header ===== */
.dashboard-cv-header h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* ===== Layout ===== */
.dashboard-cv-columns {
    display: flex;
    gap: 25px;
}

/* ===== Left Column ===== */
.dashboard-left-column {
    flex: 1;
    max-width: 350px;
}

/* ===== Right Column ===== */
.dashboard-right-column {
    flex: 2;
}

/* ===== Sections ===== */
.dashboard-section {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ===== Profile ===== */
.dashboard-profile-picture {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.dashboard-profile-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ===== Buttons ===== */
.dashboard-btn-link,
.dashboard-btn-edit,
.dashboard-btn-create,
.dashboard-add-btn {
    display: inline-block;
    padding: 8px 14px;
    margin: 5px 5px 0 0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
}

.dashboard-btn-link { background: #007bff; color: #fff; }
.dashboard-btn-edit { background: #ffc107; color: #000; }
.dashboard-btn-create { background: #28a745; color: #fff; }
.dashboard-add-btn { background: #17a2b8; color: #fff; }

/* ===== Items ===== */
.dashboard-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.dashboard-actions a {
    margin-right: 10px;
    font-size: 13px;
}

/* ===== Ads ===== */
.dashboard-ad-container {
    text-align: center;
    margin: 25px 0;
}

.dashboard-ad-box {
    min-height: 90px;
    border-radius: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .dashboard-cv-columns {
        flex-direction: column;
    }

    .dashboard-left-column {
        max-width: 100%;
    }
}
<!-- ================= form-PAGE ================= -->
/* ===== Container ===== */
.form-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 15px;
    color:#000;
}

/* ===== Card ===== */
.form-card {
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    color:#000;
}

/* ===== Title ===== */
.form-title {
    text-align: center;
    color:#000;
    font-size: 1.7rem;
    margin-bottom: 20px;
}

/* ===== Form Fields ===== */
.form-fields p {
    margin-bottom: 15px;
    color:#000;
}

.form-fields label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color:#000;
}

/* Inputs */
.form-fields input,
.form-fields textarea,
.form-fields select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border 0.3s;
}

.form-fields input:focus,
.form-fields textarea:focus,
.form-fields select:focus {
    border-color: #007bff;
    outline: none;
}

/* ===== Button ===== */
.form-btn-primary {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
}

.form-btn-primary:hover {
    background: #0056b3;
}

/* ===== Footer ===== */
.form-footer {
    margin-top: 15px;
    text-align: center;
}

.form-btn-link {
    text-decoration: none;
    color: #007bff;
}

/* ===== Ads ===== */
.form-ad-container {
    text-align: center;
    margin: 25px 0;
}

.form-ad-box {
    min-height: 90px;
    border-radius: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .form-card {
        padding: 20px;
    }

    .form-title {
        font-size: 1.5rem;
    }
}
/* ================= profile PAGE ================= */
/* ===== Container ===== */
.profile-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 15px;
    color:black;
}

/* ===== Header ===== */
.profile-header {
    text-align: center;
    margin-bottom: 20px;
}

/* ===== Section ===== */
.profile-section {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ===== Grid ===== */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    margin-bottom: 15px;
}

/* ===== Text ===== */
.profile-headline {
    font-weight: 600;
    margin-bottom: 10px;
}

.profile-summary {
    color: #555;
    line-height: 1.6;
}

/* ===== Cards ===== */
.profile-card {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.profile-title {
    font-weight: 600;
}

.profile-meta {
    font-size: 13px;
    color: #777;
}

/* ===== Skills ===== */
.profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-skill-badge {
    background: #007bff;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* ===== Ads ===== */
.profile-ad-container {
    text-align: center;
    margin: 25px 0;
}

.profile-ad-box {
    min-height: 90px;
    border-radius: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-section {
        padding: 15px;
    }
}
/* ================= register PAGE ================= */
/* ===== Container ===== */
.register-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 0 15px;
}

/* ===== Card ===== */
.register-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    text-align: center;
}

/* ===== Title ===== */
.register-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

.register-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* ===== Form Fields ===== */
.register-form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    color: #333;
}

.register-form-fields label {
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

.register-form-fields input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border 0.3s;
}

.register-form-fields input:focus {
    border-color: #007bff;
    outline: none;
}

/* ===== Button ===== */
.register-btn-register {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.register-btn-register:hover {
    background: #0056b3;
}

/* ===== Login Link ===== */
.register-login-link {
    margin-top: 15px;
    font-size: 13px;
    color:black;
}

/* ===== Ads ===== */
.register-ad-container {
    text-align: center;
    margin: 25px 0;
}

.register-ad-box {
    min-height: 90px;
    border-radius: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .register-card {
        padding: 20px;
    }

    .register-title {
        font-size: 1.6rem;
    }
}
