/* Custom Font Import */
@font-face {
    font-family: 'BabaPro';
    src: url('../fonts/BabaPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* ========================================
   FONT & SPACING CONFIGURATION
   ======================================== */
:root {
    /* Main font used throughout the application */
    --master-font: 'BabaPro', 'Rajdhani', sans-serif;
    
    /* Letter spacing control */
    --letter-spacing-small: 1px;
    --letter-spacing-normal: 3px;
    --letter-spacing-large: 5px;
    --letter-spacing-xlarge: 8px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--master-font);
    background: #000011;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.02) 50%, transparent 70%);
    color: #00ffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 255, 0.1) 100%),
        linear-gradient(0deg, transparent 98%, rgba(0, 255, 255, 0.1) 100%);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.2);
    gap: 20px;
    position: relative;
}

/* Logout and Weight Update Buttons */
.logout-btn,
.weight-update-btn {
    background: rgba(0, 40, 80, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    font-size: 1.5rem;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
}

.logout-btn:hover,
.weight-update-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.logout-btn:active,
.weight-update-btn:active {
    transform: translateY(0);
}

/* Date and Time Display */
.date-time-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.current-date {
    font-family: var(--master-font);
    font-size: 1rem;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.current-time {
    font-family: var(--master-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.title {
    font-family: var(--master-font);
    font-size: 4.5rem;
    font-weight: normal;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-xlarge);
    text-shadow: 
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000,
        3px 3px 0 #000,
        0 0 30px rgba(0, 255, 255, 1),
        0 0 50px rgba(0, 255, 255, 0.6);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { 
        text-shadow: 
            -3px -3px 0 #000,
            3px -3px 0 #000,
            -3px 3px 0 #000,
            3px 3px 0 #000,
            0 0 30px rgba(0, 255, 255, 1),
            0 0 50px rgba(0, 255, 255, 0.6);
    }
    to { 
        text-shadow: 
            -3px -3px 0 #000,
            3px -3px 0 #000,
            -3px 3px 0 #000,
            3px 3px 0 #000,
            0 0 40px rgba(0, 255, 255, 1),
            0 0 70px rgba(0, 255, 255, 0.8);
    }
}

/* Level Display - Circular with Flaming Effect */
.level-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 180px;
    height: 180px;
    background: rgba(0, 100, 255, 0.1);
    border: 4px solid rgba(0, 150, 255, 0.6);
    border-radius: 50%;
    box-shadow: 
        0 0 40px rgba(0, 150, 255, 0.6),
        inset 0 0 40px rgba(0, 150, 255, 0.2);
    animation: levelCircleGlow 2s ease-in-out infinite alternate;
}

@keyframes levelCircleGlow {
    from {
        box-shadow: 
            0 0 40px rgba(0, 150, 255, 0.6),
            inset 0 0 40px rgba(0, 150, 255, 0.2);
        border-color: rgba(0, 150, 255, 0.6);
    }
    to {
        box-shadow: 
            0 0 60px rgba(0, 200, 255, 0.8),
            inset 0 0 60px rgba(0, 150, 255, 0.3);
        border-color: rgba(0, 200, 255, 0.9);
    }
}

.level-label {
    font-family: var(--master-font);
    font-size: 1.5rem;
    font-weight: normal;
    color: #00aaff;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        0 0 15px rgba(0, 170, 255, 1);
    letter-spacing: var(--letter-spacing-normal);
    line-height: 1;
    text-transform: uppercase;
}

.level-number {
    font-family: var(--master-font);
    font-size: 5rem;
    font-weight: normal;
    color: #00ffff;
    -webkit-text-stroke: 3px #000;
    paint-order: stroke fill;
    text-shadow: 
        0 0 20px rgba(0, 255, 255, 1),
        0 0 40px rgba(0, 255, 255, 1),
        0 0 60px rgba(0, 150, 255, 0.8),
        0 0 80px rgba(0, 150, 255, 0.6);
    animation: flameLevel 2s ease-in-out infinite;
    line-height: 1;
}

@keyframes flameLevel {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(0, 255, 255, 1),
            0 0 40px rgba(0, 255, 255, 1),
            0 0 60px rgba(0, 150, 255, 0.8),
            0 0 80px rgba(0, 150, 255, 0.6);
    }
    50% {
        text-shadow: 
            0 0 40px rgba(100, 255, 255, 1),
            0 0 80px rgba(0, 255, 255, 1),
            0 0 120px rgba(0, 200, 255, 1),
            0 0 160px rgba(0, 150, 255, 0.9);
    }
}

.xp-bar {
    width: 100%;
    height: 15px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.xp-text {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    color: #00ffff;
    font-size: 0.9rem;
}

.xp-percentage {
    font-family: var(--master-font);
    font-size: 1rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* Profile Section */
.profile-section {
    margin-bottom: 25px;
}

/* Level Badge in Top Row */

.profile-card {
    background: rgba(0, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2), inset 0 0 30px rgba(0, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3), inset 0 0 40px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
}

/* Profile Top Row */
.profile-top {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 30px;
    align-items: center;
}

.character-avatar {
    width: 120px;
    height: 120px;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(0, 255, 255, 0.1);
    border: 3px solid rgba(0, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3), inset 0 0 30px rgba(0, 255, 255, 0.1);
    animation: avatarGlow 3s ease-in-out infinite alternate;
}

@keyframes avatarGlow {
    from { 
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.3), inset 0 0 30px rgba(0, 255, 255, 0.1);
        border-color: rgba(0, 255, 255, 0.5);
    }
    to { 
        box-shadow: 0 0 50px rgba(0, 255, 255, 0.5), inset 0 0 50px rgba(0, 255, 255, 0.2);
        border-color: rgba(0, 255, 255, 0.8);
    }
}

/* Profile Name Group */
.profile-name-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

/* Name and Badge Row */
.name-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.character-name {
    font-family: var(--master-font);
    font-size: 3.5rem;
    font-weight: normal;
    margin: 0;
    color: #00ffff;
    letter-spacing: var(--letter-spacing-large);
    text-shadow: 
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000,
        3px 3px 0 #000,
        0 0 25px rgba(0, 255, 255, 1),
        0 0 40px rgba(0, 255, 255, 0.8);
    line-height: 1.2;
}

/* Badge Placeholder - Right next to name */
.badge-placeholder {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1);
    animation: badgeGlowAnim 3s ease-in-out infinite alternate;
    flex-shrink: 0;
}

/* Badge Container with Image */
.badge-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2), transparent);
    border: 2px solid rgba(255, 215, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1);
    animation: badgeGlowAnim 3s ease-in-out infinite alternate;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.badge-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
    transition: all 0.3s ease;
}

