/* 
    ===========================================
    CSS VARIABLES AND ROOT SETTINGS
    ===========================================
    */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-hover: #252525;
    --text-primary: #e1e1e1;
    --text-secondary: #a0a0a0;
    --accent: #00b050;
    --accent-hover: #00d666;
    --border-color: #333333;
    --border-hover: #444444;
    --error: #d32f2f;
    --primary: #2c8af3;
    --primary-dark: #1e72d1;
    --secondary: #14161f;
    --text: #e4e6eb;
    --bg-input: #282a36;
    --transition: all 0.3s ease;
    --success: #4caf50;
}

/* 
    ===========================================
    SCROLLBAR STYLING
    ===========================================
    */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F2F2F2;
}

::-webkit-scrollbar-thumb {
    background: #BDBDBD;
}

::-webkit-scrollbar-thumb:hover {
    background: #6E6E6E;
}

/* 
    ===========================================
    BASE LAYOUT AND TYPOGRAPHY
    ===========================================
    */
body,
html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'LaguSansBold', 'Montserrat', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1300px;
    /* margin: 0 auto; */
    padding: 20px;
    flex: 1;
}

/* 
    ===========================================
    HEADER COMPONENTS
    ===========================================
    */
.site-header {
    background-color: #1a1a1a;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.site-nav {
    display: flex;
    gap: 16px;
}

.site-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
    opacity: 1;
    color: var(--accent);
}

.app-header {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.app-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.app-header h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.app-header p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.header-right {
    display: flex;
    align-items: center;
}

.language-select {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 5px 10px;
    margin-right: 10px;
}

.social-icon {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    cursor: pointer;
}

/* 
    ===========================================
    MAIN CONTENT LAYOUT
    ===========================================
    */
.main-content {
    /* text-align: center; */
    padding: 50px 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

.main-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* 
    ===========================================
    TYPOGRAPHY AND TEXT ELEMENTS
    ===========================================
    */
h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 24px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

/* 
    ===========================================
    BUTTONS AND INTERACTIVE ELEMENTS
    ===========================================
    */
.button {
    background-color: rgba(0, 0, 0, 0.57);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s;
    margin: 2px;
}

.button:hover {
    background-color: rgba(0, 0, 0, 0.81);
}

.btn {
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 8px;
}

.btn:hover {
    background-color: var(--accent-hover);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.btn-group .btn {
    flex: 1;
    margin-top: 0;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.move-button {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: white;
    font-weight: bolder;
    cursor: pointer;
}

.crop-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.crop-button.cancel {
    background-color: #f44336;
}

/* 
    ===========================================
    FORM CONTROLS
    ===========================================
    */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.form-control:hover {
    border-color: var(--border-hover);
}

.form-select,
.form-input {
    width: 100%;
    padding: 5px;
    margin-top: 5px;
    background-color: rgba(0, 0, 0, 0.19);
    color: white;
    border: 1px solid rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
}

select:focus {
    color: black;
}

/* 
    ===========================================
    CARD CONTAINERS AND COMPONENTS
    ===========================================
    */
.Scard {
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 24px;
    max-width: 450px;
}

.Scard-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.Scard-body {
    padding: 16px;
}

/* 
    ===========================================
    UPLOAD AND DROP ZONE
    ===========================================
    */
.upload-area {
    border: 2px dashed #ffffff;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
    cursor: pointer;
}

.dropzone {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dropzone:hover {
    border-color: var(--accent);
    background-color: rgba(0, 176, 80, 0.05);
}

.dropzone p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.dropzone-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--accent);
}

/* 
    ===========================================
    CARD CONTAINER AND BUILD CARD STYLING
    ===========================================
    */
.card-container {
    height: 520px;
    position: relative;
    background-image: url('backgrounds/background-1.JPG');
    background-size: cover;
    background-position: center;
    /* margin: 20px auto; */
    display: none;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: left;
    max-width: 1300px;
}

.charinfo {
    top: 10px;
    left: 10px;
    position: absolute;
    font-weight: bold;
    font-size: 15px;
    z-index: 10;
}

.character-splash {
    position: absolute;
    top: 0;
    left: 0;
    width: 450px;
    height: inherit;
}

.character-splash img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
}

.build-card-result {
    margin-bottom: 40px;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.build-card-container {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.build-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 520px;
    color: var(--text-secondary);
    text-align: center;
    padding: 20px;
}

/* 
    ===========================================
    CHARACTER STATS AND WEAPON STYLING
    ===========================================
    */
.character-stats {
    position: absolute;
    top: 123px;
    left: 446px;
    width: 400px;
    padding: 10px;
    border-radius: 5px;
}

.character-stats .stat-row:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.15);
    /* Very transparent black */
}

.character-stats .stat-row:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.04);
    /* Very transparent white */
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.stat-name {
    color: white;
    font-size: 15px;
    display: flex;
    min-width: 290px;
    align-items: center;
}

