﻿
@font-face {
    font-family: "Fredoka";
    src: url("../Fonts/Fredoka/Fredoka_SemiCondensed-Regular.ttf");
    font-display: swap;
}


.pageBody {

}

*, /*  scroll sizing - מונע הפתעות עקב אלמנטים שגולשים מרוחב הדף */
*::before,
*::after {
    box-sizing: border-box;
}

/* leaving window */

#divLeavingArea {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    z-index: 1;
}

#leavingWindow {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 500px;
    height: 250px;
    z-index: 1; /* on top other elements */
    border: 4px double #7c224d;
    background-color: lightblue;
    color: #7c224d;
    font-size: 22px;
    font-family: "Fredoka", Arial, sans-serif;
}

#spnLeavingWindow {

}

#btnLeavingWindow {
    border: 4px double #7c224d;
    background-color: lightblue;
    color: #7c224d;
    font-size: 22px;
    font-family: "Fredoka", Arial, sans-serif;
}


/*  Header Elements */


.headerTableSide {
    /*background-color: yellow;*/
}

#headerTableCenter-Right {
    /*background-color: orange;*/
}

#headerTableCenter-Left {
    /*background-color: orange;*/
}

#imgGamesHouseBanner {
    width: 300px;
    height: 81px;
    display: inline-block;
    transition: transform .22s ease, filter .22s ease;
}

#imgGamesHouseBanner:hover {
    transform: translateY(-2px) scale(1.015);
    filter: drop-shadow(0 0 14px rgba(167,244,255,.22)) brightness(1.06);
}

#imgLogo {
    width: 200px;
    height: 160px;
    display: inline-block;
    transition: transform .24s ease, filter .24s ease;
    transform-origin: 50% 62%;
}

#imgLogo:hover {
    transform: translateY(-3px) scale(1.035);
    filter: drop-shadow(0 0 16px rgba(255,230,170,.30)) drop-shadow(0 0 12px rgba(167,244,255,.18)) brightness(1.06);
}

#gameHeadline {
    color: gold;
    font-family: "Fredoka", Arial, sans-serif;
    font-size: 42px;
    line-height: 44px;
    letter-spacing: .25px;
    text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 12px rgba(255,210,120,.18);
}

#gameSubHeadline {
    color: #e7ddff;
    font-family: "Fredoka", Arial, sans-serif;
    font-size: 28px;
    line-height: 32px;
    font-weight: 600;
    letter-spacing: .2px;
    text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 12px rgba(190,150,255,.22);
}

#lnkHeaderLine {
    color: #a7f4ff;
    font-family: "Fredoka", Arial, sans-serif;
    font-size: 21px;
    line-height: 22px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(167,244,255,.85);
    text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 12px rgba(120,255,255,.22);
}

    #lnkHeaderLine:hover, .cat-anchors:hover {
    filter: brightness(1.18);
    text-decoration-thickness: 3px;
    text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 18px rgba(120,255,255,.35);
}

.pitInstructionPanel {
    max-width: 760px;
    margin: 4px auto 0 auto;
    padding: 6px 10px;
    color: #d9fbff;
    font-family: "Fredoka", Arial, sans-serif;
    font-size: 22px;
    line-height: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 12px rgba(120,255,255,.18);
}

.pitInstructionText {
    display: inline-block;
    max-width: 760px;
    color: #d9fbff;
    font-size: 20px;
    line-height: 29px;
    font-weight: 600;
}


/* The Page after the header */


/* the menus bar and the game zone */


.startPanelInner {
    padding: 28px 30px;
    text-align: center;
}

.startPanelAd {
    min-height: 90px;
    margin-bottom: 22px;
}

.startPanelText {
    max-width: 720px;
    margin: 0 auto 24px auto;
}

#btnLoadingTimeCommercial {
    color: white;
    background: linear-gradient(135deg, #3e6be0, #8a2be2);
    font-family: "Fredoka", Arial, sans-serif;
    font-size: 30px;
    width: 240px;
    height: 82px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#btnLoadingTimeCommercial:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 16px rgba(0,0,0,.55);
    filter: brightness(1.05);
}


#spnBelowGame a {
    color: #d7c4ff;
    font-weight: 700;
    text-decoration-color: rgba(215,196,255,.9);
}

