/* ===========================
   LANDING PAGE — Professional Redesign
   =========================== */

/* Hero — Full width, full viewport height */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../main-logo.png') center center / contain no-repeat;
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,26,0.2) 0%, rgba(10,10,26,0.4) 60%, rgba(10,10,26,0.85) 85%, #0a0a1a 100%),
        radial-gradient(ellipse at 50% 30%, rgba(124,58,237,0.12) 0%, transparent 60%);
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px 60px;
}
/* Status bar pinned to bottom of hero */
.hero-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 14px 28px;
    background: rgba(10, 10, 26, 0.85);
    border-top: 1px solid rgba(139,92,246,0.15);
    backdrop-filter: blur(12px);
}
.hero-status .status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    color: #9ca3af;
}
.hero-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34,197,94,0.6);
    animation: pulse 2s ease-in-out infinite;
}
.hero-status .status-label {
    font-weight: 500;
    color: #22c55e;
}
.hero-status .status-icon {
    font-size: 1em;
}
.hero-status .status-value {
    color: #d1d5db;
}
.hero-status .status-divider {
    width: 1px;
    height: 20px;
    background: rgba(139,92,246,0.15);
}
.logo-wrap {
    margin-bottom: 24px;
    display: none;
}
.logo-img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(139,92,246,0.3)) drop-shadow(0 0 80px rgba(124,58,237,0.15));
    animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 2.8em;
    font-weight: 900;
    color: #fff;
    text-shadow:
        0 0 40px rgba(139,92,246,0.5),
        0 0 80px rgba(124,58,237,0.3),
        0 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 6px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 16px;
}
.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4em;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Login — overlay on hero */
.login-section {
    display: flex;
    justify-content: center;
    padding: 0 20px 60px;
    margin-top: -100px;
    position: relative;
    z-index: 2;
}
.login-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(10, 10, 30, 0.85);
    border: 1px solid rgba(139,92,246,0.25);
    border-radius: 24px;
    padding: 44px 40px;
    backdrop-filter: blur(24px);
    box-shadow:
        0 0 0 1px rgba(139,92,246,0.05),
        0 20px 60px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
.login-glow {
    position: absolute;
    top: -1px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a78bfa, transparent);
    border-radius: 50%;
    filter: blur(1px);
}
.login-heading {
    font-family: 'Cinzel', serif;
    font-size: 1.4em;
    color: #c4b5fd;
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: 2px;
    font-weight: 700;
}
.wand-icon {
    color: #a78bfa;
    font-size: 0.9em;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.input-group label {
    font-size: 0.8em;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}
.input-group input {
    padding: 14px 18px;
    background: rgba(20, 20, 45, 0.8);
    border: 1px solid rgba(139,92,246,0.15);
    border-radius: 12px;
    color: #e0e0e0;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}
.input-group input::placeholder {
    color: #4b5563;
}
.input-group input:focus {
    border-color: rgba(139,92,246,0.5);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.1), 0 0 20px rgba(139,92,246,0.08);
    background: rgba(25, 25, 55, 0.9);
}
.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    margin-top: 8px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 12px;
    font-family: 'Cinzel', serif;
    font-size: 1.05em;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}
.btn-login:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 30px rgba(139,92,246,0.4), 0 0 60px rgba(139,92,246,0.1);
    transform: translateY(-1px);
}
.btn-login:hover::before {
    left: 100%;
}
.btn-login:active {
    transform: translateY(0);
}
.btn-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}
.btn-login:hover .btn-arrow {
    transform: translateX(4px);
}
.login-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(139,92,246,0.1);
}
.link-create {
    color: #a78bfa;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}
.link-create:hover {
    color: #c4b5fd;
}
.link-icon {
    font-size: 1.1em;
}
.link-forgot {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85em;
    transition: color 0.3s;
}
.link-forgot:hover {
    color: #9ca3af;
}

/* Status Bar */
.status-bar {
    max-width: 600px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 14px 28px;
    background: rgba(15, 15, 35, 0.6);
    border: 1px solid rgba(139,92,246,0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}
.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    color: #9ca3af;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34,197,94,0.6);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.status-label {
    font-weight: 500;
    color: #22c55e;
}
.status-icon {
    font-size: 1em;
}
.status-value {
    color: #d1d5db;
}
.status-divider {
    width: 1px;
    height: 20px;
    background: rgba(139,92,246,0.15);
}

/* Features */
.features-section {
    max-width: 1000px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 20px;
}
.feature-card {
    text-align: center;
    padding: 36px 28px;
    background: linear-gradient(135deg, rgba(20,20,45,0.6), rgba(12,15,30,0.6));
    border: 1px solid rgba(139,92,246,0.1);
    border-radius: 16px;
    transition: all 0.4s ease;
}
.feature-card:hover {
    border-color: rgba(139,92,246,0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 40px rgba(139,92,246,0.05);
}
.feature-icon {
    font-size: 2.5em;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(139,92,246,0.3));
}
.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1em;
    color: #c4b5fd;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.feature-card p {
    font-size: 0.9em;
    color: #9ca3af;
    line-height: 1.6;
}

