@charset "UTF-8";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #1f2933, #020617);
    color: #e5e7eb;
}

.page-wrapper {
    width: 100%;
    max-width: 1100px;
    padding: 24px;
}

.card {
    background: #020617;
    border-radius: 12px;
    border: 1px solid #1f2937;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
    padding: 28px 32px;
}

.card-narrow {
    max-width: 420px;
    margin: 0 auto;
}

.card-register {
    max-width: 480px;
    margin: 0 auto;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.subtitle {
    font-size: 14px;
    color: #9ca3af;
}

.nav-link {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: none;
}

.nav-link:hover {
    color: #f97316;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

label {
    font-size: 13px;
    color: #9ca3af;
}

input[type="text"],
input[type="password"],
input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.3);
}

button {
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #f9fafb;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
}

button:hover {
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
}

button:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.45);
}

.message-error {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(248, 113, 113, 0.1);
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.4);
    font-size: 13px;
}

.message-success {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(22, 163, 74, 0.12);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.4);
    font-size: 13px;
}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 20px;
    margin-top: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 13px;
}

th,
td {
    padding: 8px 10px;
    border-bottom: 1px solid #111827;
}

th {
    text-align: left;
    font-weight: 500;
    color: #9ca3af;
    background: #020617;
}

tr:nth-child(even) td {
    background: rgba(15, 23, 42, 0.7);
}

tr:nth-child(odd) td {
    background: rgba(15, 23, 42, 0.9);
}

tr.expired td {
    background: rgba(248, 113, 113, 0.08);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

.badge-active {
    background: rgba(22, 163, 74, 0.15);
    color: #bbf7d0;
}

.badge-inactive {
    background: rgba(248, 113, 113, 0.15);
    color: #fecaca;
}

.badge-expired {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
}

/* =========================================
   GAMING DROPDOWN STYLES
   ========================================= */
.gaming-dropdown-wrapper {
    position: relative;
    display: inline-block;
    z-index: 2000;
}

.gaming-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding-top: 10px; /* Space for hover */
    z-index: 1999;
}

.gaming-dropdown-wrapper:hover .gaming-dropdown-content {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Base Gaming Button */
.btn-gaming-login, .btn-gaming-register {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,0,0,0.95) 100%);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.3s ease;
    overflow: hidden;
    min-width: 160px;
}

.btn-gaming-login {
    border-bottom: 2px solid #ff0000; /* Fallback */
}

.btn-gaming-register {
    margin-top: 5px;
    background: linear-gradient(135deg, rgba(30,0,0,0.95) 0%, rgba(60,0,0,0.95) 100%);
    border-left: 2px solid #ff0000; /* Fallback */
}

/* SVG Border Effect */
.btn-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.border-rect {
    fill: none;
    stroke: #ff0000;
    stroke-width: 2;
    stroke-dasharray: 200, 400; /* Dash pattern */
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 0.6s ease;
    filter: drop-shadow(0 0 5px #ff0000);
}

.btn-gaming-login:hover .border-rect,
.btn-gaming-register:hover .border-rect {
    stroke-dashoffset: 0; /* Animate dash */
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 2px #ff0000);
}

/* Hover States */
.btn-gaming-login:hover {
    background: rgba(40, 0, 0, 0.9);
    text-shadow: 0 0 10px #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

.btn-gaming-register:hover {
    background: rgba(60, 0, 0, 0.95);
    text-shadow: 0 0 10px #ff0000;
    transform: translateX(5px);
}

/* Gaming Download Button (Green Variant) */
.btn-gaming-download {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 32px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, rgba(0,20,0,0.9) 0%, rgba(0,40,0,0.95) 100%);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    margin-bottom: 30px;
    border-bottom: 2px solid #10b981; /* Emerald-500 */
    cursor: pointer;
    box-sizing: border-box;
}

.btn-gaming-download .border-rect {
    stroke: #10b981;
    filter: drop-shadow(0 0 5px #10b981);
}

.btn-gaming-download:hover {
    background: rgba(6, 78, 59, 0.95); /* Emerald-900 */
    text-shadow: 0 0 10px #10b981;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

.btn-gaming-download .btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    filter: drop-shadow(0 0 2px #10b981);
}

.btn-gaming-download:hover .border-rect {
    stroke-dashoffset: 0;
}

body.with-navbar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
}

body.with-navbar .main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
}

/* =========================================
   LANDING PAGE STYLES
   ========================================= */

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    text-decoration: none;
}

