/* Backup Management System - Clean Light Theme */
/* สีน้ำเงินอ่อนกับสีขาว - ธีมสะอาด */

:root {
    /* Light Blue & White Color Palette */
    --primary-blue: #e3f2fd;         /* น้ำเงินอ่อนมาก */
    --secondary-blue: #90caf9;       /* น้ำเงินอ่อน */
    --light-blue: #bbdefb;           /* น้ำเงินอ่อนกลาง */
    --accent-blue: #42a5f5;          /* น้ำเงินสดใส */
    --sky-blue: #2196f3;             /* น้ำเงินท้องฟ้า */
    
    /* Supporting Colors */
    --white: #ffffff;                /* ขาวบริสุทธิ์ */
    --light-gray: #fafafa;           /* เทาอ่อนมาก */
    --soft-gray: #f5f5f5;            /* เทานุ่ม */
    --medium-gray: #e0e0e0;          /* เทากลาง */
    --text-gray: #757575;            /* เทาข้อความ */
    --success-green: #4caf50;        /* เขียวอ่อน */
    --warning-orange: #ff9800;       /* ส้มอ่อน */
    --danger-red: #f44336;           /* แดงอ่อน */
    
    /* Text Colors */
    --text-primary: #424242;         /* เทาเข้มนิดหน่อย */
    --text-secondary: #757575;       /* เทากลาง */
    --text-light: #ffffff;           /* ขาว */
    
    /* Shadows - อ่อนมาก */
    --shadow-sm: 0 1px 3px 0 rgba(33, 150, 243, 0.1);
    --shadow-md: 0 3px 6px 0 rgba(33, 150, 243, 0.15);
    --shadow-lg: 0 6px 12px 0 rgba(33, 150, 243, 0.2);
    --shadow-xl: 0 12px 24px 0 rgba(33, 150, 243, 0.25);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

/* Professional Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sky-blue);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-blue);
    padding-bottom: 0.5rem;
}

/* Professional Cards */
.professional-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--medium-gray);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.2s ease;
}

.professional-card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: var(--primary-blue);
    color: var(--text-primary);
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid var(--medium-gray);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: var(--light-gray);
    padding: 1rem 1.5rem;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid var(--medium-gray);
}

/* Professional Buttons */
.btn-professional {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--sky-blue);
    color: var(--white);
    border: 1px solid var(--sky-blue);
}

.btn-primary:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--sky-blue);
    border: 1px solid var(--secondary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--sky-blue);
}

.btn-success {
    background: var(--success-green);
    color: var(--white);
    border: 1px solid var(--success-green);
}

.btn-warning {
    background: var(--warning-orange);
    color: var(--white);
    border: 1px solid var(--warning-orange);
}

.btn-danger {
    background: var(--danger-red);
    color: var(--white);
    border: 1px solid var(--danger-red);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Professional Navigation */
.professional-navbar {
    background: var(--white);
    border-bottom: 1px solid var(--medium-gray);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--sky-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--sky-blue);
}