/* Landing Content */
.landing-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Online */
.online-section {
    margin-bottom: 30px;
}
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1em;
    color: #c4b5fd;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-icon {
    font-size: 1.1em;
}
.online-players {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.player-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.15);
    border-radius: 20px;
    color: #a78bfa;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s;
}
.player-badge:hover {
    background: rgba(139,92,246,0.2);
    border-color: rgba(139,92,246,0.3);
}

/* Cards */
.landing-card {
    background: linear-gradient(135deg, rgba(20,20,45,0.7), rgba(12,15,30,0.7));
    border: 1px solid rgba(139,92,246,0.1);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.3s;
}
.landing-card:hover {
    border-color: rgba(139,92,246,0.2);
}
.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3em;
    color: #c4b5fd;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(139,92,246,0.1);
}
.card-icon {
    font-size: 1.1em;
}
.card-text {
    line-height: 1.8;
    color: #d1d5db;
    font-size: 0.95em;
}
.magic-link {
    color: #a78bfa;
    text-decoration: none;
    border-bottom: 1px solid rgba(167,139,250,0.3);
    transition: all 0.3s;
}
.magic-link:hover {
    color: #c4b5fd;
    border-bottom-color: #c4b5fd;
}
.news-entry {
    background: rgba(25,25,55,0.4);
    border-left: 3px solid rgba(139,92,246,0.3);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 12px 0;
    color: #d1d5db;
    line-height: 1.6;
    font-size: 0.92em;
    transition: all 0.3s;
}
.news-entry:hover {
    border-left-color: #a78bfa;
    background: rgba(25,25,55,0.6);
}

/* ===========================
   UPDATES PAGE — Game Dashboard
   =========================== */
.updates-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Main news post */
.updates-hero {
    background: linear-gradient(135deg, rgba(20,20,45,0.85), rgba(15,10,35,0.85));
    border: 1px solid rgba(139,92,246,0.15);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.updates-hero::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #a78bfa, #818cf8, #c084fc, transparent);
}
.updates-hero .meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.85em;
}
.updates-hero .meta .author {
    color: #a78bfa;
    font-weight: 600;
}
.updates-hero .meta .date {
    color: #6b7280;
}
.updates-hero .meta .admin-link {
    color: #818cf8;
    text-decoration: none;
    font-size: 0.85em;
    margin-left: auto;
}
.updates-hero .meta .admin-link:hover {
    color: #c4b5fd;
}
.updates-hero .title {
    font-family: 'Cinzel', serif;
    font-size: 1.5em;
    color: #e9d5ff;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.updates-hero .body {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 0.95em;
}
.updates-hero .body a {
    color: #a78bfa;
    text-decoration: none;
    border-bottom: 1px solid rgba(167,139,250,0.3);
    transition: all 0.3s;
}
.updates-hero .body a:hover {
    color: #c4b5fd;
    border-bottom-color: #c4b5fd;
}
.updates-hero .newplayer-banner {
    background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(16,185,129,0.05));
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 20px;
    color: #86efac;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Comments link */
.updates-comments {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 8px 16px;
    background: rgba(139,92,246,0.08);
    border: 1px solid rgba(139,92,246,0.12);
    border-radius: 10px;
    color: #a78bfa;
    text-decoration: none;
    font-size: 0.85em;
    transition: all 0.3s;
}
.updates-comments:hover {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.25);
    color: #c4b5fd;
}