.logo span {
    color: #ff0000;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-item {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.nav-item:hover {
    color: #ff0000;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff0000;
    transition: width 0.3s;
}

.nav-item:hover::after {
    width: 100%;
}

/* Green Download Button in Navbar */
.navbar .btn-gaming-download {
    padding: 10px 24px;
    font-size: 0.9em;
    margin-bottom: 0;
    width: auto;
    background: linear-gradient(135deg, rgba(0,20,0,0.8) 0%, rgba(0,30,0,0.9) 100%);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.navbar .btn-gaming-download:hover {
    background: rgba(6, 78, 59, 0.8);
}

.navbar .btn-gaming-download .btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/* Hero Section Styles */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Gaming Buttons */
.btn-gaming {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 60px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s, filter 0.2s;
    margin: 0 15px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.btn-gaming:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.btn-primary {
    background-image: url('assets/btn-gaming-red.svg');
}

.btn-secondary {
    background-image: url('assets/btn-gaming-outline.svg');
    color: #ffcccc;
}

.table-action {
    font-size: 12px;
    color: #f97316;
    text-decoration: none;
}

.table-action:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card {
        padding: 20px;
    }
}

/* Responsive Navbar */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.navbar-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        position: relative;
    }

    .navbar-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #0f172a;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid #1f2937;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 1000;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }
    
    .gaming-dropdown-content {
        position: static;
        width: 100%;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 10px 0 0 0;
        display: flex;
        justify-content: center;
    }

    /* Hamburger Animation */
    .navbar-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Ensure buttons take full width on mobile for better touch targets */
    .nav-links .btn-gaming-download,
    .nav-links .btn-gaming-login,
    .nav-links .nav-item {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .btn-gaming-download {
        margin-bottom: 0;
    }
}

/* =========================================
   ADMIN DASHBOARD STYLES
   ========================================= */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    align-items: stretch;
}

body.admin-dashboard {
    display: block;
    height: auto;
    background: #020617;
}

.sidebar {
    width: 260px;
    background: #0f172a;
    border-right: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #1f2937;
    margin-bottom: 20px;
}

.sidebar-header .logo {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.sidebar-menu {
    list-style: none;
    padding: 0 10px;
}

.sidebar-menu > li {
    margin-bottom: 5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
    cursor: pointer;
    justify-content: space-between;
}

.sidebar-link:hover, .sidebar-link.active {
    background: #1e293b;
    color: #fff;
}

.sidebar-dropdown {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-dropdown.show {
    display: block;
}

.sidebar-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.2s;
}

.sidebar-dropdown a:hover, .sidebar-dropdown a.active {
    color: #fff;
}

.dashboard-content {
    flex: 1;
    padding: 30px;
    background: #020617;
    overflow-y: auto;
}

/* Dashboard Modules */
.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.module-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Dashboard Tables override */
.dashboard-content table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
}

.dashboard-content th {
    text-align: left;
    padding: 12px 16px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.dashboard-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #1f2937;
    font-size: 14px;
}

.dashboard-content td img.thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

/* =========================================
   USER DASHBOARD STYLES
   ========================================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #cbd5e1;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    background: #0f172a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.info-item span {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
}

/* =========================================
   NEWS ARTICLE STYLES (Consolidated)
   ========================================= */
.news-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    padding-bottom: 60px;
}

