/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #00ff00;
    overflow-x: hidden;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

/* Login Section */
#login-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 url('portada1.png') center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#login-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.login-container {
    position: relative;
    text-align: center;
    background: rgba(0, 0, 0, 0.82);
    border: 2px solid rgba(0, 255, 0, 0.95);
    border-radius: 16px;
    padding: 54px 40px;
    max-width: 440px;
    width: 92%;
    box-shadow: 0 0 45px rgba(0, 255, 0, 0.22);
    backdrop-filter: blur(12px);
}

.login-container h1 {
    margin-bottom: 20px;
    color: #ccff99;
    text-shadow: 0 0 18px #ccff99;
}

.login-container p {
    color: #e7ffd7;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.18);
    font-weight: 600;
}

.discord-btn {
    display: inline-block;
    background: #5865f2;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: all 0.3s;
}

.discord-btn:hover {
    background: #4752c4;
    box-shadow: 0 0 15px #5865f2;
}

/* Dashboard */
#dashboard {
    min-height: 100vh;
    background: #000 url('image2.png') center center / cover no-repeat; 

#dashboard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    pointer-events: none;
}

/* Watermarks en esquinas */
.watermark {
    position: fixed;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 5;
}

.watermark-top-left {
    top: 20px;
    left: 20px;
    background-image: url('image23.png');
    background-position: top left;
}

.watermark-top-right {
    top: 20px;
    right: 20px;
    background-image: url('image23.png');
    background-position: top right;
    transform: scaleX(-1);
}

.watermark-bottom-left {
    bottom: 20px;
    left: 20px;
    background-image: url('image23.png');
    background-position: bottom left;
    transform: scaleY(-1);
}

.watermark-bottom-right {
    bottom: 20px;
    right: 20px;
    background-image: url('image23.png');
    background-position: bottom right;
    transform: scaleX(-1) scaleY(-1);
}

/* Activity analysis styles */
.activity-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-stats .stat-item {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
}

.activity-stats .stat-label {
    font-size: 0.9em;
    color: #ccff99;
    margin-bottom: 5px;
    font-weight: bold;
}

.activity-stats .stat-value {
    font-size: 1.2em;
    font-weight: bold;
}

.activity-stats .stat-value.active {
    color: #00ff00;
}

.activity-stats .stat-value.semi-active {
    color: #ffff00;
}

.activity-stats .stat-value.inactive {
    color: #ff4444;
}

.activity-stats .stat-value.low-activity {
    color: #ff8800;
}

.activity-stats .stat-value.no-data {
    color: #888888;
}

.chart-container {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-container canvas {
    max-height: 300px;
    width: 100% !important;
}

header {
    position: relative;
    background: rgba(0, 255, 0, 0.08);
    border-bottom: 2px solid #00ff00;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

header h1 {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #00ff00;
}

.user-info h3 {
    color: #00ff00;
}

.logout-btn {
    background: #ff4444;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #cc3333;
}

/* Main Content */
main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.panel {
    background: rgba(0, 255, 0, 0.22);
    border: 2px solid rgba(0, 255, 0, 0.95);
    color: #f0ffe5;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 30px;
    box-shadow: 0 0 24px rgba(0, 255, 0, 0.08);
}

.panel h2 {
    color: #ccff99;
    margin-bottom: 20px;
    text-shadow: 0 0 14px #ccff99;
}

.panel p,
.panel small,
.panel span,
.panel li,
.panel strong,
.panel h3,
.panel h4 {
    color: #e9ffd9;
}

.verification-form {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.verification-form input {
    flex: 1;
    padding: 12px;
    background: #000;
    border: 2px solid #00ff00;
    color: #00ff00;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

.verification-form button {
    background: #00ff00;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    transition: all 0.3s;
}

.verification-form button:hover {
    background: #00aa00;
    box-shadow: 0 0 15px #00ff00;
}

.result {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.result.success {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid #00ff00;
}

.result.error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
}

.result p {
    margin: 0;
    font-size: 16px;
#main-container {
    min-height: 100vh;
    padding: 20px;
    animation: fadeIn 1s;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #00ff00;
    animation: glow 3s ease-in-out infinite alternate;
}

.search-section {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

#username-input {
    padding: 12px;
    font-size: 1rem;
    background: #111;
    border: 2px solid #00ff00;
    color: #00ff00;
    width: 300px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    transition: box-shadow 0.3s;
}

#username-input:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

#analyze-btn {
    padding: 12px 20px;
    background: #00ff00;
    border: none;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

#analyze-btn:hover {
    background: #00aa00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    transform: scale(1.05);
}

/* Scanning Overlay */
#scanning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.scanning-container {
    text-align: center;
}

.radar {
    width: 200px;
    height: 200px;
    border: 3px solid #00ff00;
    border-radius: 50%;
    position: relative;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.radar::before {
    content: \'\';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 100px;
    background: #00ff00;
    transform-origin: bottom;
    animation: radarSweep 2s linear infinite;
}

.radar-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 255, 0, 0.3) 90deg, transparent 180deg);
    border-radius: 50%;
    animation: radarRotate 2s linear infinite;
}

