/* GameForgeon Universe Styles - Unique Design System */

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

body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(145deg, #0d1228 0%, #1c0e3f 55%, #0d1228 100%);
    background-attachment: fixed;
    color: #e9e9e9;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 25% 45%, rgba(107, 76, 255, 0.12) 0%, transparent 55%),
                radial-gradient(ellipse at 75% 75%, rgba(0, 217, 255, 0.12) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    width: 2px;
    height: 2px;
    background: #fff;
    box-shadow:
        120px 180px #fff, 220px 120px #fff, 320px 280px #fff,
        420px 140px #fff, 170px 380px #fff, 520px 240px #fff,
        270px 480px #fff, 370px 430px #fff, 470px 330px #fff,
        580px 120px #fff, 120px 580px #fff, 680px 220px #fff,
        220px 680px #fff, 780px 320px #fff, 320px 780px #fff,
        70px 170px #00d9ff, 170px 70px #00d9ff, 570px 470px #00d9ff,
        470px 570px #00d9ff, 770px 170px #00d9ff, 170px 770px #00d9ff,
        670px 370px #6b4cff, 370px 670px #6b4cff, 270px 270px #6b4cff;
    animation: sparkle 3.5s infinite ease-in-out alternate;
    z-index: 0;
    inset: 0;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.95; }
}