.news-article {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news-header {
    padding: 40px;
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    border-bottom: 1px solid #1e293b;
}

.news-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.news-meta {
    color: #94a3b8;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-content {
    padding: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.news-content h1, .news-content h2, .news-content h3 {
    color: #fff;
    margin-top: 30px;
}

.news-content a {
    color: #3b82f6;
    text-decoration: underline;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #fff;
}

.btn-back svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .news-header, .news-content {
        padding: 20px;
    }
    .news-title {
        font-size: 1.8rem;
    }
    .news-container {
        margin: 20px auto;
    }
}

/* =========================================
   UTILITY CLASSES & COMPONENT STYLES
   ========================================= */

/* Form Groups */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Helper Text */
.helper-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* No News Message */
.no-news-message {
    text-align: center; 
    color: #64748b; 
    padding: 40px; 
    font-size: 1.1rem; 
    background: #0f172a; 
    border-radius: 12px; 
    border: 1px dashed #334155;
}

/* Error Page (Download) */
body.error-page {
    background: #0f172a;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.error-box {
    background: #1e293b;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ef4444;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.error-box h2 {
    color: #ef4444;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.error-box p {
    color: #94a3b8;
    margin: 10px 0;
    line-height: 1.5;
}

.btn-error-back {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    font-weight: 500;
}

.btn-error-back:hover {
    background: #2563eb;
}

/* Disabled Input */
.disabled-input {
    background: #0f172a;
    color: #64748b;
    border-color: #1e293b;
    cursor: not-allowed;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}


/* =========================================
   NEWS PAGE SPECIFIC STYLES
   ========================================= */
body.news-page {
    display: block;
    background: #020617;
    color: #e2e8f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

/* =========================================
   LANDING PAGE SPECIFIC STYLES (Consolidated)
   ========================================= */
body.landing-page {
    display: block;
    background: #050505;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 0, 0, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 0, 0.05), transparent 25%);
    overflow-x: hidden;
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url('https://wallpaperaccess.com/full/1131198.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: grayscale(100%) contrast(120%);
}

.features {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid #333;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.landing-footer {
    text-align: center;
    padding: 40px;
    background: #020617;
    color: #666;
    border-top: 1px solid #222;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-gaming {
        width: 100%;
        max-width: 280px;
        margin: 10px 0;
    }
    
    .hero-content {
        padding: 20px 0;
    }
}

/* =========================================
   LANDING PAGE NEWS SECTION
   ========================================= */
.news-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}
.news-title {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    position: relative;
    display: inline-block;
    width: 100%;
}

.news-grid {
    display: grid;
    gap: 25px;
}

.news-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 10px 40px -10px rgba(220, 38, 38, 0.15);
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.news-card h3 {
    color: #f1f5f9;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.news-date-badge {
    background: #1e293b;
    color: #94a3b8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #334155;
    white-space: nowrap;
    margin-left: 15px;
}

.news-excerpt {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
    flex-grow: 1;
}

.btn-read-more {
    align-self: flex-start;
    background: transparent;
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-read-more:hover {
    background: #ef4444;
    color: white;
}

.btn-read-more svg {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.2s;
}

.btn-read-more:hover svg {
    transform: translateX(3px);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}
.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #cbd5e1;
    text-decoration: none;
    border: 1px solid #334155;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 600;
}
.page-link:hover, .page-link.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}
.error-msg {
    text-align: center;
    color: #ef4444;
    padding: 20px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* =========================================
   GLOBAL MOBILE RESPONSIVE UTILITIES
   ========================================= */
@media (max-width: 480px) {
    .page-wrapper {
        padding: 15px;
    }
    .card {
        padding: 20px;
    }
    .title {
        font-size: 20px;
    }
    input[type="text"], input[type="password"], input[type="number"], button {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .dashboard-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #1f2937;
    }
    
    .dashboard-content {
        padding: 15px;
    }
    
    .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-info {
        width: 100%;
        justify-content: space-between;
    }
}

/* =========================================
   PRICING / BUY PAGE STYLES
   ========================================= */
.pricing-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: #1e293b;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid #334155;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.pricing-card.featured {
    border: 2px solid #fbbf24;
    background: linear-gradient(145deg, #1e293b 0%, #292524 100%);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.15);
}

.pricing-card.featured::before {
    content: 'DESTACADO';
    position: absolute;
    top: 20px;
    right: -35px;
    background: #fbbf24;
    color: #000;
    font-weight: bold;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.pricing-card .price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 20px 0;
    display: block;
}

.pricing-card .price-tag span {
    font-size: 1.5rem;
    color: #94a3b8;
    vertical-align: top;
    margin-right: 4px;
}

.pricing-card .duration {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    font-weight: 500;
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 15px;
    background: #2563eb;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s;
    margin-top: auto;
    text-align: center;
}

.btn-buy:hover {
    background: #1d4ed8;
}

.pricing-card.featured .btn-buy {
    background: #fbbf24;
    color: #000;
}

.pricing-card.featured .btn-buy:hover {
    background: #d97706;
    color: #fff;
}

.pricing-card .package-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pricing-card.featured .package-name {
    color: #fbbf24;
}

/* =========================================
   ADMIN DASHBOARD BUTTONS
   ========================================= */
.admin-dashboard .btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    background: #334155;
    color: #fff;
    background-image: none !important;
}

.admin-dashboard .btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.admin-dashboard .btn-primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
}

.admin-dashboard .btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.admin-dashboard .btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.admin-dashboard .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}
