* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

/* ========== LOGIN PAGE ========== */
.login-page {
    min-height: 100vh;
    background: #f5f5dc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matrix-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5dc;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 200, 0, 0.1) 2px,
            rgba(255, 200, 0, 0.1) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 200, 0, 0.1) 2px,
            rgba(255, 200, 0, 0.1) 4px
        );
    z-index: 0;
}

.matrix-background::before {
    content: 'HXKCAY10-';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 20px;
    color: rgba(255, 165, 0, 0.3);
    line-height: 30px;
    letter-spacing: 10px;
    word-break: break-all;
    animation: matrix-fall 20s linear infinite;
}

@keyframes matrix-fall {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.login-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1000px;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    overflow: hidden;
    min-height: 500px;
}

.login-left {
    flex: 1;
    background: #1a1a1a;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.green-frame {
    width: 100%;
    height: 100%;
    border: 3px solid #00ff00;
    box-shadow: 0 0 20px #00ff00, inset 0 0 20px rgba(0, 255, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

.intro-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: contrast(1.2) brightness(0.9);
    z-index: 1;
}

.binary-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 255, 0, 0.05) 50%,
        transparent 100%
    );
}

.binary-column {
    white-space: pre;
}

.binary-char {
    position: absolute;
    opacity: 0.6;
    animation: binary-fall linear infinite;
}

@keyframes binary-fall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 0, 0.03) 2px,
        rgba(0, 255, 0, 0.03) 4px
    );
    z-index: 3;
    pointer-events: none;
    animation: scan-move 8s linear infinite;
}

@keyframes scan-move {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Glitch effect */
.green-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 255, 0, 0.1) 50%,
        transparent 100%
    );
    z-index: 4;
    pointer-events: none;
    animation: glitch-scan 3s linear infinite;
}

@keyframes glitch-scan {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.corner-bracket {
    position: absolute;
    color: #00ff00;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff00;
}

.corner-bracket.top-left {
    top: 10px;
    left: 10px;
}

.corner-bracket.bottom-right {
    bottom: 10px;
    right: 10px;
    transform: rotate(180deg);
}

.image-content {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 5;
}

.welcome-text {
    font-size: 48px;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00;
    margin-bottom: 20px;
    letter-spacing: 5px;
    animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
    0% {
        text-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00;
    }
    100% {
        text-shadow: 0 0 30px #00ff00, 0 0 60px #00ff00, 0 0 80px #00ff00;
    }
}

.kingtool-text {
    background: #00ff00;
    color: #000;
    padding: 10px 30px;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    border-radius: 5px;
    box-shadow: 0 0 20px #00ff00;
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px #00ff00;
    }
    50% {
        box-shadow: 0 0 30px #00ff00, 0 0 50px #00ff00;
    }
}

.login-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-title {
    color: #ff6600;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 
        0 0 10px #ff6600,
        0 0 20px #ff6600,
        0 0 30px #ff6600;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.login-subtitle {
    color: #333;
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #ff6600;
}

.input-group .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.login-btn {
    background: linear-gradient(135deg, #ff6600 0%, #ffaa00 100%);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

.login-btn:hover {
    transform: scale(1.02);
}

.register-btn {
    width: 100%;
    padding: 12px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    color: #333;
    cursor: pointer;
    font-size: 14px;
}

/* ========== DASHBOARD PAGE ========== */
.dashboard-page, .lobby-page, .game-page {
    min-height: 100vh;
    background: #000;
    position: relative;
    color: white;
}

.dark-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255, 255, 0, 0.1) 50px, rgba(255, 255, 0, 0.1) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255, 255, 0, 0.1) 50px, rgba(255, 255, 0, 0.1) 51px);
    z-index: 1;
}

.grid-overlay::before {
    content: 'XYAΘHC01K';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: rgba(255, 255, 0, 0.2);
    line-height: 50px;
    letter-spacing: 30px;
    word-break: break-all;
}

.red-mechanical-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.robot-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
}

.top-bar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.5);
}

