/* LottoMate V3 - image-layout based main */

:root {
    --v3-navy-950: #061426;
    --v3-navy-900: #0a213d;
    --v3-navy-800: #123b69;
    --v3-blue: #176eff;
    --v3-blue-dark: #0f54d7;
    --v3-gold: #e2a62e;
    --v3-gold-light: #f7d881;
    --v3-green: #27ad6b;
    --v3-purple: #7858f1;
    --v3-bg: #eef3f9;
    --v3-card: #ffffff;
    --v3-line: #d9e3ef;
    --v3-text: #14233a;
    --v3-muted: #6d7c90;
    --v3-shadow: 0 14px 34px rgba(15, 43, 77, 0.12);
}

.lm-v3-page {
    min-height: 100vh;
    padding-bottom: 44px;
    background:
        linear-gradient(180deg, #092242 0, #154f8d 515px, #edf3f9 515px, #f8fafc 100%);
    color: var(--v3-text);
}

.lm-v3-container {
    width: min(1480px, calc(100% - 46px));
    margin: 0 auto;
}

.lm-v3-hero {
    padding-top: 22px;
}

.lm-v3-hero-grid {
    min-height: 450px;
    display: grid;
    grid-template-columns: minmax(380px, 0.9fr) minmax(320px, 0.72fr) minmax(530px, 1.18fr);
    gap: 18px;
    align-items: stretch;
}

.lm-v3-hero-copy {
    padding: 42px 16px 36px 22px;
    color: #fff;
}

.lm-v3-eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    color: #70b8ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.lm-v3-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.lm-v3-hero-copy h1 em {
    color: var(--v3-gold-light);
    font-style: normal;
}

.lm-v3-hero-copy p {
    margin: 22px 0 0;
    color: #c8d8ea;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.7;
}

.lm-v3-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.lm-v3-btn {
    min-height: 52px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    border: 1px solid transparent;
}

.lm-v3-btn-gold {
    color: #1d2a3f;
    background: linear-gradient(135deg, #f7d985, #dfa128);
    box-shadow: 0 12px 26px rgba(222, 160, 38, 0.25);
}

.lm-v3-btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.07);
}

.lm-v3-feature-points {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 28px;
    color: #c5d6e8;
    font-size: 12px;
    font-weight: 800;
}

.lm-v3-feature-points span:before {
    content: "•";
    margin-right: 7px;
    color: var(--v3-gold-light);
}

.lm-v3-visual {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.lm-v3-orbit {
    position: absolute;
    top: 95px;
    left: 50%;
    width: 230px;
    height: 230px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid rgba(92, 172, 255, .5);
    background:
        radial-gradient(circle at 38% 32%, rgba(102,196,255,.9), transparent 9%),
        radial-gradient(circle at 50% 50%, rgba(44,132,255,.48), rgba(6,27,54,.2) 54%, rgba(4,20,40,.88) 72%);
    box-shadow:
        0 0 0 18px rgba(27,111,218,.08),
        0 0 70px rgba(42,136,255,.45);
}

.lm-v3-orbit:before,
.lm-v3-orbit:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(92,174,255,.25);
}

.lm-v3-orbit:before {
    inset: -28px;
}

.lm-v3-orbit:after {
    inset: -54px;
}

.lm-v3-orbit-ball {
    position: absolute;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    border: 2px solid rgba(255,255,255,.35);
    box-shadow: inset 0 3px 8px rgba(255,255,255,.22), 0 8px 16px rgba(0,0,0,.25);
}