#spnBelowGame a:visited {
    color: #f0d8ff;
    text-decoration-color: rgba(240,216,255,.95);
}

#spnBelowGame a:hover {
    color: #ffffff;
    filter: brightness(1.08);
}

.gameInfoTable {
    width: 95%;
}

.gameInfoLayout {
    display: flex;
    direction: rtl;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
}

.gameCatsArea {
    flex: 1 1 auto;
    min-width: 0;
}


#gameStatsUnderRecommended .literals,
#gameStatsUnderRecommended .labels {
    font-size: 20px;
    line-height: 25px;
}

.gameStatsVoter {
    display: inline-block;
    float: none !important;
}

.gameStatsVoter .ratingStars {
    display: inline-block;
    float: none !important;
}

#divGame {
    border: 4px double #7c224d;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    /*border: 4px double #7c224d;*/
    color: lightblue;
    font-size: 22px;
    font-family: "Fredoka", Arial, sans-serif;
    display: inline-block;
    overflow: hidden;
    text-shadow: 0 2px 6px rgba(0,0,0,.85);
}

#gameIFrame, #gameEmbed
{
    overflow: hidden;
}

.upperCommercialDiv {
    /*    position: absolute;*/
    /*    top: 250px;
    height: 300px;*/
    /*    left: 1000px;*/
    /*background-color: wheat;*/
}

.lowerCommercialDivs {
    height: 300px;
    display:inline-block;
    min-height:300px;
    /*background-color: wheat;*/
}

.lowerAnimations {
    float: right;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.lowerAnimations img {
    transition: transform .22s ease, filter .22s ease;
    filter: drop-shadow(0 2px 7px rgba(0,0,0,.45));
}

.lowerAnimations img:hover {
    transform: translateY(-4px) scale(1.045);
    filter: drop-shadow(0 0 14px rgba(167,244,255,.24)) drop-shadow(0 3px 8px rgba(0,0,0,.55)) brightness(1.05);
}

/* Move the header animation box a little to the right, without changing layout flow. */
#aniBoxDesktopWrap {
    display: inline-block;
    transform: translateX(100px);
    position: relative;
    z-index: 20;
}

#sideInfoBar {
    /*background-color: lightgoldenrodyellow;*/
}


#divPopularUnderAd {
    position: absolute;
    top: 1100px;
    left: 1520px;
    width: 300px;
    min-width: 300px;
    text-align: center;
    direction: rtl;
    display: inline-block;
    z-index: 35;
}

#divPopularUnderAd .ghCatDropWrap {
    width: 220px;
    margin: 0 auto;
}

#divPopularUnderAd .GameLabel {
    display: inline-block;
    color: #a7f4ff;
    font-family: "Fredoka", Arial, sans-serif;
    font-size: 25px;
    line-height: 30px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 14px rgba(120,255,255,.28);
}

#divPopularUnderAd .imgGame {
    width: 180px;
    height: 150px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(0,0,0,.38), 0 0 15px rgba(167,244,255,.12);
    transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

#divPopularUnderAd .ghCatDropBtn:hover .imgGame {
    transform: translateY(-3px) scale(1.03);
    filter: brightness(1.07);
    box-shadow: 0 10px 22px rgba(0,0,0,.45), 0 0 20px rgba(167,244,255,.22);
}

#divPopularUnderAd .GameLabelBelowGame {
    display: block;
    margin-top: 4px;
    color: #c9fff3;
    font-family: "Fredoka", Arial, sans-serif;
    font-size: 19px;
    line-height: 23px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 10px rgba(120,255,230,.18);
}

#divPopularUnderAd .ghCatDropList {
    left: auto;
    right: 0;
    transform: translateY(-8px) scaleY(0.85);
    transform-origin: top right;
    width: 270px;
    max-height: 360px;
    text-align: right;
    direction: rtl;
}

#divPopularUnderAd .ghCatDropList.ghOpen {
    transform: translateY(0) scaleY(1);
}

#divPopularUnderAd .ghCatDropItem {
    font-family: "Fredoka", Arial, sans-serif;
    font-size: 17px;
    line-height: 21px;
}