.greeting {
    font-size: 18px;
    color: white;
}

.datetime {
    text-align: center;
    color: white;
}

.datetime div {
    margin: 5px 0;
}

.logout-btn {
    background: #ff6600;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.exclusive-banner {
    position: relative;
    z-index: 10;
    background: #ff6600;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    margin: 20px auto;
    max-width: 90%;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 0 10px #ff6600,
        0 0 20px #ff6600,
        inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.tools-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    padding: 0 40px;
}

.tool-card {
    position: relative;
    width: 300px;
    height: 400px;
    cursor: pointer;
    transition: transform 0.3s;
}

.tool-card:hover {
    transform: translateY(-10px);
}

.tool-pedestal {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #ff0000 0%, #990000 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.tool-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333;
}

.tool-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.tool-title {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.8), -2px -2px 4px rgba(255, 0, 0, 0.8);
    white-space: nowrap;
}

.system-analysis {
    position: fixed;
    bottom: 100px;
    left: 40px;
    z-index: 10;
}

.analysis-box {
    background: #000;
    border: 2px solid #ffaa00;
    padding: 15px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    box-shadow: 
        0 0 5px #ffaa00,
        0 0 10px #ffaa00,
        inset 0 0 5px rgba(255, 170, 0, 0.2);
}

.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ffaa00;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.tool-icon-small {
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid #ff0000;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.chat-icon {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #00ff00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

/* ========== LOBBY PAGE ========== */
.notification-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
    z-index: 100;
    overflow: hidden;
    white-space: nowrap;
}

.notification-item {
    display: inline-block;
    color: #ffaa00;
    margin-right: 50px;
    font-size: 14px;
    animation: scroll 30s linear infinite;
}

.bell-icon {
    margin-right: 10px;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.lobby-header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 80px 40px 20px;
}