.gf-wrap {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

header {
    background: #101230;
    border-bottom: 2px solid #00d9ff;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 217, 255, 0.25);
}

.gf-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gf-brand {
    font-family: 'Segoe UI', Roboto, Oxygen, sans-serif;
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(140deg, #00d9ff 0%, #6b4cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.2px;
    text-shadow: 0 0 25px rgba(0, 217, 255, 0.6);
}

.gf-age-mark {
    background: linear-gradient(140deg, #00d9ff 0%, #6b4cff 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 5px 18px rgba(0, 217, 255, 0.35);
}

.gf-banner {
    padding: 36px 0;
}

.gf-banner-box {
    border: 2px solid #00d9ff;
    border-radius: 10px;
    padding: 32px;
    background: #1b1f3c;
    box-shadow: 0 0 35px rgba(0, 217, 255, 0.25), inset 0 0 35px rgba(0, 217, 255, 0.06);
}

.gf-banner-head {
    font-family: 'Segoe UI', Roboto, Oxygen, sans-serif;
    font-size: 34px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.25;
}

.gf-banner-head .gf-accent {
    color: #00d9ff;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.gf-banner-sub {
    text-align: center;
    font-size: 16px;
    color: #b0b0b0;
    margin-bottom: 22px;
}

.gf-notify-box {
    border: 2px solid #00d9ff;
    border-radius: 8px;
    padding: 16px;
    background: rgba(0, 217, 255, 0.09);
    margin-bottom: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.gf-notify-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.gf-notify-txt {
    color: #e9e9e9;
    font-size: 14px;
    line-height: 1.5;
}

.gf-notify-txt strong {
    color: #00d9ff;
    font-weight: 700;
}

.gf-btn-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.gf-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s;
    cursor: pointer;
    border: 2px solid;
    background: transparent;
    font-family: 'Segoe UI', Roboto, Oxygen, sans-serif;
    letter-spacing: 0.5px;
}

.gf-btn:hover {
    transform: translateY(-2px);
}

.gf-btn-main {
    background: linear-gradient(140deg, #00d9ff 0%, #6b4cff 100%);
    color: #fff;
    border-color: #00d9ff;
    box-shadow: 0 5px 18px rgba(0, 217, 255, 0.45);
}

.gf-btn-main:hover {
    background: linear-gradient(140deg, #00b8e6 0%, #5c6bff 100%);
    box-shadow: 0 7px 24px rgba(0, 217, 255, 0.65);
}

.gf-btn-line {
    background: transparent;
    color: #00d9ff;
    border-color: #00d9ff;
}

.gf-btn-line:hover {
    background: rgba(0, 217, 255, 0.12);
}

.gf-info-cards {
    padding: 36px 0;
}

.gf-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.gf-info-card {
    border: 2px solid #2a2a3e;
    border-radius: 8px;
    padding: 22px 18px;
    background: #1b1f3c;
    text-align: center;
    transition: border-color 0.3s;
}

.gf-info-card:hover {
    border-color: #00d9ff;
}

.gf-info-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.gf-info-head {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.gf-info-txt {
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.5;
}

.gf-segment {
    padding: 36px 0;
}

.gf-segment-head {
    font-family: 'Segoe UI', Roboto, Oxygen, sans-serif;
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    color: #00d9ff;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.gf-play-card {
    border: 2px solid #00d9ff;
    border-radius: 10px;
    padding: 32px;
    background: #1b1f3c;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 0 35px rgba(0, 217, 255, 0.25), inset 0 0 35px rgba(107, 76, 255, 0.06);
}

.gf-play-icon {
    font-size: 60px;
    margin-bottom: 18px;
}

.gf-play-head {
    font-family: 'Segoe UI', Roboto, Oxygen, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #00d9ff;
    margin-bottom: 14px;
}

.gf-play-desc {
    font-size: 15px;
    color: #b0b0b0;
    margin-bottom: 22px;
    line-height: 1.6;
}

.gf-feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

.gf-feat-card {
    border: 2px solid #2a2a3e;
    border-radius: 8px;
    padding: 22px 18px;
    background: #1b1f3c;
    text-align: center;
    transition: border-color 0.3s;
}

.gf-feat-card:hover {
    border-color: #00d9ff;
}

.gf-feat-icon {
    font-size: 44px;
    margin-bottom: 14px;
}

.gf-feat-head {
    font-size: 17px;
    font-weight: 700;
    color: #00d9ff;
    margin-bottom: 12px;
}

.gf-feat-txt {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.5;
}

.gf-detail-box {
    border: 2px solid #2a2a3e;
    border-radius: 8px;
    padding: 24px;
    background: #1b1f3c;
    margin-bottom: 18px;
}

.gf-detail-head {
    font-size: 19px;
    font-weight: 700;
    color: #00d9ff;
    margin-bottom: 12px;
}

.gf-detail-txt {
    font-size: 15px;
    color: #d0d0d0;
    line-height: 1.6;
}

.gf-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.gf-help-card {
    border: 2px solid #2a2a3e;
    border-radius: 8px;
    padding: 26px 18px;
    background: #1b1f3c;
    text-align: center;
    transition: border-color 0.3s;
}

.gf-help-card:hover {
    border-color: #00d9ff;
}

.gf-help-icon {
    font-size: 52px;
    margin-bottom: 14px;
}

.gf-help-head {
    font-size: 19px;
    font-weight: 700;
    color: #00d9ff;
    margin-bottom: 8px;
}

.gf-help-txt {
    font-size: 14px;
    color: #b0b0b0;
}

footer {
    background: #101230;
    border-top: 2px solid #00d9ff;
    padding: 36px 0 18px;
    margin-top: 44px;
}

.gf-foot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}

.gf-foot-col h3 {
    color: #00d9ff;
    font-size: 17px;
    margin-bottom: 12px;
    font-weight: 700;
}

.gf-foot-col ul {
    list-style: none;
}

.gf-foot-col li {
    margin-bottom: 8px;
}

.gf-foot-col a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
}

.gf-foot-col a:hover {
    color: #00d9ff;
}

.gf-foot-notice {
    color: #e9e9e9;
    font-size: 14px;
    line-height: 1.5;
}

.gf-foot-notice strong {
    color: #00d9ff;
}

.gf-terms-box {
    border: 2px solid #2a2a3e;
    border-radius: 8px;
    padding: 24px;
    background: #1b1f3c;
    margin-bottom: 24px;
}

.gf-terms-head {
    font-size: 19px;
    font-weight: 700;
    color: #00d9ff;
    text-align: center;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.gf-terms-item {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.gf-terms-item strong {
    color: #00d9ff;
}

.gf-foot-end {
    text-align: center;
    padding-top: 24px;
    border-top: 2px solid #2a2a3e;
}

.gf-foot-end p {
    color: #909090;
    font-size: 13px;
    margin-bottom: 8px;
}

.gf-foot-company {
    font-size: 14px;
    color: #d0d0d0;
    margin: 14px 0;
}

.gf-foot-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #b0b0b0;
    flex-wrap: wrap;
}

.gf-foot-alert strong {
    color: #00d9ff;
}

.gf-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.96);
    align-items: center;
    justify-content: center;
    animation: modalFade 0.35s ease;
}

@keyframes modalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gf-overlay-box {
    background: linear-gradient(185deg, #1b1f3c 0%, #0e0e0e 100%);
    margin: 12px auto;
    padding: 22px 16px 16px;
    border: 3px solid #00d9ff;
    border-radius: 14px;
    width: 96%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 0 45px rgba(0, 217, 255, 0.35);
    max-height: 96vh;
    overflow-y: auto;
}

.gf-close-btn {
    color: #b0b0b0;
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.25s;
    line-height: 1;
}

.gf-close-btn:hover {
    color: #00d9ff;
}

.gf-home-btn {
    position: absolute;
    top: 14px;
    left: 18px;
    background: linear-gradient(140deg, #00d9ff 0%, #6b4cff 100%);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 3px 12px rgba(0, 217, 255, 0.45);
}

.gf-home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 18px rgba(0, 217, 255, 0.65);
    background: linear-gradient(140deg, #33e0ff 0%, #5c6bff 100%);
}

.gf-home-btn:active {
    transform: translateY(0);
}

.gf-game-head {
    font-family: 'Segoe UI', Roboto, Oxygen, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #00d9ff;
    text-align: center;
    margin-bottom: 14px;
    text-transform: uppercase;
    padding: 0 90px;
}

.gf-game-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 18px;
    padding: 12px;
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid #00d9ff;
    border-radius: 8px;
}

.gf-tokens-view, .gf-cost-view {
    text-align: center;
}

.gf-tokens-lbl, .gf-cost-lbl {
    display: block;
    font-size: 11px;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.gf-tokens-val {
    font-size: 26px;
    font-weight: 800;
    color: #00d9ff;
}

.gf-cost-val {
    font-size: 20px;
    font-weight: 700;
    color: #6b4cff;
}

.gf-reels-zone {
    margin-bottom: 18px;
}

.gf-reels-frame {
    background: linear-gradient(135deg, #1b1f3c 0%, #2a1f4e 100%);
    border: 3px solid #6b4cff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: inset 0 0 30px rgba(107, 76, 255, 0.3);
    position: relative;
}

.gf-win-line {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #00d9ff 20%, #00d9ff 80%, transparent 100%);
    transform: translateY(-50%);
    opacity: 0.6;
    pointer-events: none;
}

.gf-reels-wrap {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.gf-reel {
    background: #0d0d0d;
    border: 2px solid #00d9ff;
    border-radius: 10px;
    width: 85px;
    height: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 15px rgba(0, 217, 255, 0.25);
}

.gf-reel.spinning {
    animation: reelSpin 0.15s linear infinite;
}

@keyframes reelSpin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

.gf-icon {
    font-size: 48px;
    line-height: 1;
    user-select: none;
}

.gf-game-ctrls {
    text-align: center;
    margin-bottom: 18px;
}

.gf-spin-btn {
    background: linear-gradient(140deg, #00d9ff 0%, #6b4cff 100%);
    color: #fff;
    border: none;
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 24px rgba(0, 217, 255, 0.5);
    transition: all 0.3s ease;
}

.gf-spin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.7);
    background: linear-gradient(140deg, #33e0ff 0%, #7d5cff 100%);
}

.gf-spin-btn:active {
    transform: translateY(-1px);
}

.gf-spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.gf-outcome-msg {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    min-height: 28px;
    margin-bottom: 12px;
}

.gf-outcome-msg.winner {
    color: #00ff88;
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
    animation: winPulse 0.6s ease-in-out;
}

@keyframes winPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gf-outcome-msg.loser {
    color: #ff4444;
}

.gf-prize-table {
    margin-top: 18px;
}

.gf-prize-table h3 {
    text-align: center;
    color: #00d9ff;
    font-size: 16px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.gf-prize-grid {
    display: grid;
    gap: 8px;
    font-size: 13px;
}

.gf-prize-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid #2a2a3e;
    border-radius: 6px;
}

.gf-prize-row span:first-child {
    font-size: 22px;
}

.gf-prize-row span:last-child {
    color: #00d9ff;
    font-weight: 700;
}

.gf-page-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    overflow: auto;
    padding: 24px;
}

.gf-page-box {
    background: linear-gradient(185deg, #1b1f3c 0%, #0a0a0a 100%);
    max-width: 820px;
    margin: 0 auto;
    border: 3px solid #00d9ff;
    border-radius: 14px;
    box-shadow: 0 0 45px rgba(0, 217, 255, 0.35);
}

.gf-page-head {
    background: rgba(0, 217, 255, 0.1);
    padding: 20px 24px;
    border-bottom: 2px solid #00d9ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gf-page-head h2 {
    color: #00d9ff;
    font-size: 24px;
    margin: 0;
    font-weight: 800;
}

.gf-page-close {
    color: #b0b0b0;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.25s;
    line-height: 1;
}

.gf-page-close:hover {
    color: #00d9ff;
}

.gf-page-content {
    padding: 28px;
    max-height: 70vh;
    overflow-y: auto;
    color: #d0d0d0;
    line-height: 1.7;
}

.gf-page-content h3 {
    color: #00d9ff;
    font-size: 20px;
    margin: 24px 0 14px;
    font-weight: 700;
}

.gf-page-content h3:first-child {
    margin-top: 0;
}

.gf-page-content p {
    margin-bottom: 14px;
    font-size: 15px;
}

.gf-page-content ul {
    margin: 12px 0 14px 24px;
    list-style: disc;
}

.gf-page-content li {
    margin-bottom: 8px;
    font-size: 14px;
}

.gf-page-content strong {
    color: #00d9ff;
    font-weight: 700;
}

.gf-page-content a {
    color: #00d9ff;
    text-decoration: underline;
}

.gf-page-content a:hover {
    color: #33e0ff;
}

@media (max-width: 768px) {
    .gf-banner-head {
        font-size: 26px;
    }

    .gf-banner-sub {
        font-size: 14px;
    }

    .gf-segment-head {
        font-size: 24px;
    }

    .gf-info-grid,
    .gf-feat-grid,
    .gf-help-grid {
        grid-template-columns: 1fr;
    }

    .gf-reel {
        width: 70px;
        height: 70px;
    }

    .gf-icon {
        font-size: 40px;
    }

    .gf-game-head {
        font-size: 18px;
        padding: 0 70px;
    }

    .gf-home-btn {
        font-size: 11px;
        padding: 8px 14px;
    }
}
