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

        :root {
            --primary-color: #ffd700;
            --primary-dark: #ffb300;
            --dark-bg: #0f172a;
            --darker-bg: #020617;
            --card-bg: #1e293b;
            --text-primary: #f1f5f9;
            --text-secondary: #cbd5e1;
            --border-color: #334155;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
        }

        header {
            background: rgba(15, 23, 42, 0.95);
            border-bottom: 1px solid var(--border-color);
            padding: 1.5rem 1rem;
            text-align: center;
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        header h1 {
            font-size: clamp(1.5rem, 5vw, 2.5rem);
            margin-bottom: 0.5rem;
            background: linear-gradient(45deg, var(--primary-color), #ffeb3b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        header p {
            color: var(--text-secondary);
            font-size: clamp(0.9rem, 2vw, 1.1rem);
        }

        main {
            max-width: 1000px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        .article-hero {
            background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0d1b2a 100%);
            border-radius: 25px;
            padding: 2.2rem 1.5rem;
            width: 100%;
            text-align: center;
            color: white;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 215, 0, 0.2);
            margin-bottom: 2rem;
        }

        .article-hero h2 {
            font-size: clamp(1.7rem, 4vw, 2.5rem);
            margin-bottom: 1rem;
            color: white;
            line-height: 1.25;
        }

        .article-hero p {
            color: rgba(255, 255, 255, 0.82);
            font-size: 1rem;
            max-width: 780px;
            margin: 0 auto;
            line-height: 1.8;
        }

        .article-cover {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 1.5rem;
            overflow: hidden;
            margin-bottom: 2rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .article-cover img {
            display: block;
            width: 100%;
            height: auto;
        }

        .article-section {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 1.5rem;
            padding: 2rem 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .article-section h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: clamp(1.1rem, 3vw, 1.4rem);
        }

        .article-section p {
            color: var(--text-secondary);
            margin-bottom: 1rem;
            line-height: 1.9;
        }

        .article-section p:last-child {
            margin-bottom: 0;
        }

        .article-section ul {
            list-style: none;
            padding: 0;
            margin: 0 0 1rem;
        }

        .article-section li {
            color: var(--text-secondary);
            margin-bottom: 0.75rem;
            line-height: 1.8;
            padding-left: 1.25rem;
            position: relative;
        }

        .article-section li::before {
            content: "•";
            color: var(--primary-color);
            position: absolute;
            left: 0;
            top: 0;
            font-weight: 700;
        }

        .quote-box {
            background: rgba(99, 102, 241, 0.05);
            border-left: 3px solid var(--primary-color);
            padding: 1rem;
            border-radius: 0.5rem;
            margin: 1.25rem 0;
        }

        .quote-box p {
            margin: 0;
        }

        .sleep-table-wrap {
            overflow-x: auto;
            margin-top: 1rem;
        }

        .sleep-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 620px;
            background: rgba(255,255,255,0.02);
            border-radius: 14px;
            overflow: hidden;
        }

        .sleep-table th,
        .sleep-table td {
            text-align: left;
            padding: 14px 16px;
            border-bottom: 1px solid var(--border-color);
            vertical-align: top;
        }

        .sleep-table th {
            color: var(--primary-color);
            font-weight: 700;
            background: rgba(255,255,255,0.04);
        }

        .sleep-table td {
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .sleep-table tr:last-child td {
            border-bottom: none;
        }

        .calculator-footer {
            background: transparent;
            padding: 10px 0 0;
            margin-top: 2rem;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-title {
            text-align: center;
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 30px;
            color: var(--primary-color);
            letter-spacing: 0.2px;
        }

        .calculator-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(280px, 1fr));
            gap: 24px;
            margin-bottom: 28px;
        }

        .calculator-section {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 22px;
            border: 1px solid var(--border-color);
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .calculator-section:hover {
            transform: translateY(-5px);
            box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
            border-color: rgba(255, 215, 0, 0.22);
        }

        .section-title-footer {
            font-size: 18px;
            font-weight: 800;
            margin-bottom: 15px;
            color: var(--primary-color);
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 10px;
            letter-spacing: 0.2px;
        }

        .calculator-links {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .calculator-link {
            color: var(--text-secondary);
            text-decoration: none;
            padding: 12px 14px;
            border-radius: 12px;
            font-size: 14px;
            line-height: 1.45;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border-color);
            display: block;
        }

        .calculator-link:hover {
            background: rgba(255, 215, 0, 0.08);
            color: var(--text-primary);
            border-color: rgba(255, 215, 0, 0.28);
            transform: translateX(4px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
            font-size: 14px;
            color: var(--text-secondary);
            opacity: 0.9;
        }

        @media (max-width: 768px) {
            main {
                padding: 1.5rem 1rem;
            }

            .article-hero,
            .article-section {
                padding: 1.5rem 1rem;
                border-radius: 1rem;
            }

            .calculator-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .footer-title {
                font-size: 24px;
                margin-bottom: 22px;
            }

            .calculator-section {
                padding: 18px;
                border-radius: 16px;
            }

            .calculator-link {
                font-size: 13px;
                padding: 11px 12px;
            }
        }

        @media (max-width: 480px) {
            header h1 {
                font-size: 1.3rem;
            }

            .article-hero h2 {
                font-size: 1.45rem;
            }
        }
    