/* ========================================
   Graphite - Minimal Dashboard Styles
   ======================================== */

/* CSS Variables */
:root {
    --color-bg: #000000;
    --color-text: #FFFFFF;
    --color-text-secondary: #A0A0A0;
    --color-border: rgba(255, 255, 255, 0.12);
    --color-border-hover: rgba(255, 255, 255, 0.25);
    --color-card-bg: rgba(0, 0, 0, 0.952);
    --color-card-bg-hover: rgba(255, 255, 255, 0.06);
    --color-accent: #FFFFFF;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea {
    font-family: inherit;
}

/* ========================================
   Navigation - Top Left Position
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: none;
    animation: navbarSlideDown 0.6s ease-out;
}

@keyframes navbarSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Box - Rounded container with icon and name */
.logo-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 0.8rem 0.4rem 0.4rem;
    border-radius: 30px;
    background: transparent !important;
    border: none !important;
    transition: all var(--transition-fast);
}

.logo-box:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 44px;
}

.logo-text {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

/* Nav Actions - Circle Icon Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.s-img {
    width: 500;
    height: 500px;
    object-fit: contain;
    border-radius: 44px;
}

.nav-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-fast);
}

.nav-circle-btn.profile-btn {
    width: 160px;
    border-radius: 25px;
    padding: 0 16px;
    font-size: 0.8rem;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-email {
    font-size: 0.8rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-circle-btn.profile-btn:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.nav-circle-btn:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.nav-circle-btn svg {
    transition: transform var(--transition-fast);
}

.nav-circle-btn:hover svg {
    transform: scale(1.1);
}

/* CTA Button in circle style */
.nav-cta-btn {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.nav-cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-text), transparent);
    border-radius: 2px;
    transition: width var(--transition-normal);
    opacity: 0;
}

.nav-links a:hover::after {
    width: 60%;
    opacity: 1;
}

/* Active nav link */
.nav-links a.active {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active::after {
    width: 60%;
    opacity: 1;
}

/* CTA Button in nav */
.nav-cta {
    background: var(--color-text) !important;
    color: var(--color-bg) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all var(--transition-smooth) !important;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-normal);
    border-radius: 2px;
}

/* ========================================
   Hero Section - Portfolio Style
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-2xl) var(--space-md);
    padding-top: calc(var(--space-2xl) + 80px);
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-greeting {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-name {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-sm);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-socials {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    background: transparent;
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text);
    transform: translateY(-3px);
}

.social-link svg {
    transition: transform var(--transition-fast);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-image-container {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

/* Hide old elements */
.s-box, .globe-placeholder {
    display: none;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
    min-width: 140px;
}

.btn-solid {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn-solid:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* ========================================
   Sections
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: var(--space-2xl) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(36, 36, 36, 0.74) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.card:hover {
    background: #000000;
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.137);
}

.card:hover::before {
    opacity: 1;
}

.card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.card:hover .card-icon {
    border-color: var(--color-text);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.card p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.card-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.card-arrow svg {
    transition: transform var(--transition-fast);
}

.card:hover .card-arrow {
    color: var(--color-text);
}

.card:hover .card-arrow svg {
    transform: translateX(4px);
}

/* ========================================
   Dashboard Preview Section
   ======================================== */

.dashboard-preview {
    padding: var(--space-2xl) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-md);
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.dashboard-container:hover {
    border-color: var(--color-border-hover);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.03);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-right: var(--space-md);
    border-right: 1px solid var(--color-border);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sidebar-item:hover {
    background: var(--color-card-bg-hover);
    color: var(--color-text);
}

.sidebar-item.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-item svg {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.sidebar-item:hover svg {
    transform: scale(1.1);
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-sm);
}

.stat-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    transition: all var(--transition-fast);
}

.stat-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.stat-change {
    font-size: 0.75rem;
    font-weight: 500;
}

.stat-change.positive {
    color: #4ADE80;
}

.stat-change.negative {
    color: #F87171;
}

.chart-placeholder {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
}

