/* ============================================
   EARNADS - MICROSOFT DESIGN SYSTEM
   Clean, Modern, Green & Blue Theme
   ============================================ */

/* ROOT VARIABLES & THEME COLORS */
:root {
    --primary: #0078D4;
    --primary-dark: #106EBE;
    --primary-light: #50E6FF;
    --secondary: #107C10;
    --secondary-dark: #0C5E0C;
    --secondary-light: #10B981;
    --accent: #00B4EF;
    --success: #107C10;
    --danger: #E81B23;
    --warning: #FFB900;
    --text-light: #ffffff;
    --text-dark: #242424;
    --text-gray: #616161;
    --bg-light: #ffffff;
    --bg-lighter: #F3F3F3;
    --bg-dark: #1a1a1a;
    --bg-darker: #0a0a0a;
    --card-light: #ffffff;
    --card-dark: #2a2a2a;
    --border-light: #E5E5E5;
    --border-dark: #3a3a3a;
}

[data-theme="dark"] {
    --text-light: #ffffff;
    --text-dark: #E5E5E5;
    --text-gray: #A0A0A0;
    --bg-light: #1a1a1a;
    --bg-lighter: #252525;
    --card-light: #2a2a2a;
    --card-dark: #1a1a1a;
    --border-light: #3a3a3a;
}

/* RGB GRADIENT ANIMATION */
@keyframes rgbGradient {
    0% {
        filter: hue-rotate(0deg) drop-shadow(0 0 20px rgba(0, 120, 212, 0.5));
    }

    25% {
        filter: hue-rotate(90deg) drop-shadow(0 0 20px rgba(16, 124, 16, 0.5));
    }

    50% {
        filter: hue-rotate(180deg) drop-shadow(0 0 20px rgba(0, 180, 239, 0.5));
    }

    75% {
        filter: hue-rotate(270deg) drop-shadow(0 0 20px rgba(232, 27, 35, 0.5));
    }

    100% {
        filter: hue-rotate(360deg) drop-shadow(0 0 20px rgba(0, 120, 212, 0.5));
    }
}

@keyframes rgbBorder {

    0%,
    100% {
        border-color: #FF0000;
    }

    25% {
        border-color: #00FF00;
    }

    50% {
        border-color: #0000FF;
    }

    75% {
        border-color: #FFFF00;
    }
}

/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* MOBILE FIRST - DEFAULT (320px to 480px) */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 120, 212, 0.1), rgba(16, 124, 16, 0.1), rgba(0, 180, 239, 0.1));
    pointer-events: none;
    z-index: -1;
}

body.dark-theme {
    background: var(--bg-dark);
    color: var(--text-dark);
}

/* NAVIGATION BAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme .navbar {
    background: var(--bg-lighter);
    border-bottom-color: var(--border-light);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    list-style: none;
}

.nav-links button {
    background: none;
    border: none;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 4px;
    position: relative;
}

body.dark-theme .nav-links button {
    color: var(--text-dark);
}

.nav-links button:hover {
    background: var(--bg-lighter);
    color: var(--primary);
}

body.dark-theme .nav-links button:hover {
    background: var(--bg-darker);
    color: var(--accent);
}

.nav-links button.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-toggle,
.lang-select {
    background: var(--bg-lighter);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

body.dark-theme .theme-toggle,
body.dark-theme .lang-select {
    background: var(--bg-darker);
    border-color: var(--border-light);
    color: var(--text-dark);
}

.theme-toggle:hover,
.lang-select:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    animation: rgbGradient 3s infinite;
}

/* MAIN CONTENT */
main {
    margin-top: 120px;
    min-height: calc(100vh - 120px);
    width: 100%;
    position: relative;
}

.page {
    display: none !important;
    width: 100%;
    min-height: calc(100vh - 120px);
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    padding-top: 4rem;
}

.page.active {
    display: block !important;
    z-index: 100;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HOME PAGE */
.home-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.1), rgba(0, 255, 0, 0.1), rgba(0, 0, 255, 0.1), rgba(255, 255, 0, 0.1));
    animation: rgbGradient 8s infinite;
    pointer-events: none;
}

