/* Mu Online Premium Web - LoL Hextech Style */
:root {
    --bg-dark: #091428;
    /* LoL Dark Blue */
    --bg-panel: #0a1428;
    --bg-input: #010a13;

    --text-main: #f0f0f0;
    --text-muted: #a09b8c;

    --accent-gold: #c8aa6e;
    /* LoL Gold */
    --accent-gold-glow: rgba(200, 170, 110, 0.3);

    --accent-blue: #0ac8b9;
    /* Hextech Blue */
    --accent-blue-glow: rgba(10, 200, 185, 0.3);

    --accent-red: #d13639;
    --accent-red-bright: #ff3333;

    --border-color: #1e282d;
    --border-active: #c8aa6e;

    --glass-bg: rgba(10, 20, 40, 0.7);
    --glass-border: 1px solid rgba(200, 170, 110, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    --font-main: 'Beaufort for LOL', 'Segoe UI', 'Roboto', sans-serif;
}

@font-face {
    font-family: 'Beaufort for LOL';
    src: local('Arial');
    /* Fallback */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Overlay Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAIklEQVQIW2NkQAKrVq36zwjjgzhhYWGMYAEYB8RmROaABADeOQ8CXl/xfgAAAABJRU5ErkJggg==');
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--accent-gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 4px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Header */
header {
    background: linear-gradient(to bottom, rgba(9, 20, 40, 0.95), rgba(9, 20, 40, 0.8));
    border-bottom: 2px solid var(--accent-gold);
    padding: 30px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

header h1 {
    margin: 0;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 3em;
    text-shadow: 0 0 15px var(--accent-gold-glow);
    font-weight: 800;
}

/* Navigation */
nav {
    background: rgba(9, 20, 40, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1.5px;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    min-height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
}

nav li {
    position: relative;
    margin-left: 5px;
}

nav li a {
    display: block;
    padding: 20px 15px;
    color: #cdbe91;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

nav li a:hover,
nav li a.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-bottom: 3px solid var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue-glow);
}

.nav-logo {
    height: 30px;
    margin-right: 5px;
    display: block;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(30, 35, 40, 0.95);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1;
    border: 1px solid var(--accent-gold);
    top: 100%;
    left: 0;
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s;
}

.dropdown-content a {
    color: #cdbe91;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid #333;
    font-size: 0.85em;
}

.dropdown-content a:hover {
    background-color: rgba(42, 48, 56, 0.8);
    color: var(--accent-gold);
    border-bottom: 1px solid var(--accent-gold);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layout */
.main-grid {
    display: block;
    /* Removed 2-column grid */
    margin-top: 30px;
    margin-bottom: 50px;
}

/* Server Status Bar (Legacy Removed) */

.content {
    background: transparent;
}

/* Typography & Headings */
h2 {
    color: #fff;
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: italic;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h3 {
    color: #f0f0f0;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Page Header */
.page-header {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.page-header h2 {
    display: inline-block;
    position: relative;
}

.page-header h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    margin-top: 10px;
}

/* News Grid (Home) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    display: block;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-panel);
    position: relative;
    border: 1px solid var(--accent-gold);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    /* Hextech Corner Clip */
    clip-path: polygon(0 0,
            100% 0,
            100% calc(100% - 20px),
            calc(100% - 20px) 100%,
            0 100%);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--accent-gold-glow);
    border-color: #fff;
}

.news-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(9, 20, 40, 0.95), transparent);
}

.news-card-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 2;
}

.news-category {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 0 5px var(--accent-blue-glow);
}

.news-card h3 {
    margin: 0;
    font-size: 1.5em;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* News List (News Page) */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.btn-load-more {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 12px 40px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
    font-weight: 700;
}

.btn-load-more:hover {
    background: rgba(200, 170, 110, 0.1);
    box-shadow: 0 0 15px var(--accent-gold-glow);
    text-shadow: 0 0 10px var(--accent-gold);
}

.btn-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #555;
    color: #555;
}

.news-list-item {
    display: flex;
    flex-direction: column;
    /* Changed to column for grid */
    background: rgba(10, 20, 40, 0.8);
    border: 1px solid #333;
    height: 400px;
    /* Fixed height for grid consistency */
    transition: 0.3s;
    overflow: hidden;
    backdrop-filter: blur(5px);
    position: relative;
    /* For stretched link */
}

.news-list-item:hover {
    border-color: var(--accent-gold);
    background: rgba(10, 20, 40, 0.95);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
    /* Move up instead of right */
}

.news-thumb {
    width: 100%;
    /* Full width */
    height: 200px;
    /* Fixed height for image */
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 20, 40, 0.95), transparent);
    /* Gradient covering bottom */
}