/* Professional Tables */
.professional-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.professional-table th {
    background: var(--primary-blue);
    color: var(--text-primary);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.professional-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.professional-table tbody tr:hover {
    background: var(--light-gray);
}

/* Professional Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--sky-blue);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23757575' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Professional Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-success {
    background: rgba(102, 187, 106, 0.1);
    color: var(--success-green);
}

.status-warning {
    background: rgba(255, 183, 77, 0.1);
    color: var(--warning-orange);
}

.status-danger {
    background: rgba(239, 83, 80, 0.1);
    color: var(--danger-red);
}

.status-info {
    background: rgba(79, 195, 247, 0.1);
    color: var(--sky-blue);
}

/* Professional Progress Bars */
.progress-container {
    background: var(--light-gray);
    border-radius: 999px;
    overflow: hidden;
    height: 0.5rem;
}

.progress-bar {
    background: var(--sky-blue);
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 999px;
}

/* Professional Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--medium-gray);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-icon.blue {
    background: var(--primary-blue);
    color: var(--sky-blue);
}

.stat-icon.green {
    background: rgba(102, 187, 106, 0.1);
    color: var(--success-green);
}

.stat-icon.orange {
    background: rgba(255, 183, 77, 0.1);
    color: var(--warning-orange);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Professional Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(102, 187, 106, 0.1);
    border-color: var(--success-green);
    color: var(--success-green);
}

.alert-warning {
    background: rgba(255, 183, 77, 0.1);
    border-color: var(--warning-orange);
    color: var(--warning-orange);
}

.alert-danger {
    background: rgba(239, 83, 80, 0.1);
    border-color: var(--danger-red);
    color: var(--danger-red);
}

.alert-info {
    background: rgba(79, 195, 247, 0.1);
    border-color: var(--sky-blue);
    color: var(--sky-blue);
}

/* Professional Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col {
    flex: 1;
    padding: 0 0.75rem;
}

.col-2 { flex: 0 0 16.666667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333333%; }
.col-6 { flex: 0 0 50%; }
.col-8 { flex: 0 0 66.666667%; }
.col-12 { flex: 0 0 100%; }

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--text-secondary); }
.text-success { color: var(--success-green); }
.text-warning { color: var(--warning-orange); }
.text-danger { color: var(--danger-red); }

.bg-primary { background-color: var(--primary-blue); }
.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: var(--white); }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }

.rounded { border-radius: 6px; }
.rounded-lg { border-radius: 8px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .row {
        margin: 0 -0.5rem;
    }
    
    .col {
        padding: 0 0.5rem;
    }
    
    .col-sm-12 {
        flex: 0 0 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle, rgba(6, 7, 20, 0.8) 0%, rgba(6, 7, 20, 0.95) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" stroke="%23112240" stroke-width="0.5" x="0" y="0" width="100" height="100"/></svg>');
    background-size: 100%, 50px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(54, 199, 208, 0.03) 0%, rgba(10, 10, 42, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.cyber-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cyber-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.section-title {
    position: relative;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-bottom: 10px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 80%;
    background: var(--cyber-gradient);
}

.highlight {
    color: var(--accent-blue);
    text-shadow: var(--neon-blue-shadow);
}

/* Loading Screen แบบใหม่ตาม wl-concept.com */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.loading-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Particle Network */
.particle-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Loading Text & Bar */
.loading-text-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    letter-spacing: 10px;
    color: var(--accent-blue);
    text-shadow: var(--neon-blue-shadow);
    margin-bottom: 10px;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: rgba(54, 199, 208, 0.2);
    position: relative;
    overflow: hidden;
}

.loading-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

.loading-progress {
    margin-top: 10px;
    font-size: 1.8rem;
}

/* Header */
.cyber-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(6, 7, 20, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(54, 199, 208, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.cyber-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    letter-spacing: 2px;
}

.cyber-glitch {
    position: relative;
    color: var(--accent-blue);
    text-shadow: var(--neon-blue-shadow);
}

.cyber-glitch::before,
.cyber-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.cyber-glitch::before {
    animation: glitch-effect 3s infinite;
    color: var(--accent-pink);
    clip: rect(0, 900px, 0, 0);
    text-shadow: var(--neon-pink-shadow);
}

.cyber-glitch::after {
    animation: glitch-effect 2s infinite;
    color: var(--accent-blue);
    clip: rect(0, 900px, 0, 0);
    text-shadow: var(--neon-blue-shadow);
}

.cyber-glow {
    color: var(--text-light);
    margin-left: 8px;
}

.nav-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-items li {
    margin: 0 1rem;
}

.nav-items a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.5rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
}

.nav-items a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--cyber-gradient);
    transition: width 0.3s ease;
}

.nav-items a:hover,
.nav-items a.active {
    color: var(--accent-blue);
    text-shadow: var(--neon-blue-shadow);
}

.nav-items a:hover::after,
.nav-items a.active::after {
    width: 100%;
}

.player-profile {
    display: flex;
    align-items: center;
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    position: relative;
    margin-right: 10px;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary-dark);
}

.status.online {
    background-color: var(--accent-green);
    box-shadow: var(--neon-green-shadow);
}