.home-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.home-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 120, 212, 0.2);
    animation: rgbGradient 3s infinite;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 124, 16, 0.2);
    animation: rgbGradient 3s infinite;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* STATS SECTION */
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
}

.stat-card {
    background: var(--card-light);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

body.dark-theme .stat-card {
    background: var(--card-dark);
    border-color: var(--border-light);
}

.stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(0, 120, 212, 0.1);
    transform: translateY(-4px);
    animation: rgbBorder 4s infinite;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CONTENT SECTION */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

body.dark-theme .section-title {
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

body.dark-theme .card {
    background: var(--card-dark);
    border-color: var(--border-light);
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 16px 32px rgba(0, 120, 212, 0.12);
    transform: translateY(-8px);
    animation: rgbBorder 4s infinite;
}

.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.card-content {
    padding: 2rem;
}

.card-text {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

body.dark-theme .card-text {
    color: var(--text-gray);
}

.card-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
    font-size: 0.95rem;
}

.card-button:hover {
    background: var(--primary-dark);
    animation: rgbGradient 3s infinite;
}

/* FORMS */
form {
    background: var(--card-light);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

body.dark-theme form {
    background: var(--card-dark);
    border-color: var(--border-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

body.dark-theme label {
    color: var(--text-dark);
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--bg-light);
    color: var(--text-dark);
}

body.dark-theme input,
body.dark-theme textarea,
body.dark-theme select {
    background: var(--bg-darker);
    color: var(--text-dark);
    border-color: var(--border-light);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

/* HOME PAGE SPECIFIC ELEMENTS */
.header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.header p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body.dark-theme .glass-effect {
    background: rgba(42, 42, 42, 0.9);
    border-color: var(--border-light);
}

.info-box {
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.info-box p {
    color: var(--text-gray);
    line-height: 1.6;
}

.gradient-box {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.05), rgba(16, 124, 16, 0.05));
}

.balance-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 800px;
}

.balance-card {
    background: var(--card-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

body.dark-theme .balance-card {
    background: var(--card-dark);
    border-color: var(--border-light);
}

.balance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 120, 212, 0.15);
}

.balance-card h3 {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-card .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.card-3d {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-3d:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.ad-unit {
    background: var(--card-light);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    width: 100%;
    max-width: 800px;
}

body.dark-theme .ad-unit {
    background: var(--card-dark);
    border-color: var(--border-light);
}

.ad-unit h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: center;
}

.ad-container {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-lighter);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1rem;
}

body.dark-theme .ad-container {
    background: var(--bg-darker);
}

.ad-container .status {
    color: var(--text-gray);
    text-align: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-lighter);
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
}

body.dark-theme .stats {
    background: var(--bg-darker);
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.button-group {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #c41419;
}

.success-message {
    background: var(--success);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

.disclaimer {
    background: var(--bg-lighter);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    width: 100%;
    max-width: 800px;
}

body.dark-theme .disclaimer {
    background: var(--bg-darker);
}

.disclaimer strong {
    color: var(--primary);
}

/* CONTENT GRID */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
}

.content-card {
    background: var(--card-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

body.dark-theme .content-card {
    background: var(--card-dark);
    border-color: var(--border-light);
}

.content-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(0, 120, 212, 0.15);
    transform: translateY(-4px);
}

.content-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.content-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
}

.service-card {
    background: var(--card-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

body.dark-theme .service-card {
    background: var(--card-dark);
    border-color: var(--border-light);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(0, 120, 212, 0.15);
    transform: translateY(-4px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* PROFILE STATS DETAILED */
.stats-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
}

.stat-box {
    background: var(--bg-lighter);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

body.dark-theme .stat-box {
    background: var(--bg-darker);
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 120, 212, 0.1);
}

.stat-icon {
    font-size: 2rem;
}

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-details .label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-details .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* FORM SECTIONS */
.form-section {
    margin: 2rem 0;
    width: 100%;
}

.form-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--bg-light);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

body.dark-theme .form-input {
    background: var(--bg-darker);
    color: var(--text-dark);
    border-color: var(--border-light);
}

/* THEME SELECTOR */
.theme-selector {
    margin: 2rem 0;
    width: 100%;
}

.theme-selector h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.theme-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.theme-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-light);
    background: var(--bg-lighter);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

body.dark-theme .theme-btn {
    background: var(--bg-darker);
    border-color: var(--border-light);
}

.theme-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* DANGER ZONE */
.danger-zone {
    margin: 2rem 0;
    padding: 2rem;
    border: 2px solid var(--danger);
    border-radius: 12px;
    background: rgba(232, 27, 35, 0.05);
    width: 100%;
}

.danger-zone h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--danger);
}

/* LINKS SECTION */
.links-section {
    padding: 2rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 800px;
}

.links-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.links-section ul {
    list-style: none;
    padding: 0;
}

.links-section li {
    margin-bottom: 1rem;
}

.links-section a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.links-section a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* TERMS CONTENT */
.terms-content {
    text-align: left;
}

.terms-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary);
}

