:root {
    --bg-blue: #a3b8c9;
    --card-white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --accent-blue: #0052cc;
    --handwritten-font: 'Patrick Hand', cursive;
    /* Alternatives: 'Caveat', 'Dancing Script', 'Playwrite VN' */
    --ui-font: 'Inter', sans-serif;

    /* Standardized Font Scale */
    --font-tiny: 10px;
    --font-small: 11px;
    --font-regular: 12px;
    --font-medium: 14px;
    --font-large: 16px;
    --font-xl: 18px;
    --font-xxl: 20px;
}

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

body {
    background-color: #f4f7fa;
    font-family: var(--ui-font);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    min-height: 100vh;
    zoom: 1.25;
    /* Scale page to 125% for better visibility */
}

.mockup-container {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    padding: 20px 20px 80px 20px;
    /* More bottom padding for activity-bar space */
    min-height: 800px;
    display: flex;
    flex-direction: column;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
    font-size: var(--font-medium);
    padding: 10px 10px;
    margin-bottom: 5px;
}

.status-logo {
    height: 15px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

.voice-note {
    display: flex;
    align-items: center;
    gap: 8px;
}

.controls {
    display: flex;
    gap: 15px;
    font-weight: bold;
}

/* Notification Pill */
.notification-pill {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 15px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: var(--font-regular);
    color: #444;
}

/* Main Portrait Area */
.main-portrait-container {
    position: relative;
    margin-bottom: 40px;
}

.stamp-wrapper {
    padding: 10px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Simple stamp effect */
    position: relative;
}

.stamp-border {
    border: 2px solid #f0f0f0;
    overflow: hidden;
    position: relative;
    height: 320px;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-img:hover {
    transform: scale(1.05);
}

/* Handwritten Notes */
.handwritten-note {
    font-family: var(--handwritten-font);
    font-size: var(--font-medium);
    line-height: 1.2;
    position: absolute;
    color: #1e3a8a;
    text-shadow: none;
    pointer-events: none;
    z-index: 5;
    letter-spacing: -0.01em;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3));
    /* Ink bleed effect */
}

.note-top-left {
    top: 35px;
    left: 25px;
    transform: rotate(-4deg);
    font-size: var(--font-xl);
}

.note-top-right {
    top: 35px;
    right: 25px;
    transform: rotate(3deg);
    text-align: right;
}

.note-mid-right {
    top: 135px;
    right: 25px;
    transform: rotate(-1deg);
    text-align: right;
    font-weight: 700;
}

.yellow-text {
    color: #fff176;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.brush-highlight {
    background: #0052cc;
    color: white !important;
    padding: 8px 15px;
    font-size: var(--font-xxl);
    text-shadow: none;
    border-radius: 4px;
    /* Brush stroke appearance */
    clip-path: polygon(0% 12%, 4% 8%, 10% 14%, 20% 6%, 35% 12%, 50% 4%, 65% 14%, 80% 6%, 92% 12%, 100% 8%,
            98% 30%, 100% 50%, 97% 75%, 100% 92%,
            92% 88%, 80% 96%, 65% 86%, 50% 98%, 35% 88%, 20% 96%, 10% 86%, 4% 94%, 0% 88%,
            2% 70%, 0% 50%, 3% 25%);
    transform: rotate(-3deg);
    width: fit-content;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}


/* Profile Card Overlay */
.profile-card-overlay {
    position: absolute;
    bottom: -15px;
    right: 15px;
    background: white;
    border-radius: 12px;
    width: 240px;
    padding: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.card-header {
    font-weight: 600;
    font-size: var(--font-regular);
    margin-bottom: 10px;
    color: #333;
}

.card-body {
    display: flex;
    gap: 12px;
}

.profile-preview {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-info .name {
    font-size: var(--font-regular);
    font-weight: 700;
    /* font-style: italic; */
    color: #444;
}

.profile-footer {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
}

.add-icon {
    background: #888;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    font-size: var(--font-tiny);
}

.profile-btn {
    background: #aaa;
    border: none;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: var(--font-tiny);
    /* text-transform: uppercase; */
    cursor: pointer;
}

.bio {
    font-size: var(--font-tiny);
    color: #666;
    line-height: 1.3;
}

/* Bottom Section */
.bottom-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: flex;
    gap: 15px;
}

.goals-card {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0ebf5;
    transition: all 0.3s ease;
}

.goals-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 82, 204, 0.1);
    border-color: #0052cc44;
}