/* Two-column changes/vallars */
.updates-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.updates-column {
    background: linear-gradient(135deg, rgba(20,20,45,0.7), rgba(12,15,30,0.7));
    border: 1px solid rgba(139,92,246,0.1);
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
}
.updates-column h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1em;
    color: #c4b5fd;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(139,92,246,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.updates-column h3 .col-icon {
    font-size: 1.1em;
}
.entry-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(139,92,246,0.06);
    font-size: 0.9em;
    line-height: 1.6;
}
.entry-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.entry-item .entry-date {
    font-size: 0.8em;
    color: #6b7280;
    margin-bottom: 4px;
}
.entry-item .entry-label {
    color: #9ca3af;
    font-size: 0.82em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.entry-item .entry-value {
    color: #e0e0e0;
    font-weight: 600;
}
.entry-item .entry-value a {
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.3s;
}
.entry-item .entry-value a:hover {
    color: #c4b5fd;
}
.entry-item .entry-text {
    color: #d1d5db;
    margin-top: 2px;
}
.updates-column .view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(139,92,246,0.08);
    border: 1px solid rgba(139,92,246,0.12);
    border-radius: 10px;
    color: #a78bfa;
    text-decoration: none;
    font-size: 0.85em;
    transition: all 0.3s;
}
.updates-column .view-all:hover {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.25);
    color: #c4b5fd;
}

/* All updates list */
.updates-all {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}
.updates-all .all-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4em;
    color: #c4b5fd;
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.updates-all .all-entry {
    background: linear-gradient(135deg, rgba(20,20,45,0.7), rgba(12,15,30,0.7));
    border: 1px solid rgba(139,92,246,0.1);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s;
}
.updates-all .all-entry:hover {
    border-color: rgba(139,92,246,0.2);
}
.updates-all .all-entry .title {
    font-family: 'Cinzel', serif;
    font-size: 1.15em;
    color: #e9d5ff;
    margin-bottom: 8px;
}
.updates-all .all-entry .meta {
    font-size: 0.85em;
    color: #6b7280;
    margin-bottom: 12px;
}
.updates-all .all-entry .meta .author {
    color: #a78bfa;
    font-weight: 500;
}
.updates-all .all-entry .body {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 0.92em;
}
.updates-all .all-entry .body a {
    color: #a78bfa;
    text-decoration: none;
    border-bottom: 1px solid rgba(167,139,250,0.3);
}
.updates-all .all-entry .body a:hover {
    color: #c4b5fd;
    border-bottom-color: #c4b5fd;
}
.updates-all .all-entry .comments-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: #a78bfa;
    text-decoration: none;
    font-size: 0.85em;
    transition: color 0.3s;
}
.updates-all .all-entry .comments-link:hover {
    color: #c4b5fd;
}

/* Comments section */
.comments-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
}
.comments-wrap .comments-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3em;
    color: #c4b5fd;
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.comment-item {
    background: rgba(20,20,45,0.6);
    border: 1px solid rgba(139,92,246,0.08);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 12px;
}
.comment-item .comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85em;
}
.comment-item .comment-author {
    color: #a78bfa;
    font-weight: 600;
    text-decoration: none;
}
.comment-item .comment-author:hover {
    color: #c4b5fd;
}
.comment-item .comment-date {
    color: #6b7280;
}
.comment-item .comment-delete {
    color: #ef4444;
    text-decoration: none;
    margin-left: auto;
    font-size: 0.85em;
}
.comment-item .comment-body {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 0.92em;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 24px 0;
    font-size: 0.9em;
}
.pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(139,92,246,0.2);
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 8px;
    color: #c4b5fd;
    font-weight: 600;
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(139,92,246,0.05);
    border: 1px solid rgba(139,92,246,0.1);
    border-radius: 8px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s;
}
.pagination a:hover {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.25);
    color: #c4b5fd;
}

/* Comment form */
.comment-form {
    margin-top: 24px;
}

/* Footer */
.landing-footer {
    border-top: 1px solid rgba(139,92,246,0.08);
    padding: 28px 20px;
    margin-top: 40px;
}
.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 0.95em;
    color: #6b7280;
    letter-spacing: 1px;
}
.footer-copy {
    font-size: 0.75em;
    color: #4b5563;
}
.footer-right {
    font-size: 0.8em;
    color: #6b7280;
}
.footer-link {
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-link:hover {
    color: #c4b5fd;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { height: 400px; }
    .hero-title { font-size: 2.8em; letter-spacing: 3px; }
    .hero-tagline { font-size: 1em; letter-spacing: 3px; }
    .logo-img { max-width: 160px; }
    .features-section { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 28px 20px; }
    .login-card { padding: 28px 24px; }
    .status-bar { flex-wrap: wrap; gap: 12px; border-radius: 16px; }
    .status-divider { display: none; }
    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
    .landing-card { padding: 24px 20px; }
    .updates-columns { grid-template-columns: 1fr; }
    .updates-hero { padding: 24px; }
}
@media (max-width: 480px) {
    .hero { height: 350px; }
    .hero-title { font-size: 2em; }
    .hero-tagline { font-size: 0.85em; letter-spacing: 2px; }
    .login-links { flex-direction: column; gap: 12px; align-items: center; }
}