.terms-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* FAQ SECTION */
.faq-section {
    padding: 2rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 800px;
}

.faq-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* CONTACT SECTION */
.contact-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    padding: 2rem;
    width: 100%;
    max-width: 600px;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* CHAT BOX */
.chat-box {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    margin-bottom: 1rem;
}

.ai-message {
    background: var(--bg-lighter);
    padding: 1rem;
    border-radius: 8px;
}

body.dark-theme .ai-message {
    background: var(--bg-darker);
}

.user-message {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    align-self: flex-end;
}

.chat-input-group {
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 0.95rem;
}

/* ARTICLE CONTAINER */
.article-container {
    padding: 2rem;
    width: 100%;
    max-width: 800px;
}

.article-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.article-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* AD LOCK OVERLAY */
.ad-lock-timer {
    font-size: 1.5rem;
    margin: 1rem 0;
    font-weight: 700;
}

.ad-display {
    min-height: 250px;
    background: var(--bg-lighter);
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* POPUP AD MODAL */
.popup-ad-timer {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* LOADING SPINNER */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.publisher-id {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}


/* PROFILE SECTION */
.profile-container {
    max-width: 600px;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-email {
    color: var(--text-gray);
    font-size: 1rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-stat {
    background: var(--bg-lighter);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

body.dark-theme .profile-stat {
    background: var(--bg-darker);
}

.profile-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.profile-stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* CHAT INTERFACE */
.chat-container {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px;
}

body.dark-theme .chat-container {
    background: var(--card-dark);
    border-color: var(--border-light);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    margin-bottom: 1rem;
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.bot {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.message-text {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    word-wrap: break-word;
}

.message.bot .message-text {
    background: var(--bg-lighter);
    color: var(--text-dark);
}

body.dark-theme .message.bot .message-text {
    background: var(--bg-darker);
    color: var(--text-dark);
}

.message.user .message-text {
    background: var(--primary);
    color: white;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 0.95rem;
}

.chat-input button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.chat-input button:hover {
    background: var(--primary-dark);
    animation: rgbGradient 3s infinite;
}

/* AD LOCK OVERLAY */
.ad-lock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    color: white;
    text-align: center;
}

.ad-lock-content {
    background: var(--primary);
    padding: 3rem;
    border-radius: 8px;
    max-width: 500px;
}

.ad-timer {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.ad-lock-message {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.ad-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.ad-progress-fill {
    height: 100%;
    background: white;
    animation: fillProgress 10s linear forwards;
}

@keyframes fillProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ARTICLE VIEW */
.article-view {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-header {
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

body.dark-theme .article-title {
    color: var(--text-dark);
}

.article-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.article-content {
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.05rem;
}

body.dark-theme .article-content {
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--primary);
}

.article-ad-break {
    background: var(--bg-lighter);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    text-align: center;
    color: var(--text-gray);
}

body.dark-theme .article-ad-break {
    background: var(--bg-darker);
}

/* MODAL POPUP */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-light);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
    animation: slideUp 0.3s ease;
}

body.dark-theme .modal-content {
    background: var(--card-dark);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    float: right;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - OPTIMIZED FOR ALL DEVICES
   Mobile First: 320px → Tablet: 768px → Desktop: 1024px+
   ════════════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SMALL MOBILE: 320px to 479px
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 479px) {
    html {
        font-size: 14px;
    }

    /* Navigation */
    .navbar {
        padding: 0;
        height: auto;
    }

    .nav-container {
        max-width: 100%;
        margin: 0;
        padding: 0.75rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 1rem;
        white-space: nowrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        gap: 0.25rem;
    }

    .nav-links button {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .nav-controls {
        gap: 0.5rem;
    }

    .theme-toggle,
    .lang-select {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    /* Main Content */
    main {
        margin-top: 100px;
    }

    /* Hero Section */
    .home-hero {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .home-hero h1 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .home-hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Content Section */
    .content-section {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 1.5rem 1rem;
    }

    /* Stats */
    .stats-container {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .card {
        border-radius: 6px;
    }

    .card-header {
        padding: 1.5rem;
        font-size: 1.1rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    /* Forms */
    form {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    input,
    textarea,
    select {
        padding: 0.6rem;
        font-size: 1rem;
    }

    /* Profile */
    .profile-container {
        max-width: 100%;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .profile-name {
        font-size: 1.2rem;
    }

    .profile-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .profile-stat-value {
        font-size: 1.4rem;
    }

    /* Chat */
    .chat-container {
        height: 400px;
    }

    .chat-messages {
        padding: 1rem;
        gap: 0.8rem;
    }

    .message-text {
        max-width: 85%;
        padding: 0.6rem 0.9rem;
        font-size: 0.9rem;
    }

    /* Article */
    .article-view {
        max-width: 100%;
        padding: 1.5rem 1rem;
    }

    .article-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .article-content h2 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem;
    }

    /* Ad Lock */
    .ad-lock-content {
        padding: 2rem;
        max-width: 90%;
    }

    .ad-timer {
        font-size: 2.5rem;
    }

    .ad-lock-message {
        font-size: 1rem;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TABLET: 480px to 767px
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 480px) and (max-width: 767px) {
    html {
        font-size: 15px;
    }

    /* Navigation */
    .nav-container {
        max-width: 100%;
        padding: 0.9rem 1.2rem;
        gap: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.8rem;
    }

    .nav-links button {
        padding: 0.45rem 0.9rem;
        font-size: 0.85rem;
    }

    .theme-toggle,
    .lang-select {
        padding: 0.45rem 0.9rem;
        font-size: 0.9rem;
    }

    /* Main Content */
    main {
        margin-top: 110px;
    }

    /* Hero Section */
    .home-hero {
        padding: 3rem 1.5rem;
        margin-bottom: 2.5rem;
    }

    .home-hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .home-hero p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.95rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }

    /* Content Section */
    .content-section {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2.5rem 1.5rem;
    }

    .stat-card {
        padding: 1.8rem;
    }

    .stat-value {
        font-size: 2.2rem;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-header {
        padding: 1.8rem;
        font-size: 1.2rem;
    }

    .card-content {
        padding: 1.8rem;
    }

    /* Profile */
    .profile-avatar {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }

    .profile-name {
        font-size: 1.3rem;
    }

    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }

    /* Chat */
    .chat-container {
        height: 450px;
    }

    .message-text {
        max-width: 75%;
        font-size: 0.95rem;
    }

    /* Article */
    .article-view {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-content {
        font-size: 1rem;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LANDSCAPE TABLET / SMALL DESKTOP: 768px to 1023px
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 768px) and (max-width: 1023px) {
    html {
        font-size: 15.5px;
    }

    /* Navigation */
    .nav-container {
        max-width: 100%;
        padding: 1rem 1.5rem;
        gap: 1.5rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .home-hero {
        padding: 4rem 2rem;
        margin-bottom: 3rem;
    }

    .home-hero h1 {
        font-size: 2.5rem;
    }

    .home-hero p {
        font-size: 1.1rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }

    /* Content Section */
    .content-section {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 2.5rem 2rem;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 3rem 2rem;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Profile */
    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* Chat */
    .chat-container {
        height: 500px;
    }

    .message-text {
        max-width: 70%;
    }

    /* Article */
    .article-view {
        max-width: 800px;
        margin: 0 auto;
        padding: 2.5rem 2rem;
    }

    .article-title {
        font-size: 2rem;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LARGE DESKTOP: 1024px and above
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 1024px) {
    html {
        font-size: 16px;
    }

    /* Navigation */
    .nav-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 1rem 2rem;
        gap: 2rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .nav-links button {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    /* Hero Section */
    .home-hero {
        padding: 5rem 2rem;
        margin-bottom: 3rem;
    }

    .home-hero h1 {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    .home-hero p {
        font-size: 1.3rem;
    }

    .hero-buttons {
        gap: 1.5rem;
    }

    .btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    /* Content Section */
    .content-section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 3rem 2rem;
    }

    /* Stats */
    .stats-container {
        max-width: 1200px;
        margin: 0 auto;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        padding: 3rem 2rem;
    }

    .stat-card {
        padding: 2rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    /* Cards */
    .cards-grid {
        max-width: 1200px;
        margin: 0 auto;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .card-header {
        padding: 2rem;
        font-size: 1.3rem;
    }

    .card-content {
        padding: 2rem;
    }

    /* Profile */
    .profile-container {
        max-width: 600px;
        margin: 0 auto;
    }

    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* Chat */
    .chat-container {
        height: 500px;
    }

    .message-text {
        max-width: 70%;
    }

    /* Article */
    .article-view {
        max-width: 800px;
        margin: 0 auto;
        padding: 3rem 2rem;
    }

    .article-title {
        font-size: 2.5rem;
    }

    .article-content {
        font-size: 1.05rem;
    }
}

/* ════════════════════════════════════════════════════════════════
   CENTERING & ALIGNMENT FOR ALL DEVICES - NO ZOOM REQUIRED
   Perfect Layout on Desktop, Tablet, Mobile
   ════════════════════════════════════════════════════════════════ */

/* ━━━ MAIN CONTENT AREA ━━━ */
main {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: calc(100vh - 70px);
}

/* ━━━ PAGE CONTAINERS ━━━ */
.page {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0;
}

.page.active {
    display: flex;
}

/* ━━━ CONTENT WRAPPERS ━━━ */
.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Ensure first heading in container is not hidden behind navbar */
.container>h1:first-child,
.container>h2:first-child {
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .container {
        padding: 3rem 2rem;
    }

    .container>h1:first-child,
    .container>h2:first-child {
        margin-top: 1rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 3rem 2rem;
    }
}

/* ━━━ HOME HERO SECTION ━━━ */
.home-hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 5rem 2rem;
}

/* ━━━ STATS CONTAINER ━━━ */
.stats-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    justify-items: center;
    align-items: center;
}

/* ━━━ CONTENT SECTIONS ━━━ */
.content-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ━━━ CARDS GRID ━━━ */
.cards-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    justify-items: center;
    align-items: start;
}

/* ━━━ PROFILE CONTAINER ━━━ */
.profile-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ━━━ ARTICLE VIEW ━━━ */
.article-view {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

/* ━━━ BUTTONS & ACTIONS ━━━ */
.hero-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 auto;
}

/* ━━━ FORM ELEMENTS ━━━ */
form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* ━━━ ENSURE TEXT CENTERING ━━━ */
.home-hero h1,
.home-hero p,
.profile-header,
.profile-name,
.profile-email,
.section-title,
.section-subtitle {
    text-align: center;
    width: 100%;
}

/* ════════════════════════════════════════════════════════════════
   NO-ZOOM OPTIMIZATION
   ════════════════════════════════════════════════════════════════ */

/* Ensure viewport doesn't allow zoom but is properly scaled */
@supports (height: 100dvh) {

    html,
    body {
        height: 100dvh;
    }
}

/* Touch-friendly sizing */
button,
input[type="button"],
input[type="submit"],
select {
    min-height: 44px;
    min-width: 44px;
}

@media (min-width: 1024px) {

    button,
    input[type="button"],
    input[type="submit"],
    select {
        min-height: auto;
        min-width: auto;
    }
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-lighter);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}