.goals-header {
    text-align: center;
    border-bottom: 1px dashed #c0d6eb;
    padding-bottom: 10px;
}

.goals-title {
    font-size: var(--font-medium);
    font-weight: 800;
    color: #0052cc;
    letter-spacing: 0.05em;
}

.goals-period {
    font-size: var(--font-tiny);
    color: #64748b;
    margin-top: 2px;
}

.goals-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: transform 0.2s ease;
}

.goal-item:hover {
    transform: translateX(4px);
}

.goal-check {
    background: #0052cc;
    color: white;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-tiny);
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 2px 4px rgba(0, 82, 204, 0.2);
}

.goal-text {
    font-size: var(--font-small);
    color: #334155;
    line-height: 1.3;
    font-weight: 500;
}

.description-card {
    background: white;
    padding: 20px 80px 30px 20px;
    /* Increased right padding even more */
    border-radius: 20px;
    flex: 2;
    font-size: var(--font-small);
    color: #555;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.description-card p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.brand-cutout {
    position: absolute;
    bottom: -10px;
    right: -25px;
    width: 140px;
    /* Smaller logo image */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    z-index: 2;
    pointer-events: none;
}

.brand-cutout img {
    width: 100%;
    transform: rotate(10deg);
}

.gallery-row {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.polaroid-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 10px;
    width: 160px;
}

.framed-photo.polaroid {
    background: #fffdfa;
    /* Slightly off-white for paper feel */
    padding: 10px 10px 65px 10px;
    border-radius: 2px;
    width: 160px;
    position: relative;
    transform: rotate(2deg);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 0 40px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.polaroid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
    filter: sepia(0.1) contrast(1.1);
}

.polaroid.compact {
    display: flex;
    flex-direction: column;
    padding: 8px 8px 12px 8px;
    /* Tighter bottom padding since caption is no longer absolute */
    min-height: 0;
    flex: 0 0 auto;
}

.polaroid.compact:nth-child(1) {
    transform: rotate(-1.5deg);
}

.polaroid.compact:nth-child(2) {
    transform: rotate(1deg);
    margin: -10px 0;
    /* Overlap for collage feel */
    z-index: 2;
}

.polaroid.compact:nth-child(3) {
    transform: rotate(-0.5deg);
    z-index: 3;
}

.polaroid.compact img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    min-height: 0;
}

.polaroid.compact .polaroid-caption {
    bottom: 6px;
}

.polaroid.compact .polaroid-caption strong {
    font-size: var(--font-medium);
}

.polaroid.compact .polaroid-caption span {
    font-size: var(--font-small);
    line-height: 1.2;
}

.polaroid.compact .photo-overlay-tag {
    display: none;
    top: 12px;
    left: 12px;
    font-size: var(--font-tiny);
    padding: 2px 5px;
}

.polaroid-caption {
    margin-top: 10px;
    /* Space below image */
    padding: 0 4px;
    font-family: var(--handwritten-font);
    color: #1a1a1a;
    line-height: 1.1;
    text-align: center;
    position: relative;
    /* Changed from absolute to relative */
}

.polaroid-caption strong {
    display: block;
    font-size: 15px;
    text-transform: capitalize;
    font-weight: 700;
    margin-bottom: 2px;
    color: #0052cc;
    /* Vibrant blue marker color */
    transform: rotate(-1deg);
}

.polaroid-caption span {
    font-size: var(--font-regular);
    display: block;
    transform: rotate(1deg);
    color: #334155;
    opacity: 0.9;
}

.photo-overlay-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(30, 58, 138, 0.85);
    /* Corporate blue */
    color: white;
    padding: 3px 10px;
    border-radius: 2px;
    font-size: var(--font-tiny);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 6;
}