@keyframes radarSweep {
    0% { transform: translateX(-50%) translateY(-100%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-100%) rotate(360deg); }
}

@keyframes radarRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scanning-text {
    font-size: 1.2rem;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: glow 1s ease-in-out infinite alternate;
}

/* Dashboard */
#dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.panel {
    background: #111;
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: \'\';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    animation: scanLine 3s linear infinite;
}

.panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.6);
    border-color: #00aa00;
}

.panel h2 {
    margin-bottom: 15px;
    border-bottom: 2px solid #00ff00;
    padding-bottom: 10px;
    text-shadow: 0 0 10px #00ff00;
}

/* Profile Section */
.profile-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

#avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.profile-info h3 {
    margin-bottom: 5px;
    color: #00ff00;
}

.profile-info p {
    margin-bottom: 5px;
    color: #ccc;
}

/* Groups */
#groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.group-item {
    background: #222;
    border: 1px solid #00ff00;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s;
}

.group-item:hover {
    background: #333;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.group-item img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.group-item.suspicious {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Badges */
#badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
}

.badge-item {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 1px solid #00ff00;
    transition: all 0.3s;
}

.badge-item:hover {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    transform: scale(1.1);
}

/* Games Grid */
#games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.game-item {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s;
}

.game-item:hover {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    transform: translateY(-5px);
}

.game-item img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Outfits Grid */
#outfits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.outfit-item {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s;
}

.outfit-item:hover {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    transform: translateY(-5px);
}

.outfit-item img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Inventory Grid */
#inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
}

.inventory-item {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 1px solid #00ff00;
    transition: all 0.3s;
}

.inventory-item:hover {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    transform: scale(1.1);
}

/* Security Analysis */
#risk-indicator {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    text-shadow: 0 0 10px currentColor;
}

.risk-low {
    background: linear-gradient(45deg, #00aa00, #00ff00);
    color: #000;
    border: 2px solid #00ff00;
}

.risk-medium {
    background: linear-gradient(45deg, #aaaa00, #ffff00);
    color: #000;
    border: 2px solid #ffff00;
}

.risk-high {
    background: linear-gradient(45deg, #aa0000, #ff0000);
    color: #fff;
    border: 2px solid #ff0000;
}

.risk-unknown {
    background: linear-gradient(45deg, #666666, #999999);
    color: #fff;
    border: 2px solid #999999;
}

#warnings-list {
    list-style: none;
}

#warnings-list li {
    margin-bottom: 8px;
    color: #ffaa00;
    text-shadow: 0 0 5px #ffaa00;
}

/* Error Modal */
#error-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s;
}

.modal-content {
    background: #111;
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}

#close-error {
    margin-top: 15px;
    padding: 10px 20px;
    background: #00ff00;
    border: none;
    color: #000;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

#close-error:hover {
    background: #00aa00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        text-align: center;
    }

    .search-section {
        flex-direction: column;
        align-items: center;
    }

    #username-input {
        width: 100%;
        max-width: 300px;
    }

    #dashboard {
        grid-template-columns: 1fr;
    }

    .radar {
        width: 150px;
        height: 150px;
    }
}

/* OUTFITS STYLES */
.outfit-item {
    background: #111;
    border: 1px solid #00ff00;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s;
}

.outfit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
}

.outfit-thumbnail {
    width: 100%;
    height: 140px;
    border-radius: 5px;
    margin-bottom: 10px;
    object-fit: cover;
}

.outfit-item strong {
    color: #00ff00;
    display: block;
    margin-bottom: 8px;
    word-break: break-word;
}

.outfit-item small {
    color: #888;
}

/* SECURITY STATUS STYLES */
.security-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-large {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid;
    transition: all 0.3s;
}

.status-large h3 {
    margin: 0 0 10px 0;
    font-size: 1.4em;
}

.status-large p {
    margin: 5px 0;
    font-size: 1.1em;
}

.status-large small {
    color: #888;
    font-size: 0.9em;
}

.status-safe {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    color: #00ff00;
}

.status-safe h3 {
    color: #00ff00;
}

.status-warning {
    background: rgba(255, 255, 0, 0.1);
    border-color: #ffff00;
    color: #ffff00;
}

.status-warning h3 {
    color: #ffff00;
}

.status-danger {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    color: #ff0000;
    animation: danger-pulse 2s infinite;
}

.status-danger h3 {
    color: #ff0000;
}

.status-unavailable {
    background: rgba(128, 128, 128, 0.1);
    border-color: #888;
    color: #888;
}

.status-unavailable h3 {
    color: #888;
}

@keyframes danger-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 0, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); }
}

.security-reasons {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid #00ff00;
    border-radius: 8px;
    padding: 15px;
}

.security-reasons h4 {
    color: #00ff00;
    margin: 0 0 10px 0;
}

.security-reasons ul {
    margin: 0;
    padding-left: 20px;
}

.security-reasons li {
    color: #ccc;
    margin-bottom: 5px;
}

.security-warning {
    background: rgba(255, 150, 0, 0.1);
    border: 1px solid #ff9600;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.security-warning p {
    color: #ff9600;
    margin: 0;
    font-weight: bold;
}