.player-name {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: var(--accent-blue);
}

/* Login Button */
.login-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.user-actions {
    display: flex;
    align-items: center;
}

.player-profile.hidden {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 0 5rem;
    overflow: hidden;
    background: var(--secondary-dark);
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--secondary-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--secondary-dark) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Cyber Button */
.cyber-button {
    position: relative;
    padding: 15px 30px;
    background-color: transparent;
    color: var(--accent-blue);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid var(--accent-blue);
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.cyber-button:hover {
    color: var(--primary-dark);
    box-shadow: var(--neon-blue-shadow);
    text-shadow: none;
}

.cyber-button:hover::before {
    left: 0;
}

.cyber-button span {
    position: absolute;
    display: block;
    background: var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
}

.cyber-button span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    animation: btn-anim1 2s linear infinite;
}

.cyber-button span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    animation: btn-anim2 2s linear infinite;
    animation-delay: 0.5s;
}

.cyber-button span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    animation: btn-anim3 2s linear infinite;
    animation-delay: 1s;
}

.cyber-button span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    animation: btn-anim4 2s linear infinite;
    animation-delay: 1.5s;
}

.cyber-button.small {
    padding: 10px 15px;
    font-size: 0.9rem;
}

.cyber-button.primary {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.cyber-button.primary::before {
    background: var(--accent-blue);
}

.cyber-button.secondary {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.cyber-button.secondary span {
    background: var(--accent-pink);
    box-shadow: var(--neon-pink-shadow);
}

.cyber-button.secondary::before {
    background: var(--accent-pink);
}

.cyber-button.secondary:hover {
    box-shadow: var(--neon-pink-shadow);
}

/* Hero Image */
.hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-effect {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 5px;
    border: 2px solid var(--accent-blue);
    box-shadow: inset 0 0 30px var(--accent-blue-glow), var(--neon-blue-shadow);
    animation: pulse 2s infinite alternate;
    opacity: 0.5;
}

.character-image {
    max-width: 80%;
    max-height: 90%;
    z-index: 1;
    filter: drop-shadow(0 0 10px var(--accent-blue));
}

.status-frame {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    padding: 15px;
    background: rgba(6, 7, 20, 0.8);
    border: 1px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    backdrop-filter: blur(5px);
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-item .label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.status-item .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.progress-bar {
    flex-grow: 1;
    margin-left: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #0055dd;
    border-radius: 5px;
    box-shadow: var(--neon-blue-shadow);
}

/* Game Cards */
.featured-games {
    padding: 6rem 0;
}

.blink-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    margin-left: 5px;
    vertical-align: middle;
    box-shadow: var(--neon-blue-shadow);
    animation: blink 1s infinite;
}

.game-cards {
    margin-top: 3rem;
}

.cyber-card {
    position: relative;
    border: 1px solid var(--accent-blue);
    background-color: rgba(6, 7, 20, 0.5);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: var(--cyber-gradient);
    z-index: -1;
    opacity: 0.7;
}

.card-glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(54, 199, 208, 0) 0%, rgba(54, 199, 208, 0.1) 50%, rgba(54, 199, 208, 0) 100%);
    z-index: 1;
    transform: translateY(-100%);
    animation: glitch-scan 3s ease-in-out infinite;
}

.cyber-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-blue-shadow);
}

.cyber-card .card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.cyber-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cyber-card:hover .card-image img {
    transform: scale(1.1);
}

.cyber-card .card-content {
    padding: 1.5rem;
    position: relative;
    background: rgba(6, 7, 20, 0.8);
}

.game-badge {
    position: absolute;
    top: -15px;
    right: 15px;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
}

.game-badge.new {
    background-color: var(--accent-blue);
    color: var(--primary-dark);
    box-shadow: var(--neon-blue-shadow);
}

.game-badge.popular {
    background-color: var(--accent-pink);
    color: var(--primary-dark);
    box-shadow: var(--neon-pink-shadow);
}