.badge-container:hover .badge-image {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

@keyframes badgeGlowAnim {
    from { 
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1);
        border-color: rgba(255, 215, 0, 0.5);
    }
    to { 
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.7), inset 0 0 40px rgba(255, 215, 0, 0.2);
        border-color: rgba(255, 215, 0, 1);
    }
}

.title-card {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid rgba(0, 255, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
    text-align: center;
    animation: titleGlow 2s ease-in-out infinite alternate;
    display: inline-block;
    width: fit-content;
}

@keyframes titleGlow {
    from { 
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
        border-color: rgba(0, 255, 0, 0.5);
    }
    to { 
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.5), inset 0 0 30px rgba(0, 255, 0, 0.2);
        border-color: rgba(0, 255, 0, 0.8);
    }
}

.title-text {
    font-family: var(--master-font);
    font-size: 1.6rem;
    font-weight: normal;
    color: #00ff00;
    letter-spacing: var(--letter-spacing-normal);
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        0 0 15px rgba(0, 255, 0, 1);
    text-transform: uppercase;
}

/* Profile Details Row */
.profile-details-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.detail-label {
    font-family: var(--master-font);
    font-weight: normal;
    font-size: 1.2rem;
    opacity: 0.7;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-small);
}

.detail-value {
    font-family: var(--master-font);
    font-weight: normal;
    font-size: 1.6rem;
    color: #00ffff;
    letter-spacing: var(--letter-spacing-small);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

/* XP Progress Row */
.xp-progress-row {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.xp-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #00ff00);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease-in-out;
    animation: xpGradient 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

@keyframes xpGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Quick Navigation Cards - Extra Compact Version */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.quick-nav-card {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.15), inset 0 0 10px rgba(0, 255, 255, 0.03);
}

.quick-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), inset 0 0 20px rgba(0, 255, 255, 0.08);
    border-color: rgba(0, 255, 255, 0.6);
}