.back-btn {
    background: rgba(50, 50, 50, 0.8);
    color: white;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.user-info {
    text-align: center;
    color: white;
}

.vip-badge {
    background: #ffaa00;
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
}

.logout-btn-small {
    background: #ff6600;
    color: white;
    padding: 5px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
    font-size: 12px;
}

.lobby-title-banner {
    position: relative;
    z-index: 10;
    background: #ff6600;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 28px;
    font-weight: bold;
    margin: 20px auto;
    max-width: 90%;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 0 10px #ff6600,
        0 0 20px #ff6600,
        inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.games-grid {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 40px;
}

.game-tile {
    position: relative;
    width: 350px;
    height: 450px;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 15px;
    border: 3px solid #00ff00;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.game-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}

.jackpot-ribbon {
    position: absolute;
    top: 10px;
    left: -30px;
    background: #ff0000;
    color: white;
    padding: 5px 50px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(-45deg);
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.game-image {
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
}

.game-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.game-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 15px 0 5px;
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.8);
}

.game-subtitle {
    color: #aaa;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

.terminal-box {
    position: fixed;
    bottom: 100px;
    left: 40px;
    background: #000;
    border: 1px solid #ffaa00;
    padding: 15px;
    border-radius: 5px;
    color: #ffaa00;
    font-size: 14px;
    z-index: 10;
    font-family: 'Courier New', monospace;
    box-shadow: 
        0 0 5px #ffaa00,
        0 0 10px #ffaa00,
        inset 0 0 5px rgba(255, 170, 0, 0.2);
}

.terminal-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.icon-circle-small {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid #ff0000;
    text-align: center;
    padding: 5px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.icon-circle-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.tool-icon-bottom {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 10;
}

/* ========== GAME PAGES ========== */
.game-header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.vip-tag {
    background: #ffaa00;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
}

.token-display {
    background: #ff6600;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
}

.game-panel {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 40px auto;
    background: rgba(20, 20, 20, 0.95);
    border: 3px solid #ff6600;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.3);
}

.soccer-panel {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-color: #ff6600;
    max-width: 750px;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(255, 102, 0, 0.6),
        0 0 60px rgba(255, 102, 0, 0.4),
        0 0 90px rgba(255, 102, 0, 0.2),
        inset 0 0 30px rgba(255, 102, 0, 0.1);
    position: relative;
}

.soccer-panel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6600, #ffaa00, #ff6600, #ffcc00);
    background-size: 400% 400%;
    border-radius: 15px;
    z-index: -1;
    animation: border-glow 3s ease infinite;
    opacity: 0.7;
}

.phi-cong-panel {
    background: rgba(20, 20, 20, 0.95);
    border-color: #ffaa00;
    max-width: 700px;
    overflow: hidden;
}

.game-title-large {
    text-align: center;
    color: white;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.game-icons {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
}

.game-icon-left, .game-icon-right {
    text-align: center;
}

.icon-robot {
    width: 100px;
    height: 100px;
    background: rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 10px;
}

.success-ring {
    width: 100px;
    height: 100px;
    border: 5px solid #ff00ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.success-percent {
    color: #ff00ff;
    font-size: 24px;
    font-weight: bold;
}

.icon-text {
    color: white;
    font-size: 12px;
    margin-top: 5px;
}

.game-title-repeat {
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
}

.difficulty-selector {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    justify-content: center;
}

.difficulty-btn {
    flex: 1;
    padding: 15px;
    background: rgba(50, 50, 50, 0.8);
    color: white;
    border: 2px solid #666;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.difficulty-btn.active {
    background: #ff6600;
    border-color: #ff6600;
    color: white;
}

.difficulty-btn:hover {
    border-color: #ff6600;
}

.predictions-section {
    margin: 30px 0;
}

.predictions-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.predictions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.prediction-box {
    background: rgba(50, 50, 50, 0.8);
    border: 2px solid #666;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    color: white;
}

.prediction-box .turn-label {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 5px;
}

.prediction-box .prediction-value {
    font-size: 18px;
    font-weight: bold;
    color: #00ff00;
}

/* Phi Công Siêu Cấp Styles */
.phi-cong-title-bar {
    background: #ffaa00;
    color: #000;
    padding: 15px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    margin: -30px -30px 20px -30px;
}

.phi-cong-visuals {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px 0;
    gap: 30px;
    padding: 0 20px;
    position: relative;
}

.phi-cong-left-icon,
.phi-cong-center,
.phi-cong-right-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 300px;
    position: relative;
}

.phi-cong-left-icon {
    max-width: 280px;
}

.robot-icon-small {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.robot-icon-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    max-width: 250px;
    max-height: 250px;
    filter: 
        drop-shadow(0 0 20px rgba(255, 0, 0, 0.9))
        drop-shadow(0 0 40px rgba(255, 0, 0, 0.6))
        drop-shadow(0 0 60px rgba(255, 0, 0, 0.3));
    animation: robot-pulse 2s ease-in-out infinite;
}

@keyframes robot-pulse {
    0%, 100% {
        filter: 
            drop-shadow(0 0 20px rgba(255, 0, 0, 0.9))
            drop-shadow(0 0 40px rgba(255, 0, 0, 0.6))
            drop-shadow(0 0 60px rgba(255, 0, 0, 0.3));
        transform: scale(1);
    }
    50% {
        filter: 
            drop-shadow(0 0 30px rgba(255, 0, 0, 1))
            drop-shadow(0 0 60px rgba(255, 0, 0, 0.8))
            drop-shadow(0 0 90px rgba(255, 0, 0, 0.5));
        transform: scale(1.08);
    }
}

.aviator-logo {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.aviator-icon {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: 4px solid #ff6600;
    border-radius: 10px;
    box-shadow: 
        0 0 25px rgba(255, 102, 0, 0.8),
        0 0 50px rgba(255, 102, 0, 0.5),
        0 0 75px rgba(255, 102, 0, 0.3),
        inset 0 0 25px rgba(255, 102, 0, 0.2);
    margin-bottom: 12px;
    max-width: 100%;
    max-height: 100%;
    position: relative;
    animation: aviator-glow 2s ease-in-out infinite;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
}

.phi-cong-subtitle {
    color: #ffaa00;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 12px;
    font-family: 'Courier New', monospace;
    text-shadow: 
        0 0 10px rgba(255, 170, 0, 0.8),
        0 0 20px rgba(255, 170, 0, 0.5);
    letter-spacing: 2px;
    animation: subtitle-glow 2s ease-in-out infinite;
}

@keyframes subtitle-glow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 170, 0, 0.8),
            0 0 20px rgba(255, 170, 0, 0.5);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 170, 0, 1),
            0 0 30px rgba(255, 170, 0, 0.7),
            0 0 45px rgba(255, 170, 0, 0.5);
    }
}