.game-badge.update {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    box-shadow: var(--neon-green-shadow);
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.game-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.game-stats span i {
    color: var(--accent-pink);
    margin-right: 5px;
}

.game-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.card-buttons {
    display: flex;
    gap: 10px;
}

/* Customization Section */
.customization-section {
    padding: 6rem 0;
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
}

.customization-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--secondary-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--secondary-dark) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 0;
}

.customization-options {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.option-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cyber-glow-sm {
    color: var(--accent-blue);
    text-shadow: var(--neon-blue-shadow);
    font-size: 0.9rem;
}

.shapes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 2rem;
}

.shape-item {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-blue);
    transition: all 0.3s ease;
    cursor: pointer;
}

.shape-item:hover, .shape-item.active {
    background-color: rgba(54, 199, 208, 0.2);
    box-shadow: var(--neon-blue-shadow);
}

.shape-item.pentagon {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.shape-item.square {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.shape-item.oval {
    border-radius: 50%;
}

.shape-item.triangle {
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.shape-item.hexagon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-item.star {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.shape-item.rectangle {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    width: 70px;
}

.shape-item.circle {
    border-radius: 50%;
}

.customization-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
}

.customization-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: rgba(10, 10, 42, 0.5);
    border: 1px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.bar-item.active {
    opacity: 1;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-dark);
    transition: all 0.3s ease;
}

.bar-item.active .icon-wrapper {
    background: var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
}

.bar-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.bar-item.active i {
    color: var(--primary-dark);
}

.bar-item span {
    font-size: 0.8rem;
    font-family: 'Share Tech Mono', monospace;
}

/* Character Preview */
.character-preview {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-container {
    position: relative;
    width: 300px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 2px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    animation: pulse 2s infinite alternate;
}

.hologram-character {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.preview-image {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 0 15px var(--accent-blue-glow));
    z-index: 2;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    z-index: 3;
    box-shadow: var(--neon-blue-shadow);
    animation: scan 2s linear infinite;
}

.character-stats {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    padding: 15px;
    background: rgba(6, 7, 20, 0.8);
    border: 1px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 4;
    backdrop-filter: blur(5px);
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.stat-item .label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    width: 80px;
    color: var(--text-secondary);
}

.stat-bar {
    flex-grow: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    border-radius: 4px;
    box-shadow: var(--neon-blue-shadow);
    animation: pulse 2s infinite alternate;
}

/* Game Cards */
.featured-games {
    padding: 6rem 0;
}

.blink-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    margin-left: 5px;
    vertical-align: middle;
    box-shadow: var(--neon-blue-shadow);
    animation: blink 1s infinite;
}

.game-cards {
    margin-top: 3rem;
}

.cyber-card {
    position: relative;
    border: 1px solid var(--accent-blue);
    background-color: rgba(6, 7, 20, 0.5);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: var(--cyber-gradient);
    z-index: -1;
    opacity: 0.7;
}

.card-glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(54, 199, 208, 0) 0%, rgba(54, 199, 208, 0.1) 50%, rgba(54, 199, 208, 0) 100%);
    z-index: 1;
    transform: translateY(-100%);
    animation: glitch-scan 3s ease-in-out infinite;
}

.cyber-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-blue-shadow);
}

.cyber-card .card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.cyber-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cyber-card:hover .card-image img {
    transform: scale(1.1);
}

.cyber-card .card-content {
    padding: 1.5rem;
    position: relative;
    background: rgba(6, 7, 20, 0.8);
}

.game-badge {
    position: absolute;
    top: -15px;
    right: 15px;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
}

.game-badge.new {
    background-color: var(--accent-blue);
    color: var(--primary-dark);
    box-shadow: var(--neon-blue-shadow);
}

.game-badge.popular {
    background-color: var(--accent-pink);
    color: var(--primary-dark);
    box-shadow: var(--neon-pink-shadow);
}

.game-badge.update {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    box-shadow: var(--neon-green-shadow);
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.game-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.game-stats span i {
    color: var(--accent-pink);
    margin-right: 5px;
}

.game-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.card-buttons {
    display: flex;
    gap: 10px;
}

/* Customization Section */
.customization-section {
    padding: 6rem 0;
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
}

.customization-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--secondary-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--secondary-dark) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 0;
}