.quick-nav-icon {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.quick-nav-card h3 {
    font-family: var(--master-font);
    font-size: 1rem;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 3px;
    letter-spacing: 2px;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 10px rgba(0, 255, 255, 0.8);
}

.quick-nav-card p {
    font-size: 0.65rem;
    color: rgba(0, 255, 255, 0.5);
    line-height: 1.2;
}

/* Main Content Layout */
.main-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

/* Stats Section - 2-Column Organized Layout */
.stats-section {
    margin-bottom: 0;
}

.stats-title {
    font-family: var(--master-font);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #00ffff;
    text-align: center;
    letter-spacing: var(--letter-spacing-large);
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        0 0 20px rgba(0, 255, 255, 1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-card {
    background: rgba(0, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2), inset 0 0 25px rgba(0, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.3), inset 0 0 35px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
}

/* Stat header with icon and name */
.stat-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.stat-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.stat-name {
    font-family: var(--master-font);
    font-size: 1.8rem;
    font-weight: 600;
    color: #00ffff;
    letter-spacing: var(--letter-spacing-normal);
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.stat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-points {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stat-value {
    font-family: var(--master-font);
    font-size: 2.5rem;
    font-weight: normal;
    color: #00ffff;
    letter-spacing: var(--letter-spacing-small);
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        0 0 15px rgba(0, 255, 255, 1);
}

.stat-label {
    font-family: var(--master-font);
    font-size: 1rem;
    color: rgba(0, 255, 255, 0.7);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-small);
}

.stat-xp-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-xp-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.stat-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #00ff00);
    border-radius: 4px;
    transition: width 1s ease-in-out;
    width: 0%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.stat-xp-text {
    font-family: var(--master-font);
    font-size: 0.8rem;
    color: rgba(0, 255, 255, 0.6);
    text-align: center;
}

/* Today's Tasks Section */
.todays-tasks-section {
    margin-bottom: 0;
}

.todays-title {
    font-family: var(--master-font);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #00ffff;
    text-align: center;
    letter-spacing: var(--letter-spacing-large);
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        0 0 20px rgba(0, 255, 255, 1);
}

.todays-tasks-card {
    background: rgba(0, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2), inset 0 0 25px rgba(0, 255, 255, 0.05);
}

.todays-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pending-task-item {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pending-task-item:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(0, 255, 255, 0.4);
}

.pending-task-name {
    font-family: var(--master-font);
    font-size: 1rem;
    color: #00ffff;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
}

.pending-task-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pending-stat-badge {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
}

.pending-task-total {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border-color: rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
}

.empty-pending {
    text-align: center;
    padding: 30px;
    color: rgba(0, 255, 255, 0.6);
    font-style: italic;
}

.empty-pending .empty-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* Calendar Widget */
.right-column {
    position: sticky;
    top: 20px;
}

.calendar-widget {
    background: rgba(0, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2), inset 0 0 25px rgba(0, 255, 255, 0.05);
}

.calendar-title {
    font-family: var(--master-font);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #00ffff;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-nav {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.calendar-nav:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.calendar-month-year {
    font-family: var(--master-font);
    font-size: 1rem;
    color: #00ffff;
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.calendar-day-header {
    text-align: center;
    font-size: 0.7rem;
    color: #00ffff;
    font-weight: 600;
    padding: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 0.8rem;
    color: #00ffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background: rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.calendar-day.today {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.5);
    color: #00ff00;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.has-tasks {
    position: relative;
}

.calendar-day.has-tasks::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 4px;
    height: 4px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
}

/* Testing Section */
.testing-section {
    background: rgba(255, 165, 0, 0.05);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.2), inset 0 0 20px rgba(255, 165, 0, 0.05);
}

.testing-label {
    font-family: var(--master-font);
    font-size: 0.9rem;
    color: rgba(255, 165, 0, 0.8);
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-normal);
}

.testing-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.test-btn {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500;
    border: 2px solid rgba(255, 165, 0, 0.5);
    padding: 10px 25px;
    border-radius: 20px;
    font-family: var(--master-font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.2);
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
}

.test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 165, 0, 0.4);
    border-color: rgba(255, 165, 0, 0.8);
    background: rgba(255, 165, 0, 0.2);
}

