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

:root {
    --blue: #075d91;
    --blue-dark: #06456e;
    --nav-blue: #164f74;
    --orange: #ff9300;
    --green: #14a73b;
    --text: #4b5565;
    --border: #d6dce1;
}

html {
    background: #c7dde7;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #404957;
}

a {
    color: #1475ae;
}

.site-wrapper {
    width: min(1140px, calc(100% - 70px));
    min-height: 100vh;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .08);
}

.site-header {
    padding: 20px 10px 0;
}

.top-header {
    height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.site-logo {
    color: #555;
    text-decoration: none;
    font-size: 25px;
    font-weight: 700;
}

.search-area {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #344154;
    font-size: 12px;
    font-weight: 700;
}

.search-box {
    width: 200px;
    height: 38px;
    display: flex;
    align-items: center;
    border: 1px solid #c9cdd1;
    border-radius: 2px;
    background: #fff;
}

.search-icon {
    padding-left: 7px;
    color: #394657;
    font-size: 25px;
    line-height: 1;
}

.search-box input {
    width: 100%;
    height: 100%;
    padding: 0 8px;
    border: 0;
    outline: none;
    background: transparent;
}

.main-nav {
    height: 52px;
    display: flex;
    background: linear-gradient(#19577f, #10476c);
    border-bottom: 1px solid #092f4b;
}

.main-nav a {
    min-width: 110px;
    height: 52px;
    padding: 0 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, .08);
}

.main-nav .login-link {
    margin-left: auto;
    min-width: 155px;
    background: #0e4164;
}

.mobile-menu {
    display: none;
}

.page-content {
    padding: 20px 65px 0;
}

.ipo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 195px;
    gap: 10px;
}

.breadcrumb {
    margin-bottom: 7px;
    color: #1775aa;
    font-size: 12px;
    font-weight: 700;
}

.breadcrumb a {
    text-decoration: none;
}

.home-icon {
    color: var(--orange);
}

.page-title {
    color: var(--orange);
    font-size: 20px;
    font-weight: 500;
}

.small-divider {
    margin: 8px 0 4px;
    color: #444;
}

.overview-box {
    border: 1px solid #d5d5d5;
}

.blue-title {
    padding: 9px;
    background: #0573a9;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.overview-content {
    min-height: 490px;
    padding: 12px 10px 15px;
    background: #e5e5e5;
    color: #111;
}

.overview-content p {
    margin-bottom: 9px;
    font-size: 11px;
    line-height: 1.2;
}

.media-grid {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    padding: 0 40px;
}

.media-item h3 {
    min-height: 38px;
    margin-bottom: 6px;
    text-align: center;
    color: #111;
    font-size: 11px;
}

.video-placeholder {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.video-left {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .65)),
        #239db6;
}

.video-text {
    color: #00d7e8;
    font-size: 37px;
    font-weight: 900;
    transform: rotate(-5deg);
}

.youtube-button {
    width: 65px;
    height: 45px;
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f00;
    color: #fff;
    font-size: 25px;
    transform: translate(-50%, -50%);
}

