 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Courier, monospace;
            background: #000000;
            min-height: 100vh;
            padding: 40px 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .page-wrapper {
            width: 100%;
            max-width: 1200px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .stat-card {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
            border: 1px solid rgba(0, 0, 0, 0.04);
        }

        .stat-card h3 {
            color: #2c2c2c;
            font-size: 1.1em;
            margin-bottom: 20px;
            font-weight: 600;
            letter-spacing: -0.3px;
        }

        /* Top Left - Currently Reading */
        .currently-reading {
            grid-column: 1;
            grid-row: 1;
        }

        .book-covers-container {
            width: 100%;
            height: 280px;
            display: flex;
            gap: 12px;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 4px;
        }

        .book-covers-container::-webkit-scrollbar {
            height: 6px;
        }

        .book-covers-container::-webkit-scrollbar-track {
            background: #f3f4f6;
            border-radius: 3px;
        }

        .book-covers-container::-webkit-scrollbar-thumb {
            background: #d1d5db;
            border-radius: 3px;
        }

        .book-covers-container::-webkit-scrollbar-thumb:hover {
            background: #9ca3af;
        }

        .book-cover {
            height: 100%;
            width: auto;
            flex-shrink: 0;
            border-radius: 8px;
            object-fit: cover;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transition: transform 0.2s ease;
            /*cursor: pointer;*/
        }

        .book-cover:hover {
            transform: scale(1.05);
        }

        .book-cover-placeholder {
            height: 100%;
            min-width: 180px;
            flex-shrink: 0;
            background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.9em;
            text-align: center;
            padding: 20px;
        }

        /* Top Right - Books by Year */
        .books-by-year {
            grid-column: 2;
            grid-row: 1;
        }

        .year-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .year-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .year-item {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .year-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .year-item .year {
            font-weight: 600;
            color: #2c2c2c;
            font-size: 1em;
        }

        .year-item .count {
            color: #6b7280;
            font-size: 0.9em;
            font-weight: 600;
        }

        .bar-container {
            width: 100%;
            height: 32px;
            background: #f3f4f6;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }

        .bar-fill {
            height: 100%;
            background: linear-gradient(90deg, #2c2c2c 0%, #4b5563 100%);
            border-radius: 8px;
            transition: width 0.6s ease;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 12px;
        }

        .year-item:hover .bar-fill {
            background: linear-gradient(90deg, #1a1a1a 0%, #2c2c2c 100%);
        }

        /* Center - Hero Section */
        .center-hero {
            grid-column: 1 / 3;
            grid-row: 2;
            background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
            border-radius: 24px;
            padding: 60px 40px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 40px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
        }

        .hero-title {
            text-align: center;
            color: white;
        }

        .hero-title h1 {
            font-size: 3.2em;
            font-weight: 700;
            margin-bottom: 12px;
            letter-spacing: -1.5px;
        }

        .hero-title p {
            font-size: 1.2em;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 400;
            letter-spacing: 0.5px;
        }

        .button-container {
            display: flex;
            gap: 24px;
        }

        .year-button {
            background: white;
            color: #2c2c2c;
            border: none;
            padding: 24px 48px;
            font-size: 1.4em;
            border-radius: 16px;
            cursor: pointer;
            font-family: inherit;
            font-weight: 700;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            letter-spacing: -0.5px;
        }

        .year-button:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
            background: #f9fafb;
        }

        .year-button:active {
            transform: translateY(-2px);
        }

        /* Bottom - Pie Charts */
        .mood-chart {
            grid-column: 1;
            grid-row: 3;
        }

        .genre-chart {
            grid-column: 2;
            grid-row: 3;
        }

        .chart-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 24px;
        }

        .pie-chart {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            position: relative;
        }

        .pie-chart-placeholder {
            width: 100%;
            height: 100%;
            background: conic-gradient(
                #2c2c2c 0deg 120deg,
                #6b7280 120deg 240deg,
                #9ca3af 240deg 360deg
            );
            border-radius: 50%;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .legend {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.95em;
            color: #2c2c2c;
        }

        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 6px;
            flex-shrink: 0;
        }

        @media (max-width: 900px) {
            .page-wrapper {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .currently-reading,
            .books-by-year,
            .center-hero,
            .mood-chart,
            .genre-chart {
                grid-column: 1;
            }

            .currently-reading { grid-row: 1; }
            .books-by-year { grid-row: 2; }
            .center-hero { grid-row: 3; padding: 40px 30px; }
            .mood-chart { grid-row: 4; }
            .genre-chart { grid-row: 5; }

            .hero-title h1 {
                font-size: 2.2em;
            }

            .year-button {
                padding: 18px 36px;
                font-size: 1.2em;
            }

            .button-container {
                flex-direction: column;
                gap: 16px;
                width: 100%;
            }

            .year-button {
                width: 100%;
            }
        }