.album-card {
    background: white;
    border-radius: 20px;
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.kudos-card {
    background: #f8faff;
    border: 1px solid #e0e7ff;
}

.kudos-body {
    display: flex;
    flex-direction: column;
    gap: 05px;
    padding-bottom: 5px;
}

.shoutout-box {
    background: white;
    padding: 12px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.quote-mark {
    position: absolute;
    top: -5px;
    left: 10px;
    font-family: var(--handwritten-font);
    font-size: 40px;
    color: var(--accent-blue);
    opacity: 0.15;
    line-height: 1;
}

.shoutout-text {
    font-size: var(--font-regular);
    color: #444;
    line-height: 1.4;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.shoutout-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sender-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.sender-name {
    font-size: var(--font-tiny);
    font-weight: 600;
    color: #1a1a1a;
}

.culture-tip {
    background: #fffbeb;
    border: 1px dashed #fcd34d;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.tip-icon {
    font-size: 14px;
}

.tip-content {
    display: flex;
    flex-direction: column;
}

.tip-title {
    font-size: var(--font-tiny);
    font-weight: 700;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tip-text {
    font-size: var(--font-tiny);
    color: #78350f;
    line-height: 1.3;
    margin-top: 2px;
}

.culture-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stat-info {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-tiny);
    font-weight: 600;
    color: #666;
}

.stat-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: var(--accent-blue);
    border-radius: 2px;
}

.culture-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    font-size: var(--font-tiny);
    background: #eef2ff;
    color: var(--accent-blue);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.upcoming-events-label {
    background: #f5f5f5;
    padding: 8px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-small);
    font-weight: 600;
}

/* Activity Bar */
.activity-bar {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.input-field {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 20px;
    border-radius: 30px;
    flex: 1;
    font-size: var(--font-regular);
    color: #666;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.next-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    color: var(--accent-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Download Section */
.download-section {
    margin-top: 40px;
}

.fab {
    display: none;
    background: #4a90e2;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.4);
}

.fab:active {
    transform: translateY(0);
}

/* Hiring Section Styles */
.job-card {
    background: white;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 0px;
}

.job-card:last-child {
    margin-bottom: 0;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #dbeafe;
}

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

.job-title {
    font-size: var(--font-small);
    font-weight: 700;
    color: #1a1a1a;
}

.job-tag {
    font-size: var(--font-tiny);
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.job-tag.hot {
    background: #fee2e2;
    color: #ef4444;
}

.job-tag.new {
    background: #dcfce7;
    color: #22c55e;
}

.job-details {
    display: flex;
    gap: 10px;
    font-size: var(--font-tiny);
    color: #666;
    margin-bottom: 6px;
}

.job-footer {
    display: flex;
    gap: 4px;
}

.tech-tag {
    font-size: var(--font-tiny);
    background: #f1f5f9;
    color: #475569;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.hiring-cta {
    text-align: center;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    margin-top: 5px;
}

.cta-text {
    font-size: var(--font-tiny);
    font-weight: 700;
    color: #0052cc;
}

/* Event Tile Card Styles */
.event-tile-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border: 1px solid #e0ebf5;
}

.event-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.event-tile:hover {
    border-color: #dbeafe;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.event-date-box {
    width: 40px;
    height: 40px;
    background: #eef2ff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-day {
    font-size: var(--font-medium);
    font-weight: 800;
    color: #0052cc;
    line-height: 1;
}

.event-month {
    font-size: var(--font-tiny);
    font-weight: 700;
    text-transform: uppercase;
    color: #6366f1;
    margin-top: 1px;
}

.event-date-box.project-color {
    background: #fff1f2;
}

.event-date-box.project-color .event-day {
    color: #e11d48;
}

.event-date-box.project-color .event-month {
    color: #fb7185;
}

.event-info {
    display: flex;
    flex-direction: column;
}

.event-name {
    font-size: var(--font-tiny);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.event-duration {
    font-size: var(--font-tiny);
    color: #64748b;
    margin-top: 2px;
}

/* Birthday Section Styles */
.birthday-card {
    background: #fff;
    border: 1px solid #fef3c7;
    min-height: 110px;
}

.birthday-list.row-layout {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 10px;
    padding-top: 5px;
}

.birthday-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.birthday-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fbbf24;
    padding: 1px;
    background: white;
}

.birthday-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.birthday-name {
    font-size: var(--font-tiny);
    font-weight: 700;
    color: #92400e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.birthday-date {
    font-size: var(--font-tiny);
    color: #b45309;
    opacity: 0.8;
}

/* Layout adjustment to ensure height matching */
.right-stack>.album-card {
    flex: 1;
    overflow: visible;
    margin-bottom: 0 !important;
}

/* Redesigned Victory Card - Creative Blueprint Style */
.blueprint-card {
    background: #001a3d url('assets/blueprint-bg.png');
    background-size: 150px;
    background-blend-mode: overlay;
    border-radius: 12px;
    border: 1px solid #0052cc;
    padding: 20px;
    position: relative;
    overflow: hidden;
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 0 50px rgba(0, 82, 204, 0.1);
}

.blueprint-card::before {
    content: "MISSION LOG";
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 28px;
    font-weight: 900;
    color: white;
    opacity: 0.05;
    pointer-events: none;
    letter-spacing: 0.2em;
}

.card-tab {
    position: absolute;
    top: 0;
    left: 0;
    background: #0052cc;
    color: white;
    font-size: var(--font-tiny);
    font-weight: 800;
    padding: 3px 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom-right-radius: 8px;
    z-index: 5;
}

.blueprint-content {
    margin-top: 10px;
    z-index: 2;
}

.blueprint-header {
    margin-bottom: 12px;
}

.blueprint-team {
    font-size: var(--font-regular);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blueprint-team::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2), transparent);
}

.blueprint-week {
    font-size: var(--font-tiny);
    color: #4a90e2;
    font-family: monospace;
}

.blueprint-mission {
    position: relative;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    margin: 15px 0;
    border-radius: 4px;
}

.mission-label {
    position: absolute;
    top: -6px;
    left: 10px;
    background: #001a3d;
    padding: 0 6px;
    font-size: var(--font-tiny);
    color: #4a90e2;
    text-transform: uppercase;
    font-weight: 700;
}

.mission-text {
    font-size: var(--font-tiny);
    color: #c9d6df;
    line-height: 1.4;
    font-style: italic;
}

.blueprint-win {
    background: linear-gradient(135deg, #0052cc, #001a3d);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.blueprint-win::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.05) 50%, transparent 52%);
    background-size: 200% 200%;
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% {
        background-position: -100% -100%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.win-title {
    font-size: var(--font-tiny);
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 4px;
    display: block;
}

.win-value {
    font-size: var(--font-regular);
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 82, 204, 0.6);
    display: block;
}

.win-icon-floating {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 55px;
    opacity: 0.9;
    transform: rotate(-10deg);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    z-index: 3;
}

/* Calendar UI Styles */
.calendar-container {
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.calendar-month {
    font-size: var(--font-regular);
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.calendar-weekday {
    font-size: var(--font-tiny);
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    padding-bottom: 4px;
}

.calendar-day {
    font-size: var(--font-tiny);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #475569;
    font-weight: 500;
    position: relative;
    cursor: default;
}

.calendar-day.other-month {
    color: #cbd5e1;
}

.calendar-day.holiday {
    background: #fee2e2;
    color: #ef4444;
    font-weight: 700;
}

.calendar-day.today {
    background: #0052cc;
    color: white;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 82, 204, 0.3);
}

.calendar-day.holiday-label::after {
    content: "";
    position: absolute;
    bottom: 2px;
    width: 3px;
    height: 3px;
    background: #ef4444;
    border-radius: 50%;
}

.calendar-legend {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: var(--font-tiny);
    border-top: 1px dashed #e2e8f0;
    padding-top: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.legend-dot.holiday-dot {
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.section-badge {
    font-size: var(--font-tiny);
    color: var(--accent-blue);
    font-weight: 400;
}

.emoji-icon {
    font-size: var(--font-medium);
}

/* Weekly News Highlights Styles */
.news-row {
    margin-top: 5px;
    width: 100%;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.news-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 5px;
}

.news-block {
    background: #f8fafc;
    padding: 12px;
    border-radius: 15px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-block:hover {
    background: #ffffff;
    border-color: var(--accent-blue);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.08);
}

.news-topic {
    font-size: var(--font-small);
    font-weight: 800;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.news-thumb {
    width: 100%;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    margin: 4px 0 8px 0;
    border: 1px solid rgba(0, 82, 204, 0.1);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-block:hover .news-thumb img {
    transform: scale(1.1);
}

.news-text {
    font-size: var(--font-tiny);
    color: #475569;
    line-height: 1.5;
    font-weight: 500;
}