.test-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .date-time-info {
        align-items: center;
    }
    
    .profile-card {
        gap: 20px;
    }
    
    .profile-top {
        grid-template-columns: 100px 1fr;
        gap: 15px;
    }
    
    .level-display {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 10px;
    }
    
    .level-number {
        font-size: 3.5rem;
    }
    
    .badge-placeholder {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .profile-details-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .character-name {
        font-size: 1.5rem;
    }
    
    .quick-nav {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card-header {
        gap: 10px;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-name {
        font-size: 1.4rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .testing-buttons {
        flex-direction: column;
    }
    
    .test-btn {
        width: 100%;
    }
    
    /* Notification adjustments for tablets */
    .notification-window {
        width: 425px;
        min-height: 680px;
        padding: 35px 30px;
    }
    
    .notification-title {
        font-size: 2rem;
    }
    
    .notification-message {
        font-size: 1rem;
    }
    
    .notification-new {
        font-size: 1.6rem;
    }
    
    .level-up-number {
        font-size: 2.7rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
    }
    
    .level-badge {
        padding: 10px 20px;
    }
    
    .level-number {
        font-size: 1.5rem;
    }
    
    .profile-card {
        padding: 20px;
    }
    
    .avatar-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    /* Notification adjustments for mobile */
    .notification-window {
        width: 345px;
        min-height: 550px;
        padding: 30px 25px;
    }
    
    .notification-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .notification-title {
        font-size: 1.6rem;
    }
    
    .notification-message {
        font-size: 0.95rem;
    }
    
    .notification-old {
        font-size: 1.1rem;
        padding: 10px 18px;
    }
    
    .notification-arrows {
        font-size: 1.3rem;
    }
    
    .notification-new {
        font-size: 1.4rem;
        padding: 10px 18px;
    }
    
    .level-up-number {
        font-size: 2.2rem;
    }
}

/* Notification System - Larger Size */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 17, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.4s ease;
}

.notification-window {
    background: rgba(0, 255, 255, 0.05);
    border: 3px solid rgba(0, 255, 255, 0.6);
    border-radius: 25px;
    padding: 40px 35px;
    width: 475px;
    min-height: 760px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0 80px rgba(0, 255, 255, 0.5), inset 0 0 80px rgba(0, 255, 255, 0.1);
    animation: slideInBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    justify-content: center;
    gap: 15px;
}

.notification-icon {
    width: 55px;
    height: 55px;
    background: rgba(0, 255, 255, 0.2);
    border: 3px solid rgba(0, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 1);
    animation: iconPulse 1s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.notification-title {
    font-family: var(--master-font);
    font-size: 2.2rem;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        0 0 25px rgba(0, 255, 255, 1);
    letter-spacing: var(--letter-spacing-normal);
    text-align: center;
}

.notification-message {
    font-family: var(--master-font);
    font-size: 1.05rem;
    font-weight: normal;
    color: #00ffff;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: var(--letter-spacing-small);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.notification-change {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.notification-old {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 12px;
    padding: 12px 25px;
    color: #00ffff;
    font-family: var(--master-font);
    font-size: 1.3rem;
    font-weight: normal;
    letter-spacing: var(--letter-spacing-small);
    text-align: center;
}

.notification-arrows {
    color: #00ffff;
    font-size: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 255, 255, 1);
    animation: arrowBounce 0.8s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.notification-new {
    background: rgba(0, 255, 0, 0.15);
    border: 3px solid rgba(0, 255, 0, 0.6);
    border-radius: 12px;
    padding: 12px 25px;
    color: #00ff00;
    font-family: var(--master-font);
    font-size: 1.7rem;
    font-weight: normal;
    letter-spacing: var(--letter-spacing-normal);
    text-align: center;
    text-shadow: 
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000,
        3px 3px 0 #000,
        0 0 25px rgba(0, 255, 0, 1);
    animation: newGlow 1s ease-in-out infinite alternate;
}

@keyframes newGlow {
    from { 
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
        border-color: rgba(0, 255, 0, 0.6);
    }
    to { 
        box-shadow: 0 0 40px rgba(0, 255, 0, 0.8);
        border-color: rgba(0, 255, 0, 1);
    }
}

/* Level Number in Notification */
.level-up-number {
    font-family: var(--master-font);
    font-size: 3rem;
    font-weight: 900;
    color: #00ffff;
    -webkit-text-stroke: 2px #000;
    text-shadow: 
        0 0 25px rgba(0, 255, 255, 1),
        0 0 50px rgba(0, 255, 255, 1),
        0 0 75px rgba(0, 200, 255, 0.8);
    animation: levelUpPulse 1.5s ease-in-out infinite;
}

@keyframes levelUpPulse {
    0%, 100% {
        text-shadow: 
            0 0 30px rgba(0, 255, 255, 1),
            0 0 60px rgba(0, 255, 255, 1),
            0 0 90px rgba(0, 200, 255, 0.8);
    }
    50% {
        text-shadow: 
            0 0 50px rgba(0, 255, 255, 1),
            0 0 100px rgba(0, 255, 255, 1),
            0 0 150px rgba(0, 200, 255, 1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInBounce {
    0% { 
        transform: translateY(-100px) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translateY(20px) scale(1.05);
        opacity: 1;
    }
    70% {
        transform: translateY(-10px) scale(0.98);
    }
    85% {
        transform: translateY(5px) scale(1.02);
    }
    100% { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from { 
        opacity: 1;
        transform: scale(1);
    }
    to { 
        opacity: 0;
        transform: scale(0.8);
    }
}