.presentation {
    padding: 30px 20px;
    background: linear-gradient(105deg, #eee 0%, #fff 53%, #d7ebef 54%, #fff 100%);
}

.presentation-title {
    color: #252525;
    font-size: 17px;
    font-weight: 700;
}

.play-circle {
    width: 70px;
    height: 70px;
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #fff;
    border-radius: 50%;
    background: rgba(100, 100, 100, .55);
    color: #fff;
    font-size: 31px;
    transform: translate(-50%, -40%);
}

.nasdaq-mini {
    position: absolute;
    right: 18px;
    bottom: 18px;
    color: #29a3c8;
    font-size: 15px;
    font-weight: 700;
}

.approval {
    margin-top: 35px;
    font-size: 10px;
    font-weight: 700;
}

.sidebar {
    padding-left: 10px;
    border-left: 1px solid #f4a448;
}

.side-box {
    margin-bottom: 10px;
    border: 1px solid #d3d8dd;
}

.side-title {
    padding: 5px 8px;
    background: linear-gradient(#1682ba, #006396);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.side-content {
    padding: 10px;
}

.screen-placeholder {
    height: 135px;
    padding: 12px;
    position: relative;
    background: linear-gradient(145deg, #252525, #0f1114);
    color: #fff;
}

.screen-placeholder strong {
    display: block;
    margin-top: 12px;
    font-size: 10px;
}

.screen-placeholder span {
    display: block;
    margin-top: 4px;
    font-size: 24px;
}

.screen-logo {
    color: #45b8d8;
    font-size: 10px;
}

.press-item {
    display: flex;
    gap: 5px;
    margin-bottom: 14px;
    font-size: 10px;
}

.press-item strong {
    display: block;
    color: #222;
}

.press-item a {
    display: block;
    margin-top: 2px;
    color: #1675ac;
}

.arrow {
    color: var(--orange);
    font-size: 17px;
}

.fact-sheet {
    width: 105px;
    height: 165px;
    margin: 0 auto;
    padding: 13px 10px;
    background: #fff;
    box-shadow: 0 1px 7px rgba(0, 0, 0, .15);
    text-align: center;
}

.fact-logo {
    margin-bottom: 13px;
    color: #4babc4;
    font-size: 7px;
}

.fact-sheet strong {
    display: block;
    font-size: 7px;
}

.fact-image {
    width: 50px;
    height: 55px;
    margin: 12px auto;
    background: #25343c;
}

.fact-lines {
    width: 60px;
    height: 25px;
    margin: auto;
    background: repeating-linear-gradient(
        to bottom,
        #ddd 0,
        #ddd 1px,
        transparent 1px,
        transparent 4px
    );
}

.contact-info {
    color: #222;
    font-size: 10px;
    line-height: 1.3;
}

.contact-info a {
    display: block;
    margin: 12px 0 5px;
}

.stock-section {
    margin-top: 55px;
    padding: 32px 18px 40px;
    border: 1px solid #f0f0f0;
    background: #fff;
}

.stock-container {
    display: grid;
    grid-template-columns: 275px minmax(0, 1fr);
    gap: 30px;
}

.stock-info-container h1 {
    margin-bottom: 8px;
    color: #18ad3c;
    font-size: 36px;
    line-height: 1;
}

.chart-label {
    margin-bottom: 42px;
    color: #14a538;
    font-size: 12px;
    font-weight: 700;
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
}

.stock-table td {
    height: 43px;
    padding: 8px 7px;
    border: 1px solid #ddd;
    color: #777;
    font-size: 12px;
}

.stock-table td:last-child {
    color: #333;
    text-align: right;
    font-weight: 700;
}

.stock-chart {
    min-width: 0;
}

.chart-nav {
    height: 50px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#current-date {
    color: #8c8c8c;
    font-size: 10px;
}

.time-tabs {
    display: flex;
    border: 1px solid #ddd;
}

.tab {
    padding: 9px 15px;
    border-right: 1px solid #eee;
    color: #777;
    background: #fff;
    font-size: 10px;
    cursor: pointer;
}

.tab:last-child {
    border-right: 0;
}

.tab.active {
    color: #222;
    font-weight: 700;
}

.canvas-container {
    width: 100%;
    height: 320px;
    position: relative;
}

#myChart {
    width: 100% !important;
    height: 320px !important;
}

.lottery-table {
    width: 100%;
    margin-top: 28px;
    border-collapse: collapse;
    table-layout: fixed;
}

.lottery-table th,
.lottery-table td {
    height: 42px;
    padding: 8px;
    border: 1px solid #e2e2e2;
    text-align: center;
    color: #6b6b6b;
    font-size: 10px;
}

.lottery-table th {
    background: #fafafa;
    font-weight: 700;
}

.history-section {
    padding: 25px 0 70px;
}

.history-section h2 {
    margin-bottom: 22px;
    color: #1c2a40;
    font-size: 27px;
}

.history-table-wrapper {
    overflow-x: auto;
}

#dataTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#dataTable th,
#dataTable td {
    height: 34px;
    padding: 6px 10px;
    border: 1px solid #d5d5d5;
    text-align: center;
    color: #526078;
    font-size: 13px;
}

#dataTable th {
    background: #f6f6f6;
    font-weight: 700;
}

.footer {
    padding: 0 12px 12px;
    color: #5f5f5f;
    font-size: 10px;
}

.footer-top {
    padding: 0 0 8px;
    text-align: center;
}

.footer-top a,
.footer-bottom a {
    color: #5f5f5f;
    text-decoration: none;
}

.footer-top span {
    margin: 0 7px;
}

.footer-line {
    height: 2px;
    background: #5ab330;
}

.footer-bottom {
    min-height: 40px;
    display: flex;
    align-items: center;
}

.footer-brand {
    margin-right: 35px;
    color: #1685aa;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-weight: 700;
}

@media (max-width: 1050px) {
    .site-wrapper {
        width: calc(100% - 30px);
    }

    .page-content {
        padding-left: 30px;
        padding-right: 30px;
    }

    .main-nav a {
        min-width: auto;
        padding: 0 12px;
        font-size: 11px;
    }
}

@media (max-width: 800px) {
    html {
        background: #fff;
    }

    .site-wrapper {
        width: 100%;
    }

    .top-header {
        height: auto;
        padding: 5px 5px 20px;
        align-items: center;
    }

    .site-logo {
        font-size: 21px;
    }

    .search-area {
        display: none;
    }

    .main-nav {
        display: none;
        height: auto;
        flex-direction: column;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a,
    .main-nav .login-link {
        width: 100%;
        height: 45px;
        margin: 0;
        justify-content: flex-start;
    }

    .mobile-menu {
        width: 100%;
        padding: 12px;
        display: block;
        border: 0;
        background: var(--nav-blue);
        color: #fff;
        font-weight: 700;
    }

    .page-content {
        padding: 20px 15px 0;
    }

    .ipo-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        padding: 0;
        border-left: 0;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0;
    }

    .stock-container {
        grid-template-columns: 1fr;
    }

    .chart-label {
        margin-bottom: 15px;
    }
}

@media (max-width: 520px) {
    .overview-content {
        padding: 10px;
    }

    .stock-section {
        margin-top: 30px;
        padding: 20px 8px;
    }

    .stock-info-container h1 {
        font-size: 31px;
    }

    .chart-nav {
        height: auto;
        margin-bottom: 12px;
        flex-direction: column;
        gap: 10px;
    }

    .time-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .tab {
        flex: 1;
        padding: 8px 10px;
        white-space: nowrap;
    }

    .canvas-container,
    #myChart {
        height: 240px !important;
    }

    .history-section h2 {
        font-size: 22px;
    }

    #dataTable th,
    #dataTable td {
        font-size: 11px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}