

:root {
    --color-bg: #E8E3D4;
    --color-text: #868784;
    --color-text-hover: #5a5754;
    --color-accent: rgba(139, 115, 85, 0.7);
    --grad-light: rgba(180, 175, 165, 0.42) 0%, rgba(180, 175, 165, 0.2) 50%, rgba(180, 175, 165, 0.04) 100%;
    --grad-light-hover: rgba(170, 160, 145, 0.55) 0%, rgba(160, 150, 135, 0.3) 50%, rgba(150, 140, 125, 0.08) 100%;
    --transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --color-glow: #b6b7ae;
    --color-glow-hover: #cfcfc9;
    --color-glow-text: #d4d5d4;
}

body.dark-mode {
    --color-bg: #0f0f0f;
    --color-text: #e8e8e8;
    --color-text-hover: #ff6b6b;
    --color-accent: rgba(220, 20, 60, 0.6);
    --grad-light: rgba(40, 35, 35, 0.6) 0%, rgba(30, 25, 25, 0.4) 50%, rgba(20, 20, 20, 0.2) 100%;
    --grad-light-hover: rgba(50, 40, 40, 0.7) 0%, rgba(40, 30, 30, 0.5) 50%, rgba(30, 25, 25, 0.3) 100%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: 8px;
}

@font-face {
    font-family: 'DeepSea';
    src: url('DeepSea.ttf') format('truetype');
    font-display: swap;
}

body {
    font-family: 'DeepSea', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-bg);
    min-height: 100vh;
    color: var(--color-text);
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: background 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    font-family: 'DeepSea', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.dark-mode {
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 50, 50, 0.03) 2px, rgba(255, 50, 50, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 50, 50, 0.03) 2px, rgba(255, 50, 50, 0.03) 4px),
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(178, 34, 34, 0.06) 0%, transparent 50%),
        #0f0f0f;
}

body.dark-mode::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(220, 20, 60, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(178, 34, 34, 0.06) 0%, transparent 25%),
        radial-gradient(circle at 50% 90%, rgba(139, 0, 0, 0.05) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
}

body.dark-mode .portfolio { position: relative; z-index: 1; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.portfolio { max-width: 900px; margin: 0 auto; padding: 120px 40px 160px; }

.navbar {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 16px 40px;
    background: radial-gradient(ellipse at center, var(--grad-light));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    transition: background var(--transition), box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(139, 115, 85, 0.06) 0%, rgba(139, 115, 85, 0.03) 50%, transparent 100%);
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.navbar:hover::before { opacity: 1; }

.navbar:hover {
    background: radial-gradient(ellipse at center, var(--grad-light-hover));
    box-shadow: 0 8px 24px rgba(139, 115, 85, 0.15);
}

.nav-container { display: flex; gap: 40px; align-items: center; }

.nav-link {
    font-size: 18px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-text-hover);
    transform: translateY(-1px);
}

body.dark-mode .navbar {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.5) 0%, rgba(20, 20, 20, 0.3) 50%, rgba(30, 30, 30, 0.5) 100%),
        radial-gradient(ellipse at center, rgba(139, 0, 0, 0.15) 0%, rgba(60, 20, 20, 0.1) 50%, rgba(30, 30, 30, 0.05) 100%);
    border: 1px solid rgba(220, 20, 60, 0.2);
}

body.dark-mode .navbar:hover {
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.6) 0%, rgba(25, 25, 25, 0.4) 50%, rgba(35, 35, 35, 0.6) 100%),
        radial-gradient(ellipse at center, rgba(178, 34, 34, 0.2) 0%, rgba(80, 25, 25, 0.15) 50%, rgba(40, 40, 40, 0.08) 100%);
}