#about {
    background-image: url(../Images/System/PurpleHeader.webp);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 840px;
    font-family: "Fredoka", Arial, sans-serif;
    display: inline-block;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

.ratingStars {
    width: 22px;
    height: 22px;
    cursor: pointer;
    background-repeat: no-repeat;
    display: block;
}

.savedRatingStar {
    background-image: url('Images/System/Saved-Star.jpg');
    width: 24px;
    height: 24px;
}

.filledRatingStar {
    background-image: url('Images/System/Filled-Star.png');
    width: 24px;
    height: 24px;
}

.emptyRatingStar {
    background-image: url('Images/System/Empty-Star.png');
    width: 24px;
    height: 24px;
}

.literals {
    color: #ffd48a;
    font-size: 23px;
    line-height: 28px;
    font-weight: 700;
    font-family: "Fredoka", Arial, sans-serif;
    letter-spacing: .15px;
    text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 12px rgba(255,210,120,.16);
}

.labels {
    color: #c9fff3;
    font-size: 21px;
    line-height: 28px;
    font-weight: 600;
    font-family: "Fredoka", Arial, sans-serif;
    letter-spacing: .1px;
    text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 12px rgba(120,255,230,.14);
}

.cat-anchors {
    color: #a7f4ff;
    font-size: 23px;
    font-weight: 700;
    font-family: "Fredoka", Arial, sans-serif;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(167,244,255,.85);
    text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 12px rgba(120,255,255,.22);
}


/* =========================================================
   Minimal magical polish (requested)
   - Subtle shimmer for game headline
   - Visible soft glow for sub-headline
   - Pearly-gold literals (less orange)
   - Rating stars sparkle more on hover
   ========================================================= */

/* 1) Shimmer headline (with safe fallback) */
@supports (-webkit-background-clip: text) {
    #gameHeadline {
        background-image: linear-gradient(
            90deg,
            #ffe7a6,
            #fff6d8,
            #ffd48a,
            #fff6d8,
            #ffe7a6
        );
        background-size: 260% 100%;
        -webkit-background-clip: text;
        background-clip: text;

        /* keep your existing size/spacing, only swap color rendering */
        color: transparent;
        -webkit-text-fill-color: transparent;

        animation: ghHeadlineShimmer 7.5s ease-in-out infinite;
    }
}

@keyframes ghHeadlineShimmer {
    0%   { background-position: 0% 50%;   filter: saturate(1.00); }
    50%  { background-position: 100% 50%; filter: saturate(1.06); }
    100% { background-position: 0% 50%;   filter: saturate(1.00); }
}

/* 2) Sub-headline: a visible, calm “breathing” glow */
#gameSubHeadline {
    animation: ghSubGlow 5.8s ease-in-out infinite;
}

@keyframes ghSubGlow {
    0% {
        text-shadow:
            0 2px 10px rgba(0,0,0,.95),
            0 0 12px rgba(190,150,255,.22);
        filter: brightness(1.00);
    }
    50% {
        text-shadow:
            0 2px 12px rgba(0,0,0,.96),
            0 0 20px rgba(200,170,255,.35);
        filter: brightness(1.06);
    }
    100% {
        text-shadow:
            0 2px 10px rgba(0,0,0,.95),
            0 0 12px rgba(190,150,255,.22);
        filter: brightness(1.00);
    }
}

/* 3) Pearly-gold values (less orange, still warm) */
.literals {
    color: #fff2d9 !important; /* pearly gold */
    text-shadow:
        0 2px 10px rgba(0,0,0,.95),
        0 0 14px rgba(255,230,170,.22) !important;
}

/* 4) Rating stars: sparkle more on hover (no JS, lightweight) */
.ratingStars {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.65));
}

.ratingStars:hover {
    animation: ghStarTwinkle 1.05s ease-in-out infinite;
    filter:
        drop-shadow(0 2px 6px rgba(0,0,0,.78))
        drop-shadow(0 0 12px rgba(255,230,170,.35))
        drop-shadow(0 0 18px rgba(167,244,255,.18));
}

@keyframes ghStarTwinkle {
    0%   { transform: scale(1.00); filter: brightness(1.00); }
    35%  { transform: scale(1.07); filter: brightness(1.18); }
    70%  { transform: scale(1.03); filter: brightness(1.06); }
    100% { transform: scale(1.00); filter: brightness(1.00); }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    #gameHeadline,
    #gameSubHeadline,
    .ratingStars:hover {
        animation: none !important;
    }
}