.customization-options {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.option-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cyber-glow-sm {
    color: var(--accent-blue);
    text-shadow: var(--neon-blue-shadow);
    font-size: 0.9rem;
}

.shapes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 2rem;
}

.shape-item {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-blue);
    transition: all 0.3s ease;
    cursor: pointer;
}

.shape-item:hover, .shape-item.active {
    background-color: rgba(54, 199, 208, 0.2);
    box-shadow: var(--neon-blue-shadow);
}

.shape-item.pentagon {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.shape-item.square {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.shape-item.oval {
    border-radius: 50%;
}

.shape-item.triangle {
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.shape-item.hexagon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-item.star {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.shape-item.rectangle {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    width: 70px;
}

.shape-item.circle {
    border-radius: 50%;
}

.customization-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
}

.customization-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: rgba(10, 10, 42, 0.5);
    border: 1px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.bar-item.active {
    opacity: 1;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-dark);
    transition: all 0.3s ease;
}

.bar-item.active .icon-wrapper {
    background: var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
}

.bar-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.bar-item.active i {
    color: var(--primary-dark);
}

.bar-item span {
    font-size: 0.8rem;
    font-family: 'Share Tech Mono', monospace;
}

/* Character Preview */
.character-preview {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-container {
    position: relative;
    width: 300px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 2px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    animation: pulse 2s infinite alternate;
}

.hologram-character {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.preview-image {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 0 15px var(--accent-blue-glow));
    z-index: 2;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    z-index: 3;
    box-shadow: var(--neon-blue-shadow);
    animation: scan 2s linear infinite;
}

.character-stats {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    padding: 15px;
    background: rgba(6, 7, 20, 0.8);
    border: 1px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 4;
    backdrop-filter: blur(5px);
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.stat-item .label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    width: 80px;
    color: var(--text-secondary);
}

.stat-bar {
    flex-grow: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    border-radius: 4px;
    box-shadow: var(--neon-blue-shadow);
    animation: pulse 2s infinite alternate;
}

/* Game Cards */
.featured-games {
    padding: 6rem 0;
}

.blink-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    margin-left: 5px;
    vertical-align: middle;
    box-shadow: var(--neon-blue-shadow);
    animation: blink 1s infinite;
}

.game-cards {
    margin-top: 3rem;
}

.cyber-card {
    position: relative;
    border: 1px solid var(--accent-blue);
    background-color: rgba(6, 7, 20, 0.5);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: var(--cyber-gradient);
    z-index: -1;
    opacity: 0.7;
}

.card-glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(54, 199, 208, 0) 0%, rgba(54, 199, 208, 0.1) 50%, rgba(54, 199, 208, 0) 100%);
    z-index: 1;
    transform: translateY(-100%);
    animation: glitch-scan 3s ease-in-out infinite;
}

.cyber-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-blue-shadow);
}

.cyber-card .card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.cyber-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cyber-card:hover .card-image img {
    transform: scale(1.1);
}

.cyber-card .card-content {
    padding: 1.5rem;
    position: relative;
    background: rgba(6, 7, 20, 0.8);
}

.game-badge {
    position: absolute;
    top: -15px;
    right: 15px;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
}

.game-badge.new {
    background-color: var(--accent-blue);
    color: var(--primary-dark);
    box-shadow: var(--neon-blue-shadow);
}

.game-badge.popular {
    background-color: var(--accent-pink);
    color: var(--primary-dark);
    box-shadow: var(--neon-pink-shadow);
}

.game-badge.update {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    box-shadow: var(--neon-green-shadow);
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.game-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.game-stats span i {
    color: var(--accent-pink);
    margin-right: 5px;
}

.game-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.card-buttons {
    display: flex;
    gap: 10px;
}

/* Customization Section */
.customization-section {
    padding: 6rem 0;
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
}

.customization-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--secondary-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--secondary-dark) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 0;
}

.customization-options {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.option-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cyber-glow-sm {
    color: var(--accent-blue);
    text-shadow: var(--neon-blue-shadow);
    font-size: 0.9rem;
}

.shapes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 2rem;
}