.chart-placeholder:hover {
    border-color: var(--color-border-hover);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.chart-header h4 {
    font-size: 0.9375rem;
    font-weight: 600;
}

.chart-legend {
    display: flex;
    gap: var(--space-md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text);
}

.chart-area {
    flex: 1;
    position: relative;
}

.chart-line {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* ========================================
   Contact Form Section
   ======================================== */

.contact {
    padding: var(--space-2xl) var(--space-md);
    max-width: 640px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-smooth);
}

.contact-form:hover {
    border-color: var(--color-border-hover);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    transition: all var(--transition-fast);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-text);
    background: var(--color-card-bg-hover);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.form-group textarea {
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
    margin-top: var(--space-2xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-top: var(--space-sm);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.footer-column a {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-text);
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    text-align: center;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-right: 0;
        padding-bottom: var(--space-md);
        margin-bottom: var(--space-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-subtitle {
        margin: 0 auto var(--space-lg);
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-xs);
        border: 1px solid var(--color-border);
        border-radius: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.19s ease-out;
    animation-fill-mode: both;
}

.cards-grid .card:nth-child(1) { animation-delay: 0.1s; }
.cards-grid .card:nth-child(2) { animation-delay: 0.2s; }
.cards-grid .card:nth-child(3) { animation-delay: 0.3s; }

/* Glow effect animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    }
}

.stat-card:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-border-hover);
}

/* Selection */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-text);
}

/* From Uiverse.io by gharsh11032000 */
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: rgb(255, 255, 255);
  box-shadow: 0 0 0 2px rgb(255, 255, 255);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: rgb(255, 255, 255);
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px rgba(88, 88, 88, 0.473);
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* ========================================
   Notification Button & Dropdown
   ======================================== */

/* Notification Button */
.notification-btn {
    position: relative;
}

.notification-btn svg {
    transition: transform 0.2s ease;
}

.notification-btn:hover svg {
    transform: scale(1.1);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ff0000;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg);
    animation: notificationPulse s ease-in-out infinite;
}

@keyframes notificationPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.notification-badge.hidden {
    display: none;
}

/* Notification Dropdown */
.notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
    max-height: 480px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.notification-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Notification Header */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.mark-all-read {
    font-size: 12px;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mark-all-read:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Notification List */
.notification-list {
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: transparent;
}

.notification-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Notification Item */
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.notification-item.unread {
    background: rgba(255, 255, 255, 0.02);
}

.notification-item.unread:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* Unread Dot */
.unread-dot {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #3B82F6;
    border-radius: 50%;
    animation: unreadGlow 2s ease-in-out infinite;
}

@keyframes unreadGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0);
    }
}

/* Notification Icon */
.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

.notification-icon.green {
    background: rgba(74, 222, 128, 0.15);
    color: #4ADE80;
}

.notification-icon.purple {
    background: rgba(168, 85, 247, 0.15);
    color: #A855F7;
}

.notification-icon.orange {
    background: rgba(251, 146, 60, 0.15);
    color: #FB923C;
}

/* Notification Content */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-text {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notification-item.unread .notification-text {
    font-weight: 600;
}

.notification-time {
    font-size: 11px;
    color: #666;
}

/* Notification Footer */
.notification-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.view-all-notifications {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    transition: color 0.2s ease;
}

.view-all-notifications:hover {
    color: #fff;
}

/* Dashboard notification positioning */
.header-actions {
    position: relative;
}

#dashboardNotificationDropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
}

/* ========================================
   Notification Modal (Full Screen Overlay)
   ======================================== */

.notification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notification-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.notification-modal {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.notification-modal-overlay.active .notification-modal {
    transform: scale(1) translateY(0);
}

.notification-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.notification-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.notification-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.notification-modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.notification-modal-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.notification-modal-list::-webkit-scrollbar {
    width: 6px;
}

.notification-modal-list::-webkit-scrollbar-track {
    background: transparent;
}

.notification-modal-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Ensure notification items work in modal context */
.notification-modal-list .notification-item {
    padding: 14px 24px;
}

.notification-modal-list .notification-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* ========================================
   Discord Notification Styles
   ======================================== */

/* Discord Icon Style */
.notification-icon.discord {
    background: rgba(36, 36, 36, 0.15);
    color: #8d8d8d;
}

/* Notification Author */
.notification-author {
    font-weight: 600;
    color: #ff0000;
    margin-right: 4px;
}

.notification-message {
    color: #c0bebe;
    font-weight: 400;
}

/* ========================================
   Toast Notification Animation
   ======================================== */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Toast styles */
.notification-toast {
    font-family: var(--font-family);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon svg {
    color: #fff;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.toast-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.toast-message {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

/* No Notifications Message */
.no-notifications {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.no-notifications-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
    color: #666;
}

.no-notifications-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