.progress-frame-container {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 20px rgba(255, 170, 0, 0.8));
}

.progress-frame {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: rotate-frame 3s linear infinite;
    max-width: 100%;
    max-height: 100%;
}

@keyframes rotate-frame {
    0% { 
        transform: rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(255, 170, 0, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 170, 0, 1));
    }
    100% { 
        transform: rotate(360deg);
        filter: drop-shadow(0 0 10px rgba(255, 170, 0, 0.6));
    }
}

@keyframes aviator-glow {
    0%, 100% {
        box-shadow: 
            0 0 25px rgba(255, 102, 0, 0.8),
            0 0 50px rgba(255, 102, 0, 0.5),
            0 0 75px rgba(255, 102, 0, 0.3),
            inset 0 0 25px rgba(255, 102, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(255, 102, 0, 1),
            0 0 70px rgba(255, 102, 0, 0.7),
            0 0 105px rgba(255, 102, 0, 0.5),
            inset 0 0 35px rgba(255, 102, 0, 0.3);
    }
}

@keyframes percent-pulse {
    0%, 100% {
        text-shadow: 
            0 0 15px #00ff00,
            0 0 30px #00ff00,
            0 0 45px #00ff00;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        text-shadow: 
            0 0 20px #00ff00,
            0 0 40px #00ff00,
            0 0 60px #00ff00,
            0 0 80px #00ff00;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.progress-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00ff00;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 
        0 0 15px #00ff00,
        0 0 30px #00ff00,
        0 0 45px #00ff00;
    font-family: 'Courier New', monospace;
    z-index: 2;
    animation: percent-pulse 2s ease-in-out infinite;
}

.success-circle {
    width: 80px;
    height: 80px;
    background: #00ff00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    font-weight: bold;
}

.phi-cong-graph {
    margin: 30px 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    height: 200px;
}

#aviatorGraph {
    width: 100%;
    height: 100%;
}

.graph-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
}

.phi-cong-info-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 30px 0;
}

.info-button {
    background: rgba(50, 50, 50, 0.9);
    border: 2px solid #00ff00;
    border-radius: 8px;
    padding: 15px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 10px rgba(0, 255, 0, 0.3),
        inset 0 0 10px rgba(0, 255, 0, 0.1);
    animation: info-glow 3s ease-in-out infinite;
}

.info-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 0, 0.1),
        transparent
    );
    animation: info-scan 3s linear infinite;
}

@keyframes info-glow {
    0%, 100% {
        box-shadow: 
            0 0 10px rgba(0, 255, 0, 0.3),
            inset 0 0 10px rgba(0, 255, 0, 0.1);
        border-color: #00ff00;
    }
    50% {
        box-shadow: 
            0 0 20px rgba(0, 255, 0, 0.6),
            0 0 30px rgba(0, 255, 0, 0.4),
            inset 0 0 15px rgba(0, 255, 0, 0.2);
        border-color: #00ff88;
    }
}

@keyframes info-scan {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.info-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 25px rgba(0, 255, 0, 0.8),
        0 0 40px rgba(0, 255, 0, 0.5),
        inset 0 0 20px rgba(0, 255, 0, 0.3);
    border-color: #00ff88;
}

