:root {
    --bg-color: #050505;
    --accent-1: #ff0080;
    --accent-2: #7928ca;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

.hidden {
    display: none !important;
}

.full-width {
    width: 100%;
}

/* Animated Background Gradient */
.bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(120px);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 10s infinite alternate ease-in-out;
}

.bg-glow-2 {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
    animation: fly 15s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
}

@keyframes fly {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100px, 50px);
    }
}

/* Glassmorphism Container */
.container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.23, 1, 0.32, 1);
    width: 95%;
    max-width: 1400px;
    margin: 6rem auto 2rem;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    position: fixed;
    top: 2rem;
    left: 2rem;
    margin: 0;
    z-index: 2000;
}

.header-logo {
    height: 90px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.header-logo:hover {
    transform: scale(1.8) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(255, 0, 128, 0.6));
}

p {
    font-weight: 300;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Interaction */
.container:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
    transition: all 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .header-logo {
        height: 35px;
    }

    .container {
        padding: 3rem 2rem;
        border-radius: 30px;
    }
}

/* Buttons */
.btn-primary,
.btn-secondary {
    height: 50px;
    padding: 0 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    box-shadow: 0 10px 20px rgba(255, 0, 128, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 0, 128, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Auth Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

.auth-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 30px;
    width: 100%;
    max-width: 400px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    margin: auto;
}

.overlay.active .auth-card {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.close-btn:hover {
    opacity: 1;
}

.auth-card h2 {
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0;
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.password-wrapper {
    display: flex;
    align-items: center;
}

.toggle-eye {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 10;
}

.toggle-eye:hover {
    color: white;
}

.toggle-eye svg {
    width: 20px;
    height: 20px;
}

input {
    width: 100%;
    height: 50px;
    padding: 0 1.5rem;
    padding-right: 3.5rem;
    /* Space for the eye icon */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: white;
    outline: none;
    transition: all 0.3s;
}

input:focus {
    border-color: var(--accent-1);
    background: rgba(255, 255, 255, 0.08);
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-footer-small {
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    text-align: right;
}

.auth-footer a,
.auth-footer-small a {
    color: var(--accent-1);
    text-decoration: none;
    font-weight: 300;
}

.auth-footer a:hover,
.auth-footer-small a:hover {
    text-decoration: underline;
}

/* Model Collection */
.collection-section {
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.model-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .model-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .model-grid.cols-2,
    .cols-2 .model-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .model-grid.cols-3,
    .cols-3 .model-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .model-grid.cols-4,
    .cols-4 .model-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    /* Adjust card padding for denser grids */
    .cols-3 .model-card,
    .model-grid.cols-3 .model-card,
    .cols-4 .model-card,
    .model-grid.cols-4 .model-card {
        padding: 1.5rem;
    }

    .cols-4 .model-card-image,
    .model-grid.cols-4 .model-card-image {
        height: 160px;
    }
}

.model-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 25px;
    text-align: left;
    transition: all 0.3s;
}

.model-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-1);
}

.model-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    overflow-wrap: break-word;
}

.model-card p,
.model-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.model-card-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.model-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-card-image .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.2;
}

.model-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.model-card-title {
    flex: 1;
    margin-right: 1rem;
    text-transform: capitalize;
}

.model-card-footer {
    margin-top: 1rem;
    font-size: 0.7rem;
    opacity: 0.5;
}

.model-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--accent-1);
    font-weight: 300;
}

.category-badge {
    background: rgba(255, 0, 128, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 0, 128, 0.2);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.header-actions-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.grid-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 3px;
}

.grid-btn {
    background: transparent;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.grid-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
}

.grid-btn.active {
    background: var(--accent-1);
    color: white;
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.4);
}

.add-model-btn {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border: none;
    color: #fff;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    font-weight: 300;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group-flex {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.input-group-flex input {
    flex: 1;
}

.btn-fetch {
    padding: 0 1.5rem !important;
    border-radius: 15px !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
}

.fetch-status {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: left;
    opacity: 0.85;
    display: none;
}

.group-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s;
}

.group-toggle-btn.active {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
}

.group-header-container {
    grid-column: 1 / -1;
    width: 100%;
}

.group-header {
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--accent-1);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

/* Dropdown Styles */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 1001;
    display: none;
    flex-direction: column;
    animation: dropdownIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.dropdown-menu.active {
    display: flex;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    color: white;
    font-size: 0.85rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border: none;
    background: transparent;
    width: 100%;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    padding-left: 1.5rem;
}

.dropdown-item.active {
    color: var(--accent-1);
    font-weight: 500;
}

.dropdown-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.5rem 0.75rem;
}

.dropdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.4;
    padding: 0.5rem 1.25rem 0.25rem;
    font-weight: 700;
}

/* Active Filters Row */
.active-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: -1rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.active-filters-row.hidden {
    display: none;
}

.filter-chip {
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid rgba(255, 0, 128, 0.3);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: chipIn 0.3s ease-out;
}

.filter-chip span {
    font-weight: 300;
    opacity: 0.6;
}

.filter-chip strong {
    font-weight: 500;
}

.remove-filter {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.remove-filter:hover {
    opacity: 1;
}

@keyframes chipIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tag Filters */
.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
}

.tag-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 300;
}

.tag-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.tag-btn.active {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.3);
}

.view-profile-btn {
    display: flex;
    width: 100%;
    text-decoration: none;
    font-size: 0.8rem;
    margin-top: 1rem;
    line-height: 1;
}

.show-more-btn {
    grid-column: 1 / -1;
    margin-top: 1rem;
    height: 40px !important;
    font-size: 0.8rem !important;
    opacity: 0.8;
}

.show-more-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}


.empty-msg {
    grid-column: 1 / -1;
    opacity: 0.5;
    font-weight: 300;
}

.reset-title {
    margin-bottom: 2rem;
    font-weight: 300;
}

.auth-promo {
    margin-top: 4rem;
}

.promo-text {
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.image-preview-container {
    width: 100%;
    height: 150px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.toggle-auth-mode {
    display: inline-block;
    margin-top: 0.5rem;
}

.metadata-card {
    max-width: 600px;
    width: 90%;
}

.metadata-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.8rem;
    overflow-x: auto;
    max-height: 400px;
    text-align: left;
    margin-top: 1rem;
    white-space: pre-wrap;
}

.add-model-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.6);
    filter: brightness(1.1);
}

.model-card .actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-card:hover .actions {
    opacity: 1;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-delete:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.4);
}

.btn-icon svg {
    width: 16px;
    height: 16px;
}

/* Toast Notifications */
.notification-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    border-radius: 18px;
    color: white;
    font-weight: 300;
    font-size: 0.9rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.toast.active {
    transform: translateX(0);
}

.toast.success {
    border-left: 5px solid var(--accent-1);
}

.toast.error {
    border-left: 5px solid #ff4d4d;
}

/* User Nav & Dropdown */
.user-nav {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.user-menu-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border-color: var(--accent-1);
}

.btn-login-nav {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login-nav:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
    transform: translateY(-2px);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    min-width: 220px;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    display: none;
    flex-direction: column;
    animation: dropdownIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-dropdown.active {
    display: flex;
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 0.5rem;
}

.dropdown-header span {
    font-size: 0.75rem;
    opacity: 0.6;
    font-weight: 300;
    word-break: break-all;
}

.dropdown-item {
    background: transparent;
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-1);
}

/* Grain texture */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Completed Status Styles */
.model-card.completed {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.15));
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.model-card.completed::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 2s 5 forwards;
    /* 10 seconds total (5 iterations of 2s) */
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.card-actions-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.card-actions-row .view-profile-btn {
    margin-top: 0;
    flex: 1;
}

.btn-check {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-check:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: #10b981;
    transform: scale(1.1);
}

.btn-check.active {
    background: #10b981;
    color: white;
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.btn-check.active svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.btn-check svg {
    width: 24px;
    height: 24px;
}

.local-storage-banner {
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid rgba(255, 0, 128, 0.3);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeIn 0.5s ease;
}

.sync-link {
    background: none;
    border: none;
    color: var(--accent-1);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
    padding: 0;
    margin-left: 0.5rem;
}

.sync-link:hover {
    color: white;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2.5rem;
    width: 100%;
    animation: fadeIn 0.8s ease forwards;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

#progress-percent {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.progress-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-1), #10b981);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transition: width 1.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Age Verification Modal */
.age-overlay {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(40px);
    z-index: 9999;
    padding: 1rem;
}

.age-card {
    max-width: 450px;
    text-align: center;
    border: 1px solid rgba(255, 0, 128, 0.3);
    box-shadow: 0 0 50px rgba(255, 0, 128, 0.15);
}

.age-icon {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-1);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 10px 20px;
    border: 3px solid var(--accent-1);
    border-radius: 15px;
    animation: pulse 2s infinite ease-in-out;
}

.age-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-transform: none;
}

.age-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.age-btn {
    width: 100%;
    margin-top: 0 !important;
}

.age-footer {
    margin-top: 2rem;
    font-size: 0.75rem;
    opacity: 0.4;
    font-weight: 300;
}

@media (min-width: 640px) {
    .age-actions {
        flex-direction: row;
    }
}