.news-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align top */
    flex: 1;
    /* position: relative; REMOVED to allow stretched link to cover .news-list-item */
    z-index: 2;
}

.news-cat {
    color: var(--accent-blue);
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.news-info h3 {
    margin: 0;
    font-size: 1.3em;
    line-height: 1.4;
    margin-bottom: auto;
    /* Push date to bottom */
}

.news-info h3 a {
    color: #f0f0f0;
}

/* Stretched Link Technique */
.news-info h3 a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    /* Covers the whole .news-list-item because it has position: relative */
}

/* Note: Since .news-list-item is the closest positioned ancestor, this covers the news-info div. 
   Wait, we need it to cover .news-list-item. 
   The 'top: 0... right: 0' refers to the padding box of the containing block.
   If .news-info is static (default), the containing block is .news-list-item (if relative).
   However, .news-info IS flex item, but defaults to static.
   Let's check if .news-info needs static or if we need to adjust constraints.
   Actually, usually one puts the link on a pseudo element of the anchor, and ensures the anchor's containing block covers the card.
   If .news-list-item is relative, and .news-info is static, then the absolute positioned ::after on the 'a' tag will look for the nearest positioned ancestor.
   If the 'a' tag itself is static, it goes up.
   If .news-info is flex, it is still static positioned by default (unless position: relative is set).
   Let's ensure .news-info does NOT have position: relative.
   Correct.
*/

.news-info h3 a:hover {
    color: var(--accent-gold);
}

.news-date {
    font-size: 0.85em;
    color: #888;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

/* Forms */
.styled-form {
    max-width: 100%;
    background: rgba(9, 20, 40, 0.95);
    padding: 30px;
    border: 1px solid #c8aa6e;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #cdbe91;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    background: rgba(1, 10, 19, 0.8);
    border: 1px solid #3c3c41;
    color: #f0f0f0;
    font-size: 1em;
    transition: 0.3s;
    box-sizing: border-box;
}

input:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(200, 170, 110, 0.1);
    background: rgba(1, 10, 19, 1);
}

button.btn-primary {
    background: linear-gradient(to bottom, #1e2328, #14181c);
    color: #cdbe91;
    border: 2px solid #cdbe91;
    padding: 12px 30px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    font-size: 0.9em;
    position: relative;
    overflow: hidden;
}

button.btn-primary:hover {
    background: #cdbe91;
    color: #1e2328;
    box-shadow: 0 0 20px var(--accent-gold-glow);
}

/* Sidebar Widgets */
.hextech-widget {
    margin-bottom: 30px;
    background: rgba(10, 20, 40, 0.6);
    padding: 25px;
    border: 1px solid #1e282d;
    position: relative;
    /* Hextech Frame */
    border-image: linear-gradient(to bottom, var(--accent-gold), transparent) 1;
    backdrop-filter: blur(5px);
}

.hextech-widget h3 {
    color: #cdbe91;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-top: 0;
    text-align: center;
    position: relative;
}

.hextech-widget h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--accent-blue);
    margin: 10px auto 0;
    box-shadow: 0 0 5px var(--accent-blue);
}

.hextech-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hextech-widget ul li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #a09b8c;
    transition: 0.2s;
}

.hextech-widget ul li a:hover {
    color: #fff;
    padding-left: 5px;
    border-bottom-color: var(--accent-gold);
}

/* Server Status Widget */
.server-status {
    display: grid;
    gap: 10px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-item .label {
    color: #888;
}

.status-item .value {
    color: #fff;
    font-weight: bold;
}

.status-item .value.online {
    color: #0ac8b9;
    text-shadow: 0 0 5px rgba(10, 200, 185, 0.5);
}

/* Footer */
footer {
    background: rgba(9, 20, 40, 0.95);
    border-top: 2px solid var(--accent-gold);
    padding: 60px 0 30px;
    margin-top: 80px;
    color: #888;
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #cdbe91;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #888;
    font-weight: normal;
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    padding: 8px 15px;
    background: #1e2328;
    border: 1px solid #333;
    color: #ccc;
    font-size: 0.9em;
    border-radius: 3px;
}

.social-icon:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue-glow);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e282d;
    padding-top: 30px;
    font-size: 0.9em;
}