.info-button.vip-server {
    background: rgba(100, 100, 100, 0.9);
    border-color: #ffaa00;
    box-shadow: 
        0 0 10px rgba(255, 170, 0, 0.3),
        inset 0 0 10px rgba(255, 170, 0, 0.1);
    animation: vip-glow 2s ease-in-out infinite;
}

.info-button.vip-server::before {
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 170, 0, 0.1),
        transparent
    );
}

@keyframes vip-glow {
    0%, 100% {
        box-shadow: 
            0 0 10px rgba(255, 170, 0, 0.3),
            inset 0 0 10px rgba(255, 170, 0, 0.1);
        border-color: #ffaa00;
    }
    50% {
        box-shadow: 
            0 0 20px rgba(255, 170, 0, 0.6),
            0 0 30px rgba(255, 170, 0, 0.4),
            inset 0 0 15px rgba(255, 170, 0, 0.2);
        border-color: #ffcc00;
    }
}

.info-button.vip-server:hover {
    box-shadow: 
        0 0 25px rgba(255, 170, 0, 0.8),
        0 0 40px rgba(255, 170, 0, 0.5),
        inset 0 0 20px rgba(255, 170, 0, 0.3);
    border-color: #ffcc00;
}

.info-title {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(170, 170, 170, 0.5);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.info-value {
    font-size: 18px;
    font-weight: bold;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    text-shadow: 
        0 0 5px #00ff00,
        0 0 10px #00ff00;
    animation: value-pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes value-pulse {
    0%, 100% {
        text-shadow: 
            0 0 5px #00ff00,
            0 0 10px #00ff00;
    }
    50% {
        text-shadow: 
            0 0 10px #00ff00,
            0 0 20px #00ff00,
            0 0 30px #00ff00;
    }
}

.info-value.no-data {
    color: #888;
    font-style: italic;
    animation: no-data-blink 1.5s ease-in-out infinite;
}

@keyframes no-data-blink {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.vip-crown {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
}

.hack-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #ff6600 0%, #ffaa00 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.hack-btn:hover {
    transform: scale(1.02);
    box-shadow: 
        0 0 10px #ff6600,
        0 0 20px #ff6600,
        0 0 30px #ff6600;
}

.hack-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hack-btn:hover::before {
    width: 300px;
    height: 300px;
}

.phi-cong-hack {
    background: linear-gradient(135deg, #ffaa00 0%, #ffdd00 100%);
}

/* Message styles */
.message {
    display: none;
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.message.success {
    background: #4caf50;
    color: white;
}

.message.error {
    background: #f44336;
    color: white;
}

/* Disabled button */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading Modal */
.loading-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.loading-modal.show {
    display: flex;
}

.loading-content {
    background: rgba(20, 20, 20, 0.95);
    border: 3px solid #00ff00;
    border-radius: 15px;
    padding: 40px;
    min-width: 400px;
    text-align: center;
    box-shadow: 
        0 0 20px rgba(0, 255, 0, 0.5),
        inset 0 0 20px rgba(0, 255, 0, 0.1);
}

.loading-title {
    color: #00ff00;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: 'Courier New', monospace;
    text-shadow: 
        0 0 10px #00ff00,
        0 0 20px #00ff00;
    animation: loading-title-pulse 2s ease-in-out infinite;
}

@keyframes loading-title-pulse {
    0%, 100% {
        text-shadow: 
            0 0 10px #00ff00,
            0 0 20px #00ff00;
    }
    50% {
        text-shadow: 
            0 0 15px #00ff00,
            0 0 30px #00ff00,
            0 0 40px #00ff00;
    }
}

.progress-bar-container {
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff00;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 255, 0, 0.3);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ff00 0%, #00ff88 50%, #00ff00 100%);
    background-size: 200% 100%;
    animation: progress-shine 2s linear infinite;
    transition: width 0.3s ease;
    box-shadow: 
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: progress-scan 1.5s linear infinite;
}

@keyframes progress-shine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes progress-scan {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    color: #00ff00;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 
        0 0 10px #00ff00,
        0 0 20px #00ff00;
}