.lm-v3-orbit-ball-1 { top: 30px; left: 82px; background: #347bdc; }
.lm-v3-orbit-ball-2 { top: 67px; right: 28px; background: #2faa67; }
.lm-v3-orbit-ball-3 { top: 105px; left: 24px; background: #e3a72c; }
.lm-v3-orbit-ball-4 { bottom: 39px; left: 82px; background: #df594d; }
.lm-v3-orbit-ball-5 { bottom: 30px; right: 29px; background: #7858f1; }

.lm-v3-platform {
    position: absolute;
    left: 50%;
    bottom: 45px;
    width: 310px;
    height: 72px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(39,133,247,.78), rgba(7,41,82,.2) 66%, transparent 72%);
    box-shadow: 0 0 35px rgba(37,130,244,.55);
}

.lm-v3-chart-card {
    position: absolute;
    border: 1px solid rgba(104,180,255,.22);
    border-radius: 14px;
    background: rgba(12,52,95,.45);
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 28px rgba(0,0,0,.15);
}

.lm-v3-chart-card-a {
    top: 55px;
    left: 12px;
    width: 145px;
    height: 105px;
    padding: 20px 18px 14px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.lm-v3-chart-card-a i {
    flex: 1;
    min-height: 22px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #53b6ff, #176eff);
}

.lm-v3-chart-card-a i:nth-child(2) { height: 38px; }
.lm-v3-chart-card-a i:nth-child(3) { height: 54px; }
.lm-v3-chart-card-a i:nth-child(4) { height: 70px; }
.lm-v3-chart-card-a i:nth-child(5) { height: 88px; }

.lm-v3-chart-card-b {
    top: 64px;
    right: 5px;
    width: 100px;
    height: 100px;
}

.lm-v3-chart-card-b span {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: conic-gradient(#2f7fff 0 38%, #44d192 38% 64%, #8b5df5 64% 82%, rgba(255,255,255,.12) 82%);
}

.lm-v3-result-card {
    position: relative;
    margin: 0;
    padding: 26px 28px 24px;
    border: 1px solid rgba(241,199,100,.5);
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 15%, rgba(67,139,231,.14), transparent 28%),
        linear-gradient(145deg, #0b1d36, #123861);
    box-shadow: var(--v3-shadow);
    overflow: hidden;
}

.lm-v3-ribbon {
    position: absolute;
    top: 12px;
    right: -38px;
    width: 150px;
    height: 34px;
    display: grid;
    place-items: center;
    transform: rotate(45deg);
    color: #fff;
    background: linear-gradient(135deg, #f5cc6c, #d6981b);
    font-size: 11px;
    font-weight: 900;
}

.lm-v3-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-right: 46px;
}

.lm-v3-result-head span,
.lm-v3-result-head time {
    color: #b8cbe1;
    font-size: 13px;
    font-weight: 750;
}

.lm-v3-result-head h2 {
    margin: 7px 0 0;
    color: #fff;
    font-size: 34px;
}

.lm-v3-result-balls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 28px 0 24px;
}

.lm-v3-ball {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    border: 2px solid rgba(255,255,255,.38);
    box-shadow: inset 0 4px 8px rgba(255,255,255,.23), 0 8px 16px rgba(0,0,0,.26);
}

.lm-v3-ball.mb1 { background: #e6aa29; }
.lm-v3-ball.mb2 { background: #377bd6; }
.lm-v3-ball.mb3 { background: #df5b4e; }
.lm-v3-ball.mb4 { background: #46515e; }
.lm-v3-ball.mb5 { background: #2fab68; }

.lm-v3-result-balls b {
    color: #d9e4f2;
    font-size: 24px;
}

.lm-v3-result-summary {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255,255,255,.12);
}

.lm-v3-result-summary div {
    padding: 17px;
    text-align: center;
    background: rgba(5,22,42,.45);
}

.lm-v3-result-summary span,
.lm-v3-result-summary strong {
    display: block;
}

.lm-v3-result-summary span {
    color: #9fb5ce;
    font-size: 11px;
}

.lm-v3-result-summary strong {
    margin-top: 6px;
    color: #fff;
    font-size: 16px;
}

.lm-v3-result-link {
    min-height: 46px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    background: rgba(255,255,255,.04);
}

.lm-v3-feature-strip-section {
    margin-top: -5px;
}

.lm-v3-feature-strip {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    overflow: hidden;
    border: 1px solid var(--v3-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--v3-shadow);
}

.lm-v3-feature-card {
    position: relative;
    min-height: 150px;
    padding: 22px 22px 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto;
    gap: 13px;
    color: var(--v3-text);
    text-decoration: none;
    border-right: 1px solid var(--v3-line);
}

.lm-v3-feature-card:last-child {
    border-right: 0;
}

.lm-v3-feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
}

.lm-v3-icon-blue {
    color: #fff;
    background: linear-gradient(145deg, #48a4ff, #1767e8);
}

.lm-v3-icon-gold {
    color: #fff;
    background: linear-gradient(145deg, #f6cf70, #d69515);
}

.lm-v3-feature-card strong {
    display: block;
    font-size: 17px;
}

.lm-v3-feature-card p {
    margin: 6px 0 0;
    color: var(--v3-muted);
    font-size: 12px;
    line-height: 1.5;
}

.lm-v3-feature-card em {
    grid-column: 1 / -1;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--v3-blue);
    background: #f2f6fc;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.lm-v3-feature-gold em {
    color: #fff;
    background: linear-gradient(135deg, #e5ad3d, #c98611);
}

.lm-v3-gold-tag {
    position: absolute;
    top: 10px;
    right: 12px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #63420b;
    background: #f9dc91;
    font-size: 10px;
    font-weight: 900;
}

.lm-v3-dashboard-section {
    margin-top: 14px;
}

.lm-v3-dashboard-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1.05fr 1fr;
    gap: 14px;
}

.lm-v3-dashboard-card {
    min-height: 264px;
    padding: 20px;
    border: 1px solid var(--v3-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(17,49,85,.08);
}

.lm-v3-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lm-v3-card-title h3 {
    margin: 0;
    font-size: 18px;
}

.lm-v3-card-title a {
    color: var(--v3-blue);
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
}

.lm-v3-number-status {
    display: grid;
    grid-template-columns: 138px 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
}

.lm-v3-donut {
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background:
        radial-gradient(circle, #fff 0 48%, transparent 49%),
        conic-gradient(#277bf2 0 54%, #32bd78 54% 82%, #7a5af3 82% 92%, #e4e9ef 92%);
}

.lm-v3-donut span {
    font-size: 28px;
    font-weight: 900;
}

.lm-v3-donut small {
    margin-top: 2px;
    color: var(--v3-muted);
    font-size: 10px;
}

.lm-v3-number-status ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.lm-v3-number-status li {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 0;
    color: var(--v3-muted);
    font-size: 12px;
}

.lm-v3-number-status li b {
    margin-left: auto;
    color: var(--v3-text);
}

.lm-v3-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.lm-v3-dot-blue { background: #277bf2; }
.lm-v3-dot-green { background: #32bd78; }
.lm-v3-dot-purple { background: #7a5af3; }

.lm-v3-status-foot {
    margin-top: 13px;
    padding-top: 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #edf1f5;
}

.lm-v3-status-foot span {
    color: var(--v3-green);
    font-size: 12px;
    font-weight: 900;
}

.lm-v3-status-foot small {
    color: var(--v3-muted);
    font-size: 10px;
}

.lm-v3-summary-list {
    margin: 20px 0 0;
}

.lm-v3-summary-list div {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #edf1f5;
}

.lm-v3-summary-list dt {
    color: var(--v3-muted);
    font-size: 12px;
}

.lm-v3-summary-list dd {
    margin: 0;
    font-size: 15px;
    font-weight: 900;
}

.lm-v3-stat-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 17px;
}

.lm-v3-stat-boxes div {
    min-height: 92px;
    padding: 13px;
    border-radius: 12px;
    background: #f3f6fb;
}

.lm-v3-stat-boxes span,
.lm-v3-stat-boxes strong,
.lm-v3-stat-boxes small {
    display: block;
}

.lm-v3-stat-boxes span {
    color: var(--v3-muted);
    font-size: 10px;
}

.lm-v3-stat-boxes strong {
    margin-top: 7px;
    color: var(--v3-text);
    font-size: 20px;
}

.lm-v3-stat-boxes small {
    margin-top: 5px;
    color: #8b98a9;
    font-size: 9px;
}

.lm-v3-notice-list {
    margin-top: 13px;
}

.lm-v3-notice-list a {
    padding: 11px 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #edf1f5;
    color: var(--v3-text);
    text-decoration: none;
    font-size: 12px;
}

.lm-v3-notice-list span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lm-v3-notice-list time {
    color: #8a98a9;
    white-space: nowrap;
    font-size: 10px;
}

.lm-v3-banner-section {
    margin-top: 14px;
}

.lm-v3-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lm-v3-banner {
    min-height: 108px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,43,77,.08);
}

.lm-v3-mobile-banner {
    color: #fff;
    background: linear-gradient(135deg, #0a2140, #104a86);
    border: 1px solid rgba(101,174,255,.25);
}

.lm-v3-gold-banner {
    color: #fff;
    background:
        radial-gradient(circle at 90% 50%, rgba(230,171,46,.18), transparent 30%),
        linear-gradient(135deg, #0c1e35, #2b281d);
    border: 1px solid rgba(234,190,84,.36);
}

.lm-v3-banner h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.lm-v3-banner p {
    margin: 5px 0 0;
    color: #c5d5e6;
    font-size: 12px;
}

.lm-v3-banner a {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
}

.lm-v3-gold-banner a {
    color: #2e220a;
    background: linear-gradient(135deg, #f5d27c, #d99d23);
    border-color: transparent;
}

.lm-v3-phone-art {
    width: 118px;
    height: 76px;
    position: relative;
    border-radius: 15px;
    background: linear-gradient(145deg, #0c1630, #1d61af);
    transform: rotate(-7deg);
    box-shadow: 0 12px 22px rgba(0,0,0,.25);
}

.lm-v3-phone-art:before {
    content: "";
    position: absolute;
    inset: 7px 20px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 9px;
}

.lm-v3-phone-art span {
    position: absolute;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.lm-v3-phone-art span:nth-child(1) { left: 11px; bottom: -4px; background: #377bd6; }
.lm-v3-phone-art span:nth-child(2) { left: 46px; bottom: -9px; background: #e2a62d; }
.lm-v3-phone-art span:nth-child(3) { right: 3px; bottom: 2px; background: #2fab68; }

.lm-v3-crown-mark {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #f5cb6a;
    border: 1px solid rgba(239,192,80,.35);
    background: rgba(225,165,45,.09);
    font-size: 32px;
}

@media (max-width: 1260px) {
    .lm-v3-hero-grid {
        grid-template-columns: minmax(360px, .9fr) minmax(270px, .65fr) minmax(470px, 1.1fr);
    }

    .lm-v3-feature-strip {
        grid-template-columns: repeat(3,1fr);
    }

    .lm-v3-feature-card {
        border-bottom: 1px solid var(--v3-line);
    }

    .lm-v3-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 980px) {
    .lm-v3-hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lm-v3-hero-copy {
        grid-column: 1 / -1;
        padding: 32px 20px;
    }

    .lm-v3-visual {
        min-height: 390px;
    }

    .lm-v3-feature-strip {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 720px) {
    .lm-v3-container {
        width: calc(100% - 24px);
    }

    .lm-v3-page {
        background: linear-gradient(180deg, #0a294d 0, #16528e 830px, #edf3f9 830px, #f8fafc 100%);
    }

    .lm-v3-hero-grid {
        grid-template-columns: 1fr;
    }

    .lm-v3-hero-copy,
    .lm-v3-visual,
    .lm-v3-result-card {
        grid-column: auto;
    }

    .lm-v3-hero-copy h1 {
        font-size: 42px;
    }

    .lm-v3-visual {
        min-height: 340px;
    }

    .lm-v3-result-card {
        padding: 22px;
    }

    .lm-v3-feature-strip {
        grid-template-columns: 1fr;
    }

    .lm-v3-feature-card {
        border-right: 0;
    }

    .lm-v3-dashboard-grid,
    .lm-v3-banner-grid {
        grid-template-columns: 1fr;
    }

    .lm-v3-banner {
        grid-template-columns: auto 1fr;
    }

    .lm-v3-banner a {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .lm-v3-hero-copy {
        padding: 24px 10px;
    }

    .lm-v3-hero-copy h1 {
        font-size: 34px;
    }

    .lm-v3-hero-copy p {
        font-size: 14px;
    }

    .lm-v3-hero-actions {
        display: grid;
    }

    .lm-v3-btn {
        width: 100%;
    }

    .lm-v3-feature-points {
        gap: 10px;
    }

    .lm-v3-visual {
        min-height: 300px;
    }

    .lm-v3-orbit {
        width: 190px;
        height: 190px;
        top: 60px;
    }

    .lm-v3-platform {
        width: 260px;
        bottom: 20px;
    }

    .lm-v3-chart-card-a {
        width: 110px;
        height: 82px;
    }

    .lm-v3-chart-card-b {
        width: 80px;
        height: 80px;
    }

    .lm-v3-ball {
        width: 43px;
        height: 43px;
        font-size: 15px;
    }

    .lm-v3-result-summary {
        grid-template-columns: 1fr;
    }

    .lm-v3-number-status {
        grid-template-columns: 1fr;
    }

    .lm-v3-donut {
        margin: 0 auto;
    }

    .lm-v3-stat-boxes {
        grid-template-columns: 1fr;
    }

    .lm-v3-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lm-v3-phone-art,
    .lm-v3-crown-mark {
        margin: 0 auto;
    }
}