.shape-item {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-blue);
    transition: all 0.3s ease;
    cursor: pointer;
}

.shape-item:hover, .shape-item.active {
    background-color: rgba(54, 199, 208, 0.2);
    box-shadow: var(--neon-blue-shadow);
}

.shape-item.pentagon {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.shape-item.square {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.shape-item.oval {
    border-radius: 50%;
}

.shape-item.triangle {
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.shape-item.hexagon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-item.star {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.shape-item.rectangle {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    width: 70px;
}

.shape-item.circle {
    border-radius: 50%;
}

.customization-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
}

.customization-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: rgba(10, 10, 42, 0.5);
    border: 1px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.bar-item.active {
    opacity: 1;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-dark);
    transition: all 0.3s ease;
}

.bar-item.active .icon-wrapper {
    background: var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
}

.bar-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.bar-item.active i {
    color: var(--primary-dark);
}

.bar-item span {
    font-size: 0.8rem;
    font-family: 'Share Tech Mono', monospace;
}

/* Character Preview */
.character-preview {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-container {
    position: relative;
    width: 300px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 2px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    animation: pulse 2s infinite alternate;
}

.hologram-character {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.preview-image {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 0 15px var(--accent-blue-glow));
    z-index: 2;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    z-index: 3;
    box-shadow: var(--neon-blue-shadow);
    animation: scan 2s linear infinite;
}

.character-stats {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    padding: 15px;
    background: rgba(6, 7, 20, 0.8);
    border: 1px solid var(--accent-blue);
    box-shadow: var(--neon-blue-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 4;
    backdrop-filter: blur(5px);
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.stat-item .label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    width: 80px;
    color: var(--text-secondary);
}

.stat-bar {
    flex-grow: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    border-radius: 4px;
    box-shadow: var(--neon-blue-shadow);
    animation: pulse 2s infinite alternate;
}

/* News Section */
.news-section {
    padding: 6rem 0;
}

.cyber-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.news-item {
    background: rgba(10, 10, 42, 0.5);
    border: 1px solid var(--accent-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.news-item:not(.featured) {
    padding: 15px;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-blue-shadow);
}

.news-item.featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
}

.news-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--secondary-dark), transparent);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-blue);
    color: var(--primary-dark);
    padding: 5px 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: var(--neon-blue-shadow);
}

.news-content {
    padding: 20px;
    flex-grow: 1;
}

.news-item.featured .news-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.news-item:not(.featured) h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    margin-top: 15px;
    color: var(--text-secondary);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    border-right: 1px solid var(--accent-blue);
    padding-right: 15px;
    margin-right: 15px;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1;
}

.news-date .month {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
.cyber-footer {
    background: var(--primary-dark);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.cyber-grid-footer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--secondary-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--secondary-dark) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--accent-blue);
    color: var(--primary-dark);
    box-shadow: var(--neon-blue-shadow);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 50%;
    background: var(--cyber-gradient);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-section ul li a:hover {
    color: var(--accent-blue);
    text-shadow: var(--neon-blue-shadow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(54, 199, 208, 0.3);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-blue);
}

/* Modal Styles */
.cyber-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.cyber-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 7, 20, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: var(--secondary-dark);
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 30px var(--accent-blue-glow);
    z-index: 2001;
    padding: 2.5rem;
    border-radius: 5px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cyber-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-pink);
}

/* Tabs */
.modal-tabs {
    display: flex;
    position: relative;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(54, 199, 208, 0.3);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: var(--accent-blue);
}

.tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--cyber-gradient);
    transition: transform 0.3s ease;
}

.tab-btn:nth-child(2).active ~ .tab-indicator {
    transform: translateX(100%);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Form Styles */
.cyber-form .form-group {
    margin-bottom: 1.5rem;
}

.cyber-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    border: 1px solid rgba(54, 199, 208, 0.5);
    border-radius: 4px;
    background: rgba(6, 7, 20, 0.8);
    overflow: hidden;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-blue);
}

.cyber-form input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-family: 'Share Tech Mono', monospace;
}