body.dark-mode .nav-link { color: #e8e8e8; }
body.dark-mode .nav-link:hover { color: #ff6b6b; }

.theme-toggle,
.lang-toggle,
.menu-toggle,
.home-toggle,
.help-toggle {
    position: fixed;
    top: 30px;
    width: 50px;
    height: 50px;
    border: none;
    background: radial-gradient(circle at center, var(--grad-light));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    text-decoration: none;
}

.theme-toggle::before,
.lang-toggle::before,
.menu-toggle::before,
.home-toggle::before,
.help-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(139, 115, 85, 0.12) 0%, rgba(139, 115, 85, 0.06) 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.theme-toggle:hover::before,
.lang-toggle:hover::before,
.menu-toggle:hover::before,
.home-toggle:hover::before,
.help-toggle:hover::before { opacity: 1; }

.theme-toggle { right: 40px; }
.home-toggle { right: 110px; }
.help-toggle { right: 180px; }
.lang-toggle { left: 40px; }

body:not(:has(.home-toggle)) .help-toggle { right: 110px; }

.theme-toggle i,
.lang-toggle i,
.home-toggle i,
.help-toggle i {
    font-size: 18px;
    color: var(--color-text);
    transition: color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover,
.lang-toggle:hover,
.menu-toggle:hover,
.home-toggle:hover,
.help-toggle:hover {
    background: radial-gradient(circle at center, var(--grad-light-hover));
    box-shadow: 0 4px 16px rgba(139, 115, 85, 0.15);
    transform: translateY(-2px);
}

.theme-toggle:hover i,
.lang-toggle:hover i,
.home-toggle:hover i,
.help-toggle:hover i {
    color: var(--color-text-hover);
    transform: rotate(15deg) scale(1.1);
}

.help-toggle.help-disabled i { opacity: 0.5; }
.help-toggle.help-disabled::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--color-text);
    transform: rotate(45deg);
    border-radius: 2px;
    opacity: 0.6;
    pointer-events: none;
}

body.dark-mode .help-toggle.help-disabled::after {
    background: #ff8a8a;
}

.menu-toggle {
    left: 40px;
    display: none;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover span { background: var(--color-text-hover); }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

body.dark-mode .theme-toggle,
body.dark-mode .lang-toggle,
body.dark-mode .menu-toggle,
body.dark-mode .home-toggle,
body.dark-mode .help-toggle {
    background: radial-gradient(circle at center, rgba(40, 30, 30, 0.5) 0%, rgba(30, 25, 25, 0.3) 50%, rgba(20, 20, 20, 0.1) 100%);
    border: 1px solid rgba(220, 20, 60, 0.3);
}

body.dark-mode .theme-toggle i,
body.dark-mode .lang-toggle i,
body.dark-mode .home-toggle i,
body.dark-mode .help-toggle i { color: #ff6b6b; }
body.dark-mode .menu-toggle span { background: #ff6b6b; }

body.dark-mode .theme-toggle:hover,
body.dark-mode .lang-toggle:hover,
body.dark-mode .menu-toggle:hover,
body.dark-mode .home-toggle:hover,
body.dark-mode .help-toggle:hover {
    background: radial-gradient(circle at center, rgba(50, 35, 35, 0.6) 0%, rgba(40, 30, 30, 0.4) 50%, rgba(30, 25, 25, 0.2) 100%);
    box-shadow: 0 0 0 2px rgba(220, 20, 60, 0.6), 0 0 20px rgba(220, 20, 60, 0.3);
    border: 1px solid rgba(220, 20, 60, 0.5);
}

.section-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 1px;
}

body.dark-mode .section-title { text-shadow: 0 0 30px rgba(220, 20, 60, 0.3); }

.about-section,
.work-section,
.contact-section {
    padding: 100px 0 40px;
    scroll-margin-top: 120px;
}

.about-section,
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer {
    position: fixed;
    bottom: 30px;
    left: 40px;
    right: 40px;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 100%;
    padding: 18px 40px;
    background: radial-gradient(ellipse at center, var(--grad-light));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    transition: background var(--transition), box-shadow 0.3s ease;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.footer-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(139, 115, 85, 0.06) 0%, rgba(139, 115, 85, 0.03) 50%, transparent 100%);
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.footer-container:hover::before { opacity: 1; }

.footer-container:hover {
    background: radial-gradient(ellipse at center, var(--grad-light-hover));
    box-shadow: 0 8px 24px rgba(139, 115, 85, 0.15);
}

.footer-year { font-variant-numeric: tabular-nums; justify-self: start; }
.footer-brand { letter-spacing: 1px; font-weight: 600; justify-self: center; }
.footer-link {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
    justify-self: end;
}
.footer-link:hover { color: var(--color-text-hover); }

body.dark-mode .footer-container {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.5) 0%, rgba(20, 20, 20, 0.3) 50%, rgba(30, 30, 30, 0.5) 100%),
        radial-gradient(ellipse at center, rgba(139, 0, 0, 0.15) 0%, rgba(60, 20, 20, 0.1) 50%, rgba(30, 30, 30, 0.05) 100%);
    border: 1px solid rgba(220, 20, 60, 0.2);
}

body.dark-mode .footer-container:hover {
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.6) 0%, rgba(25, 25, 25, 0.4) 50%, rgba(35, 35, 35, 0.6) 100%),
        radial-gradient(ellipse at center, rgba(178, 34, 34, 0.2) 0%, rgba(80, 25, 25, 0.15) 50%, rgba(40, 40, 40, 0.08) 100%);
}