/* =========================================================
   Balloon float animation (subtle, visible)
   Notes:
   - Does NOT require runat="server"
   - Targets ids balloon01..balloon09 (as in your Game.aspx)
   ========================================================= */

#balloon01, #balloon02, #balloon03, #balloon04, #balloon05,
#balloon06, #balloon07, #balloon08, #balloon09 {
    display: inline-block;
    position: relative;
    z-index: 2;
    transform-origin: 50% 100%;
    will-change: transform;
    animation-name: ghBalloonFloat;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

/* Stagger: different speed + phase so they don't move together */
#balloon01 {
    animation-duration: 6.0s;
    animation-delay: .10s;
}

#balloon02 {
    animation-duration: 7.1s;
    animation-delay: .65s;
}

#balloon03 {
    animation-duration: 6.6s;
    animation-delay: .30s;
}

#balloon04 {
    animation-duration: 7.6s;
    animation-delay: .95s;
}

#balloon05 {
    animation-duration: 6.3s;
    animation-delay: .22s;
}

#balloon06 {
    animation-duration: 7.2s;
    animation-delay: .72s;
}

#balloon07 {
    animation-duration: 6.8s;
    animation-delay: .40s;
}

#balloon08 {
    animation-duration: 7.8s;
    animation-delay: 1.05s;
}

#balloon09 {
    animation-duration: 6.9s;
    animation-delay: .52s;
}

@keyframes ghBalloonFloat {
    0% {
        transform: translate(0px, 0px) rotate(0deg) scale(1.00);
    }

    25% {
        transform: translate(2px, -6px) rotate(0.6deg) scale(1.01);
    }

    50% {
        transform: translate(0px, -14px) rotate(1.2deg) scale(1.02);
    }

    75% {
        transform: translate(-2px, -7px) rotate(0.6deg) scale(1.01);
    }

    100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1.00);
    }
}

@media (prefers-reduced-motion: reduce) {
    #balloon01, #balloon02, #balloon03, #balloon04, #balloon05,
    #balloon06, #balloon07, #balloon08, #balloon09 {
        animation: none !important;
    }
}

/* Minimal hover polish: keep motion gentle and respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    #imgLogo,
    #imgGamesHouseBanner,
    .lowerAnimations img {
        transition: none !important;
    }

    #imgLogo:hover,
    #imgGamesHouseBanner:hover,
    .lowerAnimations img:hover {
        transform: none !important;
    }
}


/* CLS reserve: fixed dimensions for desktop header/footer decorative images and layout tables. */


#balloon01, #balloon02, #balloon03, #balloon04,
#balloon05, #balloon06, #balloon07, #balloon08, #balloon09 {
    width: 70px;
    height: 133px;
    object-fit: contain;
}

#StrategySecretsCommercial {
    min-height: 70px;
}

#divLowerParts table,
#divLowerParts2 table {
    table-layout: fixed;
}

    

        #headerTableCenter-Left #gameHeadline {margin:10px 0 4px;}
        #headerTableCenter-Left #gameSubHeadline {margin:4px 0;}
        #headerTableCenter-Left .ghGameBreadcrumbHost {position:static;display:block;clear:both;width:100%;max-width:520px;margin:6px 0 0;}
        #headerTableCenter-Left .ghGameBreadcrumbHost .ghBreadcrumb {position:static;display:block;max-width:100%;margin:0;padding:3px 6px;font:14px/20px Arial,sans-serif;color:#e7ddff;background:rgba(0,0,0,.3);border-radius:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:inherit;}
        #headerTableCenter-Left .ghGameBreadcrumbHost .ghBreadcrumb a {color:#a7f4ff;text-decoration:underline;}
    

        /* Keep the original desktop columns, sizes, colors and tables. */

        #ghGameCategories {margin:0 0 16px;text-align:inherit;}

        #divLowerParts main, #divLowerParts .gameInfoTable {line-height:1.5;white-space:normal;overflow-wrap:break-word;}
        #divLowerParts main .labels {display:block;}
    