  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, sans-serif;
        }

        body {
            background-color: #0a0a0a;
            color: #f0e6d2;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 5px 5px;
            line-height: 1.6;
        }

        .marketinsights-container {
            width: 100%;
            max-width: 720px;
            margin: 0 auto;
            background: linear-gradient(145deg, #1a0f0f, #2a1a1a);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(188, 141, 38, 0.15);
            border: 1px solid rgba(212, 175, 55, 0.2);
        }

        .marketinsights-header {
            padding: 30px 25px 20px;
            text-align: center;
            background: linear-gradient(to right, #8b1a1a, #b8860b);
            position: relative;
        }

        .marketinsights-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: #ffd700;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }

        .marketinsights-subtitle {
            font-size: 1.1rem;
            color: #e6d9b8;
            opacity: 0.9;
        }

        .marketinsights-accentline {
            height: 4px;
            background: linear-gradient(90deg, #8b1a1a, #ffd700, #8b1a1a);
            margin: 0 25px;
        }

        .marketinsights-content {
            padding: 25px;
            display: flex;
            flex-direction: column;
            gap: 22px;
        }

        .marketinsights-card {
            background: rgba(26, 21, 16, 0.7);
            border-radius: 16px;
            padding: 22px;
            border-left: 0px solid #b8860b;
            transition: all 0.3s ease;
            cursor: pointer;
            border: 1px solid rgba(184, 134, 11, 0.3);
        }

        .marketinsights-card:hover {
            transform: translateY(-5px);
            border-left-color: #ffd700;
            box-shadow: 0 8px 20px rgba(139, 26, 26, 0.25);
            background: rgba(32, 26, 20, 0.8);
        }

        .marketinsights-cardfeatured {
            background: linear-gradient(135deg, rgba(139, 26, 26, 0.25), rgba(184, 134, 11, 0.25));
            border-left: 0px solid #ffd700;
            position: relative;
            overflow: hidden;
        }

        .marketinsights-cardfeatured::before {
            content: "★";
            position: absolute;
            top: 15px;
            right: 15px;
            color: #ffd700;
            font-size: 1.4rem;
        }

        .marketinsights-cardtitle {
            font-size: 1.5rem;
            color: #ffd700;
            margin-bottom: 12px;
            font-weight: 700;
        }

        .marketinsights-cardtext {
            color: #d4c7a9;
            font-size: 1rem;
        }

        .marketinsights-inputsection {
            padding: 25px;
            background: rgba(20, 15, 10, 0.8);
            margin: 10px 25px 25px;
            border-radius: 16px;
            text-align: center;
            border: 1px solid rgba(184, 134, 11, 0.4);
        }

        .marketinsights-inputtitle {
            font-size: 1.8rem;
            color: #ffd700;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .marketinsights-inputgroup {
            display: flex;
            flex-direction: column;
            gap: 18px;
            margin-top: 20px;
        }

        .marketinsights-stockinput {
            padding: 18px 20px;
            border-radius: 12px;
            border: 2px solid #b8860b;
            background: rgba(15, 10, 5, 0.9);
            color: #ffd700;
            font-size: 1.1rem;
            text-align: center;
            outline: none;
            transition: all 0.3s;
        }

        .marketinsights-stockinput:focus {
            border-color: #ffd700;
            box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
        }

        .marketinsights-submitbutton {
            display: inline-block;
            padding: 18px 30px;
            background: linear-gradient(to right, #8b1a1a, #b8860b);
            color: #ffd700;
            text-decoration: none;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1.1rem;
            text-align: center;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            letter-spacing: 0.5px;
            box-shadow: 0 5px 15px rgba(139, 26, 26, 0.4);
        }

        .marketinsights-submitbutton:hover {
            background: linear-gradient(to right, #a52a2a, #daa520);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(139, 26, 26, 0.6);
        }

        .marketinsights-footer {
            padding: 25px;
            background: rgba(15, 10, 5, 0.9);
            text-align: center;
            border-top: 1px solid rgba(184, 134, 11, 0.3);
        }

        .marketinsights-footerlinks {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-bottom: 20px;
        }

        .marketinsights-footerlink {
            color: #b8860b;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s;
            padding: 5px 10px;
            border-radius: 6px;
        }

        .marketinsights-footerlink:hover {
            color: #ffd700;
            background: rgba(139, 26, 26, 0.2);
        }

        .marketinsights-footerwarning {
            color: #ff6b6b;
            font-weight: 600;
        }

        .marketinsights-copyright {
            color: #d4c7a9;
            font-size: 0.9rem;
            opacity: 0.8;
            margin-top: 15px;
        }

        /* Modal Styles */
        .marketinsights-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            padding: 20px;
            overflow-y: auto;
        }

        .marketinsights-modalcontent {
            background: linear-gradient(145deg, #1a0f0f, #2a1a1a);
            border-radius: 18px;
            width: 100%;
            max-width: 650px;
            max-height: 85vh;
            overflow-y: auto;
            border: 1px solid rgba(212, 175, 55, 0.4);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
        }

        .marketinsights-modalheader {
            padding: 22px 25px;
            background: linear-gradient(to right, #8b1a1a, #b8860b);
            color: #ffd700;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 18px 18px 0 0;
        }

        .marketinsights-modaltitle {
            font-size: 1.8rem;
            font-weight: 700;
        }

        .marketinsights-closebutton {
            background: none;
            border: none;
            color: #ffd700;
            font-size: 2.2rem;
            cursor: pointer;
            line-height: 1;
            transition: transform 0.2s;
        }

        .marketinsights-closebutton:hover {
            transform: scale(1.2);
        }

        .marketinsights-modalbody {
            padding: 25px;
            color: #f0e6d2;
        }

        .marketinsights-modalbody h3 {
            color: #ffd700;
            margin: 22px 0 12px;
            font-size: 1.4rem;
            border-bottom: 1px solid rgba(184, 134, 11, 0.4);
            padding-bottom: 6px;
        }

        .marketinsights-modalbody h4 {
            color: #e6d9b8;
            margin: 18px 0 8px;
            font-size: 1.2rem;
        }

        .marketinsights-modalbody p, .marketinsights-modalbody li {
            margin-bottom: 12px;
            color: #d4c7a9;
        }

        .marketinsights-modalbody ul, .marketinsights-modalbody ol {
            padding-left: 22px;
            margin-bottom: 18px;
        }

        .marketinsights-warningtext {
            background: rgba(139, 26, 26, 0.2);
            border-left: 0px solid #ff6b6b;
            padding: 16px;
            border-radius: 8px;
            margin: 20px 0;
            color: #ffb6b6;
        }

        /* Responsive adjustments */
        @media (max-width: 600px) {
            .marketinsights-container {
                border-radius: 16px;
            }
            .marketinsights-title {
                font-size: 1.9rem;
            }
            .marketinsights-content, .marketinsights-inputsection, .marketinsights-footer {
                padding: 20px;
            }
            .marketinsights-inputsection {
                margin: 10px 20px 20px;
            }
            .marketinsights-footerlinks {
                gap: 15px;
            }
            .marketinsights-modalcontent {
                max-height: 90vh;
            }
        }

        @media (max-width: 400px) {
            .marketinsights-title {
                font-size: 1.7rem;
            }
            .marketinsights-cardtitle {
                font-size: 1.3rem;
            }
            .marketinsights-inputtitle {
                font-size: 1.5rem;
            }
            .marketinsights-footerlinks {
                flex-direction: column;
                gap: 12px;
            }
        }