.cyber-form input::placeholder {
    color: rgba(139, 155, 180, 0.6);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cyber-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cyber-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent-blue);
    margin-right: 8px;
    display: inline-block;
    position: relative;
}

.cyber-checkbox input:checked ~ .checkmark:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    box-shadow: 0 0 5px var(--accent-blue-glow);
}

.forgot-link {
    color: var(--accent-blue);
    font-size: 0.85rem;
    text-decoration: none;
}

.full-width {
    width: 100%;
}

.social-login {
    margin-top: 2rem;
    text-align: center;
}

.social-login p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    position: relative;
}

.social-login p:before,
.social-login p:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: rgba(139, 155, 180, 0.3);
}

.social-login p:before {
    left: 0;
}

.social-login p:after {
    right: 0;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.facebook {
    background: #3b5999;
}

.social-btn.google {
    background: #dd4b39;
}

.social-btn.twitter {
    background: #55acee;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animations */
@keyframes pulse {
    0% {
        opacity: 0.8;
        box-shadow: 0 0 5px var(--accent-blue-glow);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 20px var(--accent-blue);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes glitch-effect {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }
    10% {
        clip: rect(112px, 9999px, 76px, 0);
    }
    20% {
        clip: rect(85px, 9999px, 77px, 0);
    }
    30% {
        clip: rect(27px, 9999px, 97px, 0);
    }
    40% {
        clip: rect(64px, 9999px, 98px, 0);
    }
    50% {
        clip: rect(61px, 9999px, 85px, 0);
    }
    60% {
        clip: rect(99px, 9999px, 114px, 0);
    }
    70% {
        clip: rect(34px, 9999px, 115px, 0);
    }
    80% {
        clip: rect(98px, 9999px, 129px, 0);
    }
    90% {
        clip: rect(43px, 9999px, 96px, 0);
    }
    100% {
        clip: rect(82px, 9999px, 64px, 0);
    }
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }
    50%, 100% {
        top: 100%;
    }
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }
    50%, 100% {
        right: 100%;
    }
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }
    50%, 100% {
        bottom: 100%;
    }
}

@keyframes scan {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes glitch-scan {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* เอฟเฟกต์ข้อความหมุนและกระจาย */
.text-animation-container {
    position: relative;
    height: 60px;
    margin: 20px 0 10px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-screen .text-animation-container {
    margin: 30px auto;
}

.rotating-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 2.2rem;
    color: var(--accent-blue);
    text-shadow: var(--neon-blue-shadow);
    white-space: nowrap;
    display: block;
    letter-spacing: 2px;
    animation: none;
    transform-origin: center center;
}

.expanded-text {
    display: none;
    flex-direction: row;
    gap: 18px;
    align-items: center;
    justify-content: center;
    width: 100%;
    opacity: 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.motion-word {
    color: var(--accent-blue);
    text-shadow: var(--neon-blue-shadow);
}

.capture-word {
    color: var(--accent-pink);
    text-shadow: var(--neon-pink-shadow);
}

.learning-word {
    color: var(--accent-green);
    text-shadow: var(--neon-green-shadow);
}

@keyframes rotateText {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    25% {
        transform: translateY(0) rotate(180deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(0) rotate(360deg) scale(1);
        opacity: 1;
    }
    75% {
        transform: translateY(0) rotate(540deg) scale(1);
        opacity: 1;
    }
    95% {
        transform: translateY(0) rotate(720deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(720deg) scale(0);
        opacity: 0;
    }
}

@keyframes expandText {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    60% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .nav-items {
        display: none;
    }
    
    .cyber-title {
        font-size: 2.5rem;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 7rem 0 3rem;
    }
    
    .cyber-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .cyber-button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 15px;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .character-preview {
        height: 400px;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--accent-blue);
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: var(--neon-blue-shadow);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: rgba(6, 7, 20, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        backdrop-filter: blur(10px);
        border-left: 1px solid var(--accent-blue-glow);
    }

    .nav-items.active {
        right: 0;
    }

    .nav-items li {
        margin: 1.5rem 0;
    }
}