.powered-by {
    color: #444;
    font-size: 0.8em;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: column;
    }

    nav li a {
        border-bottom: 1px solid #222;
        text-align: center;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-list-item {
        flex-direction: column;
        height: auto;
    }

    .news-thumb {
        width: 100%;
        height: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Admin Grid */
.admin-grid {
    display: grid;
    gap: 30px;
}

.content-box {
    background: rgba(10, 20, 40, 0.7);
    padding: 30px;
    border: 1px solid #1e282d;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* Tables */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.95em;
    background: rgba(0, 0, 0, 0.2);
}

.styled-table th,
.styled-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.styled-table th {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
    background: rgba(200, 170, 110, 0.05);
}

.styled-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert.success {
    border-color: var(--accent-blue);
    background: rgba(10, 200, 185, 0.1);
    color: var(--accent-blue);
}

.alert.error {
    border-color: var(--accent-red);
    background: rgba(209, 54, 57, 0.1);
    color: var(--accent-red);
}

/* =========================================
   Hextech Dashboard Styles - Redesign
   ========================================= */

/* =========================================
/* =========================================
   Hextech Dashboard Styles - Legendary Soul (Refined)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@300;400;600;800&display=swap');

.hextech-container {
    padding: 70px 40px;
    max-width: 1100px;
    margin: 0 auto;
    /* Deep Obsidian + Central Glow */
    background: radial-gradient(circle at center, #1b1e24 0%, #0c0e11 70%, #050608 100%);
    position: relative;
    border-top: 1px solid rgba(220, 177, 88, 0.4);
    border-bottom: 1px solid rgba(220, 177, 88, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    border-radius: 4px;
}

/* Wing-like ornaments on sides */
.hextech-container::before,
.hextech-container::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 2px;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(220, 177, 88, 0.6), transparent);
    transform: translateY(-50%);
    opacity: 0.7;
}

.hextech-container::before {
    left: -1px;
}

.hextech-container::after {
    right: -1px;
}

/* Header Section */
.hextech-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.hextech-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5em;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: #fff;
    /* Vertical Gold Gradient Text */
    background: linear-gradient(180deg, #fff 20%, #dcb158 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(220, 177, 88, 0.3));
    display: inline-block;
}

.hextech-subline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px auto;
    width: 60%;
    position: relative;
    height: 10px;
}

/* Side Lines */
.hextech-subline::before,
.hextech-subline::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 177, 88, 0.8), transparent);
}