body.dark-mode .footer-link:hover { color: #ff6b6b; }

.notification {
    position: fixed;
    top: 100px;
    right: 40px;
    padding: 16px 24px;
    background: radial-gradient(ellipse at center, rgba(180, 175, 165, 0.95) 0%, rgba(180, 175, 165, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(139, 115, 85, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    max-width: 380px;
    border-left: 4px solid var(--color-accent);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.notification-error { border-left-color: #c0392b; }
.notification.notification-warning { border-left-color: #d68910; }

body.dark-mode .notification {
    background: radial-gradient(ellipse at center, rgba(40, 35, 35, 0.95) 0%, rgba(30, 25, 25, 0.85) 100%);
    color: #e8e8e8;
    border-left-color: rgba(220, 20, 60, 0.8);
}

body.dark-mode .notification.notification-error { border-left-color: #ff6b6b; }

.save-indicator {
    position: fixed;
    bottom: 100px;
    right: 40px;
    padding: 12px 20px;
    background: radial-gradient(ellipse at center, rgba(180, 175, 165, 0.95) 0%, rgba(180, 175, 165, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(139, 115, 85, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-indicator.show { opacity: 1; transform: translateY(0); }
.save-indicator i { color: var(--color-accent); }

body.dark-mode .save-indicator {
    background: radial-gradient(ellipse at center, rgba(40, 35, 35, 0.95) 0%, rgba(30, 25, 25, 0.85) 100%);
    color: #e8e8e8;
}

body.dark-mode .save-indicator i { color: #ff6b6b; }

.app-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.app-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.app-modal {
    background: radial-gradient(ellipse at center, rgba(232, 227, 212, 0.98), rgba(220, 215, 200, 0.95));
    border-radius: 28px;
    padding: 36px 38px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(40, 28, 18, 0.3);
    transform: scale(0.92) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-modal-overlay.show .app-modal { transform: scale(1) translateY(0); }

.app-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(180, 175, 165, 0.5) 0%, rgba(180, 175, 165, 0.25) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-modal-icon i {
    font-size: 24px;
    color: var(--color-text);
}

.app-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 12px;
    text-align: center;
}

.app-modal-message {
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-text);
    opacity: 0.85;
    margin: 0 0 28px;
    text-align: center;
}

.app-modal-input {
    display: block;
    width: 100%;
    padding: 14px 18px;
    margin: 0 0 22px;
    border: 1px solid rgba(139, 115, 85, 0.25);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.4);
    color: var(--color-text);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.app-modal-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.6);
}

body.dark-mode .app-modal-input {
    background: rgba(20, 15, 15, 0.5);
    border-color: rgba(220, 20, 60, 0.3);
    color: #e8e8e8;
}

body.dark-mode .app-modal-input:focus {
    border-color: rgba(220, 20, 60, 0.7);
    background: rgba(30, 20, 20, 0.6);
}

.app-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-modal-btn {
    flex: 1 1 auto;
    min-width: 120px;
    padding: 13px 22px;
    background: radial-gradient(ellipse at center, rgba(180, 175, 165, 0.45) 0%, rgba(180, 175, 165, 0.22) 100%);
    border: none;
    border-radius: 22px;
    color: var(--color-text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.app-modal-btn:hover {
    background: radial-gradient(ellipse at center, rgba(170, 160, 145, 0.6) 0%, rgba(160, 150, 135, 0.32) 100%);
    color: var(--color-text-hover);
    transform: translateY(-1px);
}

.app-modal-btn-primary {
    background: radial-gradient(ellipse at center, rgba(139, 115, 85, 0.55) 0%, rgba(139, 115, 85, 0.3) 100%);
}

.app-modal-btn-primary:hover {
    background: radial-gradient(ellipse at center, rgba(139, 115, 85, 0.7) 0%, rgba(139, 115, 85, 0.45) 100%);
}

.app-modal-btn-danger {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.18) 0%, rgba(220, 20, 60, 0.08) 100%);
}

.app-modal-btn-danger:hover {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.32) 0%, rgba(220, 20, 60, 0.16) 100%);
    color: rgba(220, 20, 60, 0.95);
}

body.dark-mode .app-modal {
    background: radial-gradient(ellipse at center, rgba(30, 25, 25, 0.98), rgba(20, 15, 15, 0.95));
    border: 1px solid rgba(220, 20, 60, 0.25);
    color: #e8e8e8;
}

body.dark-mode .app-modal-icon {
    background: radial-gradient(circle at center, rgba(40, 30, 30, 0.7) 0%, rgba(30, 25, 25, 0.4) 100%);
    border: 1px solid rgba(220, 20, 60, 0.3);
}

body.dark-mode .app-modal-btn { border: 1px solid rgba(220, 20, 60, 0.2); }
body.dark-mode .app-modal-btn:hover {
    border-color: rgba(220, 20, 60, 0.4);
    color: #ff6b6b;
}

body.dark-mode .app-modal-btn-primary {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.4) 0%, rgba(178, 34, 34, 0.25) 100%);
}

body.dark-mode .app-modal-btn-danger {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.28) 0%, rgba(178, 34, 34, 0.14) 100%);
}

body.dark-mode .app-modal-btn-danger:hover { color: #ff8a8a; }

.storage-usage-widget {
    padding: 22px 28px;
    background: radial-gradient(ellipse at center, rgba(180, 175, 165, 0.3) 0%, rgba(180, 175, 165, 0.12) 100%);
    border-radius: 20px;
    margin-bottom: 20px;
}

.storage-usage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.storage-usage-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.storage-usage-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
}

.storage-usage-bar {
    width: 100%;
    height: 8px;
    background: rgba(139, 115, 85, 0.15);
    border-radius: 6px;
    overflow: hidden;
}

.storage-usage-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(139, 115, 85, 0.55), rgba(139, 115, 85, 0.8));
    border-radius: 6px;
    transition: width 0.6s ease, background 0.3s ease;
}

.storage-usage-fill.warning {
    background: linear-gradient(90deg, rgba(255, 165, 0, 0.6), rgba(255, 165, 0, 0.8));
}

.storage-usage-fill.danger {
    background: linear-gradient(90deg, rgba(220, 20, 60, 0.6), rgba(220, 20, 60, 0.85));
}

body.dark-mode .storage-usage-widget {
    background: rgba(40, 35, 35, 0.4);
    border: 1px solid rgba(220, 20, 60, 0.15);
}

body.dark-mode .storage-usage-bar { background: rgba(220, 20, 60, 0.12); }

body.dark-mode .storage-usage-fill {
    background: linear-gradient(90deg, rgba(220, 20, 60, 0.5), rgba(220, 20, 60, 0.8));
}

@media (max-width: 1024px) {
    .theme-toggle, .lang-toggle, .home-toggle, .help-toggle { top: 25px; width: 48px; height: 48px; }
    .theme-toggle { right: 30px; }
    .home-toggle { right: 90px; }
    .help-toggle { right: 150px; }
    body:not(:has(.home-toggle)) .help-toggle { right: 90px; }
    .lang-toggle { left: 30px; }
    .theme-toggle i, .lang-toggle i, .home-toggle i, .help-toggle i { font-size: 17px; }
    .portfolio { padding: 100px 30px 130px; }
    .site-footer { bottom: 25px; left: 30px; right: 30px; }
    .footer-container { padding: 16px 32px; }
    .section-title { font-size: 42px; margin-bottom: 60px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; top: 15px; left: 20px; width: 44px; height: 44px; }
    .menu-toggle span { width: 20px; }
    .lang-toggle { top: 15px; left: 70px; width: 44px; height: 44px; }
    .lang-toggle i { font-size: 16px; }
    .home-toggle { top: 15px; right: 75px; width: 44px; height: 44px; }
    .home-toggle i { font-size: 16px; }
    .help-toggle { top: 15px; right: 130px; width: 44px; height: 44px; }
    body:not(:has(.home-toggle)) .help-toggle { right: 75px; }
    .help-toggle i { font-size: 16px; }
    .theme-toggle { top: 15px; right: 20px; width: 44px; height: 44px; }
    .theme-toggle i { font-size: 16px; }
    .navbar {
        top: 75px; left: 20px; transform: translateX(-120%);
        min-width: 200px; padding: 30px 35px; border-radius: 30px;
        transition: transform 0.4s ease, opacity 0.4s ease;
        opacity: 0; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
    .navbar.active { transform: translateX(0); opacity: 1; }
    body.dark-mode .navbar { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
    .nav-container { flex-direction: column; gap: 20px; align-items: flex-start; }
    .nav-link { font-size: 18px; width: 100%; padding: 8px 0; }
    .nav-link:hover { transform: translateX(5px); }
    .portfolio { padding: 100px 24px 120px; }
    .site-footer { bottom: 20px; left: 20px; right: 20px; }
    .footer-container { padding: 14px 22px; border-radius: 40px; font-size: 13px; gap: 12px; }
    .section-title { font-size: 36px; margin-bottom: 50px; }
    .about-section, .work-section, .contact-section { padding: 80px 0 40px; }
}

@media (max-width: 600px) {
    .footer-container { font-size: 12px; padding: 12px 18px; }
    .footer-brand { letter-spacing: 0.5px; }

    .help-toggle { display: none; }
}

@media (max-width: 480px) {
    .menu-toggle { top: 10px; left: 12px; width: 40px; height: 40px; gap: 4px; }
    .menu-toggle span { width: 18px; }
    .lang-toggle { top: 10px; left: 62px; width: 40px; height: 40px; }
    .lang-toggle i { font-size: 14px; }
    .home-toggle { top: 10px; right: 62px; width: 40px; height: 40px; }
    .home-toggle i { font-size: 14px; }
    .theme-toggle { top: 10px; right: 12px; width: 40px; height: 40px; }
    .theme-toggle i { font-size: 14px; }
    .navbar { top: 65px; left: 12px; padding: 25px 30px; border-radius: 25px; }
    .nav-container { gap: 10px; }
    .nav-link { font-size: 12px; }
    .portfolio { padding: 90px 16px 110px; }
    .site-footer { bottom: 12px; left: 12px; right: 12px; }
    .footer-container { padding: 10px 14px; border-radius: 24px; font-size: 11px; gap: 8px; grid-template-columns: 1fr 1fr; }
    .footer-brand { display: none; }
    .section-title { font-size: 30px; margin-bottom: 40px; }
    .about-section, .work-section, .contact-section { padding: 60px 0 30px; }
}

@media (max-width: 360px) {
    .menu-toggle { top: 8px; left: 10px; width: 36px; height: 36px; gap: 3px; }
    .menu-toggle span { width: 16px; }
    .lang-toggle { top: 8px; left: 52px; width: 36px; height: 36px; }
    .lang-toggle i { font-size: 13px; }
    .home-toggle { top: 8px; right: 52px; width: 36px; height: 36px; }
    .home-toggle i { font-size: 13px; }
    .theme-toggle { top: 8px; right: 10px; width: 36px; height: 36px; }
    .theme-toggle i { font-size: 13px; }
    .navbar { top: 58px; left: 10px; padding: 20px 25px; border-radius: 20px; }
    .nav-container { gap: 16px; }
    .nav-link { font-size: 11px; }
    .portfolio { padding: 85px 12px 100px; }
    .site-footer { bottom: 10px; left: 10px; right: 10px; }
    .footer-container { padding: 9px 12px; font-size: 10px; gap: 6px; }
    .section-title { font-size: 26px; }
}

.undo-toast {
    position: fixed;
    bottom: 100px;
    right: 40px;
    min-width: 280px;
    max-width: 380px;
    padding: 14px 16px 14px 22px;
    background: radial-gradient(ellipse at center, rgba(180, 175, 165, 0.95) 0%, rgba(180, 175, 165, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 22px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(139, 115, 85, 0.2);
    border-left: 4px solid var(--color-accent);
    z-index: 10001;
    opacity: 0;
    transform: translateX(400px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.undo-toast.show { opacity: 1; transform: translateX(0); }

.undo-toast-message {
    flex: 1;
    line-height: 1.4;
}

.undo-toast-btn {
    flex: 0 0 auto;
    padding: 8px 16px;
    background: radial-gradient(ellipse at center, rgba(139, 115, 85, 0.5) 0%, rgba(139, 115, 85, 0.25) 100%);
    border: none;
    border-radius: 16px;
    color: var(--color-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.undo-toast-btn:hover {
    background: radial-gradient(ellipse at center, rgba(139, 115, 85, 0.7) 0%, rgba(139, 115, 85, 0.4) 100%);
    color: var(--color-text-hover);
    transform: translateY(-1px);
}

.undo-toast-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--color-accent);
    opacity: 0.55;
    pointer-events: none;
    transition: width 0.05s linear;
}

body.dark-mode .undo-toast {
    background: radial-gradient(ellipse at center, rgba(40, 35, 35, 0.95) 0%, rgba(30, 25, 25, 0.85) 100%);
    color: #e8e8e8;
    border-left-color: rgba(220, 20, 60, 0.8);
}

body.dark-mode .undo-toast-btn {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.4) 0%, rgba(178, 34, 34, 0.2) 100%);
    border: 1px solid rgba(220, 20, 60, 0.3);
}

body.dark-mode .undo-toast-btn:hover {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.55) 0%, rgba(178, 34, 34, 0.3) 100%);
    color: #ff8a8a;
}

@media (max-width: 600px) {
    .undo-toast {
        right: 16px;
        left: 16px;
        bottom: 80px;
        min-width: 0;
        max-width: none;
    }
}

.theme-toggle.theme-auto::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 4px rgba(139, 115, 85, 0.4);
}

body.dark-mode .theme-toggle.theme-auto::after {
    background: rgba(255, 107, 107, 0.9);
    box-shadow: 0 0 6px rgba(220, 20, 60, 0.5);
}

.onboarding-hint {
    position: absolute;
    z-index: 10000;
    max-width: 320px;
    padding: 18px 20px;
    background: radial-gradient(ellipse at center, rgba(232, 227, 212, 0.98), rgba(220, 215, 200, 0.95));
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(40, 28, 18, 0.25);
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.onboarding-hint.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.onboarding-hint-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.onboarding-hint-title {
    font-size: 15px;
    font-weight: 600;
}

.onboarding-hint-counter {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 12px;
    background: rgba(139, 115, 85, 0.18);
    color: var(--color-text);
    opacity: 0.8;
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
}

body.dark-mode .onboarding-hint-counter {
    background: rgba(220, 20, 60, 0.18);
    color: #ff8a8a;
}

.onboarding-hint-message {
    opacity: 0.85;
    margin-bottom: 14px;
}

.onboarding-hint-actions {
    display: flex;
    justify-content: flex-end;
}

.onboarding-hint-btn {
    padding: 8px 18px;
    background: radial-gradient(ellipse at center, rgba(139, 115, 85, 0.5) 0%, rgba(139, 115, 85, 0.25) 100%);
    border: none;
    border-radius: 16px;
    color: var(--color-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.onboarding-hint-btn:hover {
    background: radial-gradient(ellipse at center, rgba(139, 115, 85, 0.7) 0%, rgba(139, 115, 85, 0.4) 100%);
    color: var(--color-text-hover);
    transform: translateY(-1px);
}

body.dark-mode .onboarding-hint {
    background: radial-gradient(ellipse at center, rgba(30, 25, 25, 0.98), rgba(20, 15, 15, 0.95));
    border: 1px solid rgba(220, 20, 60, 0.25);
    color: #e8e8e8;
}

body.dark-mode .onboarding-hint-btn {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.4) 0%, rgba(178, 34, 34, 0.2) 100%);
    border: 1px solid rgba(220, 20, 60, 0.3);
}

body.dark-mode .onboarding-hint-btn:hover {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.55) 0%, rgba(178, 34, 34, 0.3) 100%);
    color: #ff8a8a;
}

.bulk-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(139, 115, 85, 0.5);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    position: relative;
    flex: 0 0 auto;
}

.bulk-checkbox:hover {
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.bulk-checkbox:checked {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.bulk-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

body.dark-mode .bulk-checkbox {
    background: rgba(20, 15, 15, 0.5);
    border-color: rgba(220, 20, 60, 0.5);
}

body.dark-mode .bulk-checkbox:hover {
    border-color: rgba(220, 20, 60, 0.85);
}

body.dark-mode .bulk-checkbox:checked {
    background: rgba(220, 20, 60, 0.7);
    border-color: rgba(220, 20, 60, 0.85);
}

.bulk-bar {
    position: sticky;
    top: 100px;
    z-index: 50;
    display: none;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    margin-bottom: 20px;
    background: radial-gradient(ellipse at center, rgba(180, 175, 165, 0.5) 0%, rgba(180, 175, 165, 0.25) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 22px;
    box-shadow: 0 6px 18px rgba(139, 115, 85, 0.15);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.bulk-bar.active { display: flex; }

.bulk-bar-count {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.bulk-bar button {
    padding: 9px 16px;
    background: radial-gradient(ellipse at center, rgba(180, 175, 165, 0.45) 0%, rgba(180, 175, 165, 0.22) 100%);
    border: none;
    border-radius: 16px;
    color: var(--color-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bulk-bar button:hover {
    background: radial-gradient(ellipse at center, rgba(170, 160, 145, 0.6) 0%, rgba(160, 150, 135, 0.32) 100%);
    color: var(--color-text-hover);
    transform: translateY(-1px);
}

.bulk-bar .bulk-delete {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.18) 0%, rgba(220, 20, 60, 0.08) 100%);
}

.bulk-bar .bulk-delete:hover {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.32) 0%, rgba(220, 20, 60, 0.16) 100%);
    color: rgba(220, 20, 60, 0.95);
}

body.dark-mode .bulk-bar {
    background: radial-gradient(ellipse at center, rgba(40, 30, 30, 0.6) 0%, rgba(30, 25, 25, 0.35) 100%);
    border: 1px solid rgba(220, 20, 60, 0.25);
}

body.dark-mode .bulk-bar button {
    background: radial-gradient(ellipse at center, rgba(40, 30, 30, 0.5) 0%, rgba(30, 25, 25, 0.3) 100%);
    border: 1px solid rgba(220, 20, 60, 0.2);
}

body.dark-mode .bulk-bar button:hover {
    border-color: rgba(220, 20, 60, 0.4);
    color: #ff6b6b;
}

body.dark-mode .bulk-bar .bulk-delete {
    background: radial-gradient(ellipse at center, rgba(220, 20, 60, 0.3) 0%, rgba(178, 34, 34, 0.15) 100%);
}

body.dark-mode .bulk-bar .bulk-delete:hover {
    color: #ff8a8a;
}

@media (max-width: 600px) {
    .bulk-bar {
        top: 80px;
        padding: 10px 14px;
        gap: 8px;
        flex-wrap: wrap;
    }
    .bulk-bar-count { width: 100%; }
}


/* Glow button — 1:1 from stemplayer.com (Reserve $600 component).
   Mark up as:
       <button type="button" class="rect-glow-button__wrapper">
           <span class="rect-glow-button"><span>Reserve $600</span></span>
       </button>
   Optional modifier: add "rect-glow-button__wrapper--inverted-glow" on the wrapper
   for a light halo with dark text.
*/
:root {
    --rgb-color-main: #868784;
    --rgb-color-main-hover: #6b6c69;
    --rgb-color-glow: #b6b7ae;
    --rgb-color-glow-hover: #cfcfc9;
    --rgb-color-glow-text: #d4d5d4;
}

body.dark-mode {
    --rgb-color-main: #c2c3c0;
    --rgb-color-main-hover: #e6e7e4;
    --rgb-color-glow-text: #f5f5f3;
}

.rect-glow-button__wrapper {
    padding: 8px 20px;
    margin: 0 5px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
}

.rect-glow-button__wrapper--circle {
    padding: 10px;
}

.rect-glow-button__wrapper--circle .rect-glow-button {
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rect-glow-button__wrapper--circle::after {
    border-radius: 50%;
    top: 0;
}

.rect-glow-button__wrapper .rect-glow-button {
    text-align: center;
    margin: 0 auto;
    padding-top: 0;
    min-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rect-glow-button__wrapper .rect-glow-button__fixed-height {
    height: 20px;
}

.rect-glow-button__wrapper .rect-glow-button__sold-out {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75.5px;
    height: 41px;
}

@media only screen and (min-width: 400px) {
    .rect-glow-button__wrapper .rect-glow-button__sold-out {
        width: 124px;
        height: auto;
    }
}

.rect-glow-button__wrapper .rect-glow-button__disabled {
    opacity: 0.5;
    pointer-events: none;
}

.rect-glow-button__wrapper .rect-glow-button::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    opacity: 0.6;
    filter: blur(5px);
    border-radius: 18px;
    background-image: none;
    background-repeat: no-repeat;
    background-color: var(--rgb-color-main);
    transition: background-color 0.2s ease-in-out;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

.rect-glow-button__wrapper .rect-glow-button__circle::after {
    border-radius: 50%;
    top: 0;
}

.rect-glow-button__wrapper .rect-glow-button input,
.rect-glow-button__wrapper .rect-glow-button span,
.rect-glow-button__wrapper .rect-glow-button svg {
    z-index: 10;
    position: relative;
    font-size: 17px;
    color: var(--rgb-color-glow-text);
}

@media only screen and (min-width: 400px) {
    .rect-glow-button__wrapper .rect-glow-button input,
    .rect-glow-button__wrapper .rect-glow-button span,
    .rect-glow-button__wrapper .rect-glow-button svg {
        white-space: nowrap;
    }
}

.rect-glow-button__wrapper .rect-glow-button ::placeholder {
    color: var(--rgb-color-glow-text);
    opacity: 1;
}

.rect-glow-button__wrapper .rect-glow-button input {
    background: rgba(0, 0, 0, 0);
}

.rect-glow-button__wrapper .rect-glow-button:hover::after {
    background: var(--rgb-color-main-hover);
}

.rect-glow-button__wrapper .rect-glow-button:hover svg {
    fill: #fff;
    opacity: 0.9;
}

.rect-glow-button__wrapper .rect-glow-button:hover input,
.rect-glow-button__wrapper .rect-glow-button:hover span {
    color: var(--rgb-color-glow-text);
}

.rect-glow-button__wrapper .rect-glow-button__inactive:hover svg {
    fill: #fff;
    opacity: 0.9;
}

.rect-glow-button__wrapper .rect-glow-button__inactive:hover svg path {
    stroke: #fff;
}

.rect-glow-button__wrapper .rect-glow-button__inactive span {
    color: var(--rgb-color-main);
}

.rect-glow-button__wrapper .rect-glow-button__inactive::after {
    background: 0 0;
}

.rect-glow-button__wrapper .rect-glow-button--loading input,
.rect-glow-button__wrapper .rect-glow-button--loading span,
.rect-glow-button__wrapper .rect-glow-button--loading svg {
    opacity: 0;
}

.rect-glow-button__wrapper--inverted-glow .rect-glow-button input,
.rect-glow-button__wrapper--inverted-glow .rect-glow-button span,
.rect-glow-button__wrapper--inverted-glow .rect-glow-button svg {
    z-index: 10;
    font-size: 17px;
    color: var(--rgb-color-main);
}

.rect-glow-button__wrapper--inverted-glow .rect-glow-button--loading input,
.rect-glow-button__wrapper--inverted-glow .rect-glow-button--loading span,
.rect-glow-button__wrapper--inverted-glow .rect-glow-button--loading svg {
    opacity: 0;
}

.rect-glow-button__wrapper--inverted-glow .rect-glow-button::after {
    background: var(--rgb-color-glow-text);
}

.rect-glow-button__wrapper--inverted-glow .rect-glow-button:hover::after {
    background: var(--rgb-color-glow-hover);
}

.rect-glow-button__wrapper--inverted-glow .rect-glow-button:hover input,
.rect-glow-button__wrapper--inverted-glow .rect-glow-button:hover span {
    color: var(--rgb-color-main-hover);
}


/* ========================================
   RECT GLOW BUTTON COMPONENT (STEM-inspired)
   ======================================== */

.rect-glow-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'DeepSea', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-glow);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 20px rgba(182, 183, 174, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.rect-glow-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 50%, 
        rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.rect-glow-button:hover {
    background: var(--color-glow-hover);
    color: var(--color-text-hover);
    box-shadow: 
        0 0 30px rgba(207, 207, 201, 0.5),
        0 0 60px rgba(207, 207, 201, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.rect-glow-button:hover::before {
    opacity: 1;
}

.rect-glow-button:active {
    transform: translateY(0);
    box-shadow: 
        0 0 20px rgba(182, 183, 174, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.rect-glow-button:focus-visible {
    outline: 2px solid var(--color-glow-hover);
    outline-offset: 4px;
}

.rect-glow-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.rect-glow-button:hover i {
    transform: scale(1.1);
}

/* Variantes de tamanho */
.rect-glow-button.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.rect-glow-button.btn-sm i {
    font-size: 16px;
}

.rect-glow-button.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.rect-glow-button.btn-lg i {
    font-size: 20px;
}

/* Variantes de cor */
.rect-glow-button.btn-primary {
    background: var(--color-glow);
    box-shadow: 
        0 0 20px rgba(182, 183, 174, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.rect-glow-button.btn-primary:hover {
    background: var(--color-glow-hover);
    box-shadow: 
        0 0 30px rgba(207, 207, 201, 0.5),
        0 0 60px rgba(207, 207, 201, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.15);
}

.rect-glow-button.btn-danger {
    background: #d4a5a5;
    box-shadow: 
        0 0 20px rgba(212, 165, 165, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.rect-glow-button.btn-danger:hover {
    background: #e0b5b5;
    box-shadow: 
        0 0 30px rgba(224, 181, 181, 0.5),
        0 0 60px rgba(224, 181, 181, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Dark mode */
body.dark-mode .rect-glow-button {
    color: #e8e8e8;
    background: rgba(182, 183, 174, 0.15);
    border: 1px solid rgba(182, 183, 174, 0.3);
    box-shadow: 
        0 0 20px rgba(182, 183, 174, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .rect-glow-button:hover {
    background: rgba(207, 207, 201, 0.25);
    border-color: rgba(207, 207, 201, 0.5);
    color: #ff6b6b;
    box-shadow: 
        0 0 30px rgba(207, 207, 201, 0.4),
        0 0 60px rgba(207, 207, 201, 0.2),
        0 6px 16px rgba(0, 0, 0, 0.4);
}

body.dark-mode .rect-glow-button.btn-danger {
    background: rgba(212, 165, 165, 0.15);
    border-color: rgba(212, 165, 165, 0.3);
    box-shadow: 
        0 0 20px rgba(212, 165, 165, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .rect-glow-button.btn-danger:hover {
    background: rgba(224, 181, 181, 0.25);
    border-color: rgba(224, 181, 181, 0.5);
    box-shadow: 
        0 0 30px rgba(224, 181, 181, 0.4),
        0 0 60px rgba(224, 181, 181, 0.2),
        0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Botão desabilitado */
.rect-glow-button:disabled,
.rect-glow-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Botão full-width */
.rect-glow-button.btn-block {
    width: 100%;
    display: flex;
}

/* Media queries para responsividade */
@media (max-width: 768px) {
    .rect-glow-button {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .rect-glow-button i {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .rect-glow-button {
        padding: 11px 20px;
        font-size: 14px;
    }
    
    .rect-glow-button i {
        font-size: 16px;
    }
}