.stat-value {
    color: #44CDBF;
    font-size: 15px;
}

.stat-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border-radius: 3rem;
}

.weapon-card {
    left: 510px;
    top: 20px;
    padding: 12px;
    width: 300px;
    border-radius: 4px;
    position: relative;
}

.weapon-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.weapon-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weapon-icon img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.weapon-info {
    flex: 1;
}

.weapon-name {
    color: white;
    font-size: 18px;
    margin: 0 0 8px 0;
}

.weapon-stat-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.weapon-stat-box {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.weapon-stat-box img {
    width: 16px;
    height: 16px;
}

.weapon-level-info {
    display: flex;
    gap: 12px;
    color: #ccc;
    font-size: 14px;
}

/* 
    ===========================================
    BONUS STATS STYLING
    ===========================================
    */
.bonus-stats-container {
    display: flex;
    gap: 16px;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
}

.bonus-stats {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
}

.bonus-stat {
    background: #0009;
    margin: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.bonus-stat.selected {
    border: 2px solid #28a745
}

.bonus-stat-icon {
    height: 16px;
    width: 16px;
}

.bonus-stat-name {
    font-weight: bold;
    font-size: 14px;
}

.bonus-stat-value {
    color: #74ff00;
    font-size: 12px;
}

/* 
    ===========================================
    ECHO/ARTIFACT STYLING
    ===========================================
    */
.echo-container {
    position: absolute;
    top: 40px;
    left: 870px;
    width: 420px;
}

.artifact-box {
    background-color: rgba(0, 0, 0, 0.36);
    border-radius: 5px;
    width: 400px;
    color: #e2e8f0;
    margin-bottom: 10px;
    backdrop-filter: blur(30px);
}

.artifact-content {
    display: flex;
    width: 400px;
    height: 80px;
    gap: 16px;
}

.artifact-image {
    width: 100px;
    height: 80px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.artifact-image img {
    width: 100px;
    height: 80px;
    object-fit: cover;
}

.artifact-stats {
    flex-grow: 1;
    padding: 10px;
}

.move-buttons {
    position: absolute;
    right: 5px;
    top: 5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.main-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 0px;
    background-color: #000000c9;
    width: 100%;
}

.main-stat-value {
    font-weight: bold;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.main-stat-bonus {
    color: #4ade80;
    font-size: 0.875rem;
}

.sub-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 3rem;
}

/* Highlight related stats feature */
.stat-highlight {
    outline: none !important;
    background: rgba(142, 202, 230, 0.1) !important;
    /* box-shadow: 0 0 8px rgba(100, 216, 232, 0.3), inset 0 0 0 1px rgba(100, 216, 232, 0.3); */
    box-shadow: 0 0 8px rgba(100, 216, 232, 0.3), inset 0 0 0 1px rgba(39, 245, 129, 0.27);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Add pulse animation for highlighted echo stats */
.echo-stat-highlight {
    /* animation: pulse 2s infinite; */
    outline: none;
    background: rgba(22, 139, 73, 0.08);
    box-shadow: 0 0 0 1px rgba(104, 255, 0, 0.3);
    /* background: rgba(142, 202, 230, 0.08); */
    border-radius: 4px;
    /* box-shadow: 0 0 0 1px rgba(142, 202, 230, 0.3); */
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 1px rgba(1, 245, 62, 0.3);
    }

    50% {
        box-shadow: 0 0 8px 1px rgba(142, 202, 230, 0.5);
    }

    100% {
        box-shadow: 0 0 0 1px rgba(142, 202, 230, 0.3);
    }
}

/* 
    ===========================================
    ECHO BOX CONTAINER STYLING
    ===========================================
    */
.echo-box-container {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    gap: 20px;
    max-width: 1300px;
}

.echo-box {
    background-color: #00000070;
    width: 100%;
    max-width: 300px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.echo-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.echo-box-portrait {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.echo-box-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.echo-box-title {
    flex-grow: 1;
}

.echo-box-title h2 {
    margin: 0;
    font-size: 1.2rem;
}

.echo-box-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.echo-box-cost {
    background-color: #4a5568;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.echo-box-add-button {
    background-color: rgba(72, 187, 120, 0.2);
    color: #48bb78;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.echo-box-add-button:hover {
    background-color: rgba(72, 187, 120, 0.3);
}

.echo-box-stats-section {
    margin-bottom: 16px;
}

.echo-box-stats-section h3 {
    color: #a0aec0;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.echo-box-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.echo-box-stat-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.echo-box-stat-icon {
    width: 20px;
    height: 20px;
    background-color: #2d3748;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.echo-box-stat-icon img {
    width: 14px;
    height: 14px;
}

.echo-box select,
.echo-box input {
    background-color: #2d3748;
    color: #ffffff;
    border: 1px solid #4a5568;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 0.8rem;
}

.echo-box select {
    width: 140px;
}

.echo-box input {
    width: 60px;
    text-align: right;
}

/* 
    ===========================================
    SCREENSHOT AND IMAGE HANDLING
    ===========================================
    */
.screenshot-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.screenshot {
    width: 200px;
    height: 150px;
    position: relative;
}

.screenshot img {
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.screenshot .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crop-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.crop-area {
    position: relative;
    width: 80%;
    max-width: 800px;
}

#cropImage {
    max-width: 100%;
    max-height: 80vh;
}

.crop-buttons {
    margin-top: 10px;
    text-align: center;
}

/* 
    ===========================================
    TALENT AND SKILL STYLING
    ===========================================
    */
.skill-levels {
    margin-bottom: 20px;
    text-align: left;
}

.skill-icons {
    display: flex;
    justify-content: start;
    gap: 20px;
    padding: 10px;
}

.skill-icons>div {
    text-align: center;
}

.talent-container {
    width: 120px;
    position: absolute;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    left: 320px;
    top: 90px;
}

.talent {
    position: relative;
    width: 42px;
    height: 42px;
}

.talent-inner {
    width: 100%;
    height: 100%;
    background: rgba(28, 28, 28, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.talent img {
    width: 42px;
    height: 42px;
}

.talent-number {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

/* 
    ===========================================
    REGION AND RESONANCE STYLING
    ===========================================
    */
.region {
    left: 480px;
    position: absolute;
    top: 140px;
    height: 100px;
}

.region img {
    height: 300px;
}

.resonance-chains {
    width: 120px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    left: 5px;
    top: 85px;
}

.resonance_overlay {
    background: #202021;
    width: 46px;
    height: 46px;
    position: absolute;
    border-radius: 50%;
    opacity: 75%;
    cursor: pointer;
}

/* 
    ===========================================
    BUILDS NAVIGATION
    ===========================================
    */
.builds-nav {
    width: 98.4%;
    background: rgba(0, 0, 0, 0.47);
    padding: 10px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    z-index: 100;
    overflow-x: auto;
    border-radius: 0.3rem;
    backdrop-filter: blur(10px);
}

.builds-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 100%;
}

.builds-character-select {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    padding: 5px;
    width: 100%;
}

.builds-character-icon {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.builds-character-icon.builds-active {
    border-color: #4a90e2;
    transform: scale(1.1);
}

.builds-character-icon:hover {
    transform: scale(1.05);
}

.builds-character-icon.builds-active:hover {
    transform: scale(1.1);
}

.builds-character-icon img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.builds-character-level {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 1px 4px;
    border-radius: 8px;
}

/* Scrollbar styling for character select */
.builds-character-select::-webkit-scrollbar {
    width: 4px;
}

.builds-character-select::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.builds-character-select::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.builds-character-select::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.build-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.character-select {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 5px;
}

.character-icon {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.character-icon.active {
    border-color: #4a90e2;
}

.character-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-level {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 1px 4px;
    border-radius: 8px;
}

/* 
    ===========================================
    SETTINGS PANEL STYLING
    ===========================================
    */
#settings-toggleButton {
    background-color: #1e1e1e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.settings-panel {
    background: linear-gradient(to bottom right, #1e1919, #1a1a1a);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-top: 10px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 800px;
    padding: 24px;
    transition: all 0.3s ease;
    z-index: 1000;
    box-sizing: border-box;
}

.settings-panel.settings-hidden {
    display: none;
    pointer-events: none;
    transform: translateY(-10px);
}

.settings-panel h2 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
    margin: 0 0 20px;
    padding-bottom: 10px;
}

.settings-option {
    margin-bottom: 20px;
}

.settings-option label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.settings-option select,
.settings-option input[type="range"] {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.9rem;
    padding: 8px;
    transition: all 0.2s ease;
    width: 100%;
}

.settings-option select:focus,
.settings-option input[type="range"]:focus {
    border-color: #4a90e2;
    outline: none;
}

.settings-option input[type="checkbox"] {
    margin-right: 8px;
}

.settings-toggle-label {
    align-items: center;
    cursor: pointer;
    display: flex;
}

.settings-toggle-switch {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: inline-block;
    height: 24px;
    margin-right: 8px;
    position: relative;
    transition: background-color 0.2s ease;
    width: 44px;
}

.settings-toggle-switch::after {
    background-color: #ffffff;
    border-radius: 50%;
    content: '';
    height: 20px;
    left: 2px;
    position: absolute;
    top: 2px;
    transition: transform 0.2s ease;
    width: 20px;
}

.settings-toggle-checkbox:checked+.settings-toggle-switch {
    background-color: #4a90e2;
}

.settings-toggle-checkbox:checked+.settings-toggle-switch::after {
    transform: translateX(20px);
}

.settings-toggle-checkbox {
    display: none;
}

/* 
    ===========================================
    EDIT PANEL STYLING
    ===========================================
    */
.edit-panel {
    display: none;
    width: 320px;
    background-color: var(--bg-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin: 0px 16px 16px 16px;
    padding: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.edit-section {
    margin-bottom: 20px;
}

/* 
    ===========================================
    UPDATES SECTION STYLING
    ===========================================
    */
.upd-container {
    position: relative;
    width: 1300px;
    background: linear-gradient(145deg, rgba(16, 16, 16, 0.9), rgba(23, 23, 23, 0.8));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem;
    overflow: auto;
    color: white;
    margin: 0 auto;
}

.upd-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.upd-header h1 {
    font-size: 1.75rem;
    background: linear-gradient(90deg, #2a2a2a, #3a3a3a);
    -webkit-background-clip: text;
    background-clip: text;
    color: #f4f4f4;
    font-weight: 700;
}

.upd-version {
    background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    color: #fff;
}

.upd-section {
    margin-bottom: 1.5rem;
}

.upd-section-title {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upd-section-title::before {
    content: "►";
    font-size: 0.75rem;
}

.upd-feature-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.upd-feature-item {
    position: relative;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.upd-feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.upd-feature-item::before {
    content: "•";
    position: absolute;
    left: -0.75rem;
    color: #555;
}

.upd-contact-info {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.5), rgba(30, 30, 30, 0.5));
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.upd-contact-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.upd-contact-link:hover {
    color: #aaa;
    text-decoration: underline;
}

.upd-footer-note {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}

/* 
    ===========================================
    COMPARISON BOX STYLING
    ===========================================
    */
.comparison-box {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #00000075;
    max-width: 97%;
    backdrop-filter: blur(10px);
}

.comparison-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.comparison-item {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.comparison-image {
    border-radius: 8px;
    max-width: 120px;
    height: 100%;
    max-height: 200px;
    margin-bottom: 10px;
}

.comparision-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.tick {
    color: green;
}

.cross {
    color: red;
}

.comparison-box p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* 
    ===========================================
    SPLASH CONTAINER STYLING
    ===========================================
    */
.splash-container {
    width: 500px;
    height: 500px;
    border: 2px dashed #aaa;
    position: relative;
    margin: 20px auto;
    overflow: hidden;
}

.img-wrapper {
    position: absolute;
}

.img-wrapper img {
    display: block;
    max-width: none;
    pointer-events: none;
}

#check-tick {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 128, 0, 0.8);
    color: #fff;
    padding: 2px 6px;
    font-size: 16px;
    border-radius: 3px;
    display: none;
}

/* 
    ===========================================
    OTHER UTILITY STYLES
    ===========================================
    */
#processingMessage {
    display: none;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

#errorMessage {
    display: none;
    color: #ff0000;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.othermainstuff {
    display: grid;
    grid-auto-columns: auto;
    gap: 10px;
}

.footer {
    margin-top: auto;
    padding: 16px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Media queries for responsiveness */
@media (max-width: 1350px) {
    .upd-container {
        width: 100%;
        height: auto;
        max-height: 80vh;
    }
}

@media (min-width: 1350px) {
    .container {
        max-width: 2000px;
    }
}