.hextech-subline::before {
    margin-right: 15px;
    background: linear-gradient(90deg, transparent, #dcb158);
}

.hextech-subline::after {
    margin-left: 15px;
    background: linear-gradient(270deg, transparent, #dcb158);
}

/* Central Rune Gem */
.hextech-subline {
    background-image: radial-gradient(circle, #ffeaa7 0%, #dcb158 40%, transparent 70%);
    background-size: 8px 8px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Ornate Diamond */
.hextech-header {
    position: relative;
}

/* Add a separate diamond element using a pseudo on the subline container won't work easily with the lines
   So we'll use a mask or just sophisticated borders on a central pseudo if we had an element.
   Since the HTML is empty: <div class="hextech-subline"></div>
   We can use a centered pseudo for the diamond.
*/
.hextech-subline span {
    display: none;
    /* Hide if accidentally present */
}

/* Refined Center Piece */
.hextech-subline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: #111;
    border: 2px solid #dcb158;
    box-shadow: 0 0 10px #dcb158;
    z-index: 2;
    margin: 0;
    /* Reset margin from previous rule override */
}

.hextech-subline::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 177, 88, 0.5) 20%, #dcb158 50%, rgba(220, 177, 88, 0.5) 80%, transparent);
    z-index: 1;
    margin: 0;
}

/* Grid Layout */
.hextech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Stat Cards (Floating Soul Plates Refined) */
.hextech-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 6px;
    backdrop-filter: blur(8px);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.hextech-stat-card:hover {
    background: linear-gradient(180deg, rgba(220, 177, 88, 0.08) 0%, rgba(0, 0, 0, 0) 100%);
    border-color: rgba(220, 177, 88, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Shine Effect */
.hextech-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    transition: none;
}

.hextech-stat-card:hover::before {
    left: 150%;
    transition: 0.7s ease;
}

/* Bottom "Soul" Glow */
.hextech-stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30%;
    width: 40%;
    height: 2px;
    background: #dcb158;
    box-shadow: 0 0 15px #dcb158;
    opacity: 0.4;
    transition: 0.4s;
    border-radius: 2px;
}

.hextech-stat-card:hover::after {
    width: 80%;
    left: 10%;
    opacity: 1;
    box-shadow: 0 0 25px rgba(220, 177, 88, 0.8);
    height: 2px;
}

.stat-label {
    font-family: 'Cinzel', serif;
    font-size: 0.85em;
    font-weight: 700;
    color: #889098;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
    transition: color 0.3s;
}

.hextech-stat-card:hover .stat-label {
    color: #dcb158;
}

.stat-value {
    font-family: 'Inter', sans-serif;
    font-size: 2.6em;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    /* Subtle Gold text effect */
    background: linear-gradient(135deg, #fff 40%, #e8d096 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Online Status */
.status-card .stat-value.online-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #4cd137;
    border-radius: 50%;
    box-shadow: 0 0 15px #4cd137;
    position: relative;
}

.status-dot::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(76, 209, 55, 0.4);
    border-radius: 50%;
    animation: pulseRing 2.5s infinite;
}

.status-label-small {
    font-family: 'Inter', sans-serif;
    font-size: 0.45em;
    font-weight: 800;
    color: #4cd137;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(76, 209, 55, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(76, 209, 55, 0.2);
}

/* Offline */
.status-dot.offline {
    background: #e04f56;
    box-shadow: 0 0 15px #e04f56;
}

.status-dot.offline::before {
    border-color: rgba(224, 79, 86, 0.4);
}

.status-card.offline .status-label-small {
    color: #e04f56;
    background: rgba(224, 79, 86, 0.1);
    border-color: rgba(224, 79, 86, 0.2);
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.status-count {
    font-size: 1.2em;
    font-weight: 600;
}


/* Responsive */
@media (max-width: 900px) {
    .hextech-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .hextech-grid {
        grid-template-columns: 1fr;
    }

    .hextech-title {
        font-size: 2.2em;
    }
}


/* Ranking Specifics */
.rank-1 td {
    color: #FFD700;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.rank-2 td {
    color: #C0C0C0;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
}

.rank-3 td {
    color: #CD7F32;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
}

.rank-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.8em;
}

.rank-1 .rank-number {
    background: #FFD700;
    color: #000;
}

.rank-2 .rank-number {
    background: #C0C0C0;
    color: #000;
}

.rank-3 .rank-number {
    background: #CD7F32;
    color: #000;
}

/* User Panel Grid */
.usercp-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .usercp-grid {
        grid-template-columns: 1fr;
    }
}

.account-info {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.info-item .label {
    color: #888;
    font-size: 0.9em;
    text-transform: uppercase;
}

.info-item .value {
    color: #fff;
    font-weight: bold;
}

.vip-active {
    color: var(--accent-gold);
    text-shadow: 0 0 5px var(--accent-gold-glow);
}

.vip-inactive {
    color: #666;
}

/* Character Cards */
.char-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.char-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    padding: 20px;
    border-radius: 4px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.char-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.char-name {
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 5px;
    display: block;
}

.char-class {
    color: var(--accent-blue);
    font-size: 0.9em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.char-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.9em;
}

.stat-row {
    display: flex;
    justify-content: space-between;
}



/* Tables */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.95em;
    background: rgba(0, 0, 0, 0.2);
}

.styled-table th,
.styled-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.styled-table th {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
    background: rgba(200, 170, 110, 0.05);
}

.styled-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert.success {
    border-color: var(--accent-blue);
    background: rgba(10, 200, 185, 0.1);
    color: var(--accent-blue);
}

.alert.error {
    border-color: var(--accent-red);
    background: rgba(209, 54, 57, 0.1);
    color: var(--accent-red);
}

/* Ranking Specifics */
.rank-1 td {
    color: #FFD700;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.rank-2 td {
    color: #C0C0C0;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
}

.rank-3 td {
    color: #CD7F32;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
}

.rank-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.8em;
}

.rank-1 .rank-number {
    background: #FFD700;
    color: #000;
}

.rank-2 .rank-number {
    background: #C0C0C0;
    color: #000;
}

.rank-3 .rank-number {
    background: #CD7F32;
    color: #000;
}

/* User Panel Grid */
.usercp-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .usercp-grid {
        grid-template-columns: 1fr;
    }
}

.account-info {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.info-item .label {
    color: #888;
    font-size: 0.9em;
    text-transform: uppercase;
}

.info-item .value {
    color: #fff;
    font-weight: bold;
}

.vip-active {
    color: var(--accent-gold);
    text-shadow: 0 0 5px var(--accent-gold-glow);
}

.vip-inactive {
    color: #666;
}

/* Character Cards */
.char-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.char-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    padding: 20px;
    border-radius: 4px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.char-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.char-name {
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 5px;
    display: block;
}

.char-class {
    color: var(--accent-blue);
    font-size: 0.9em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.char-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.9em;
}

.stat-row {
    display: flex;
    justify-content: space-between;
}

.stat-label {
    color: #888;
}

.stat-val {
    color: #ddd;
}

/* Jugar Ahora CTA */
.cta-play {
    background: linear-gradient(to bottom, #d1a84f, #a07e32) !important;
    color: #1e1e1e !important;
    font-weight: 800 !important;
    border: 1px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    border-radius: 2px;
    padding: 20px 20px;
    text-shadow: none !important;
}

.cta-play:hover {
    background: linear-gradient(to bottom, #ffe082, #d1a84f) !important;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
    transform: scale(1.05);
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-box {
    background: #091428;
    margin: 15% auto;
    padding: 40px;
    border: 1px solid var(--accent-gold);
    width: 80%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    background-image: url('../images/bg.jpg');
    background-size: cover;
}

/* Close Button */
.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.play-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.play-option {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #333;
}

.play-option p {
    color: #cdbe91;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.btn-secondary {
    background: linear-gradient(to bottom, #333, #111);
    color: #ccc;
    border: 1px solid #555;
    padding: 12px 30px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

.btn-secondary:hover {
    color: #fff;
    border-color: #888;
    background: #444;
}

@media (max-width: 700px) {
    .play-options {
        grid-template-columns: 1fr;
    }

}


/* HOF Podium */
.hof-podium {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
    padding-top: 20px;
    width: 100%;
}

.hof-card {
    background: linear-gradient(180deg, rgba(30, 40, 45, 0.9) 0%, rgba(10, 15, 20, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hof-card:hover {
    transform: translateY(-5px);
}

.hof-rank-1 {
    order: 2;
    width: 240px;
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    z-index: 2;
}

.hof-rank-2 {
    order: 1;
    border-color: #c0c0c0;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.1);
}

.hof-rank-3 {
    order: 3;
    border-color: #cd7f32;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.1);
}

.hof-crown {
    font-size: 2em;
    margin-bottom: 15px;
    display: block;
}

.hof-rank-1 .hof-crown {
    color: #ffd700;
    font-size: 3em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hof-rank-2 .hof-crown {
    color: #c0c0c0;
}

.hof-rank-3 .hof-crown {
    color: #cd7f32;
}

.hof-img-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    position: relative;
}

.hof-rank-1 .hof-img-container {
    width: 100px;
    height: 100px;
}

.hof-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.hof-rank-1 .hof-img {
    border-color: #ffd700;
}

.hof-rank-2 .hof-img {
    border-color: #c0c0c0;
}

.hof-rank-3 .hof-img {
    border-color: #cd7f32;
}

.hof-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    display: block;
}

.hof-rank-1 .hof-name {
    font-size: 1.5em;
    color: #ffd700;
}

.hof-class {
    font-size: 0.9em;
    color: #aaa;
    display: block;
    margin-bottom: 10px;
}

.hof-date {
    font-size: 0.85em;
    color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
}

.year-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.year-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}

.year-btn:hover,
.year-btn.active {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(200, 170, 110, 0.4);
}

@media (max-width: 768px) {
    .hof-podium {
        flex-direction: column;
        align-items: center;
    }

    .hof-card {
        width: 100%;
        margin-bottom: 15px;
        order: unset !important;
    }
}

.btn-small {
    background: linear-gradient(to bottom, #1e2328, #14181c);
    color: #cdbe91;
    border: 1px solid #cdbe91;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
    font-size: 0.8em;
    text-decoration: none;
    display: inline-block;
}

.btn-small:hover,
.btn-small.active {
    background: #cdbe91;
    color: #1e2328;
    box-shadow: 0 0 10px var(--accent-gold-glow);
}

/* Alerts - Bootstrap Compatibility */
.alert-info {
    border: 1px solid var(--accent-blue);
    background: rgba(10, 200, 185, 0.1);
    color: var(--accent-blue);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    border: 1px solid #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-warning {
    border: 1px solid var(--accent-gold);
    background: rgba(200, 170, 110, 0.1);
    color: var(--accent-gold);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    border: 1px solid var(--accent-red);
    background: rgba(209, 54, 57, 0.1);
    color: var(--accent-red);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}