.ct-section {
width:100%;
background-size:cover;
background-repeat:repeat;
}
.ct-section>.ct-section-inner-wrap {
display:flex;
flex-direction:column;
align-items:flex-start;
}
.ct-div-block {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.ct-new-columns {
display:flex;
width:100%;
flex-direction:row;
align-items:stretch;
justify-content:center;
flex-wrap:wrap;
}
.ct-link-text {
display:inline-block;
}
.ct-link {
display:flex;
flex-wrap:wrap;
text-align:center;
text-decoration:none;
flex-direction:column;
align-items:center;
justify-content:center;
}
.ct-link-button {
display:inline-block;
text-align:center;
text-decoration:none;
}
.ct-link-button {
background-color: #1e73be;
border: 1px solid #1e73be;
color: #ffffff;
padding: 10px 16px;
}
.ct-image {
max-width:100%;
}
.ct-fancy-icon>svg {
width:55px;height:55px;}
.ct-inner-content {
width:100%;
}
.ct-slide {
display:flex;
flex-wrap:wrap;
text-align:center;
flex-direction:column;
align-items:center;
justify-content:center;
}
.ct-nestable-shortcode {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-comments {
width:100%;
text-align:left;
}
.oxy-comment-form {
width:100%;
}
.oxy-login-form {
width:100%;
}
.oxy-search-form {
width:100%;
}
.oxy-tabs-contents {
display:flex;
width:100%;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-tab {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-tab-content {
display:flex;
width:100%;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-testimonial {
width:100%;
}
.oxy-icon-box {
width:100%;
}
.oxy-pricing-box {
width:100%;
}
.oxy-posts-grid {
width:100%;
}
.oxy-gallery {
width:100%;
}
.ct-slider {
width:100%;
}
.oxy-tabs {
display:flex;
flex-wrap:nowrap;
flex-direction:row;
align-items:stretch;
}
.ct-modal {
flex-direction:column;
align-items:flex-start;
}
.ct-span {
display:inline-block;
text-decoration:inherit;
}
.ct-widget {
width:100%;
}
.oxy-dynamic-list {
width:100%;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
			.ct-div-block,
			.oxy-post-content,
			.ct-text-block,
			.ct-headline,
			.oxy-rich-text,
			.ct-link-text { max-width: 100%; }
			img { flex-shrink: 0; }
			body * { min-height: 1px; }
		}            .oxy-testimonial {
                flex-direction: row;
                align-items: center;
            }
                        .oxy-testimonial .oxy-testimonial-photo-wrap {
                order: 1;
            }
            
                        .oxy-testimonial .oxy-testimonial-photo {
                width: 125px;                height: 125px;                margin-right: 20px;
            }
            
                        .oxy-testimonial .oxy-testimonial-photo-wrap, 
            .oxy-testimonial .oxy-testimonial-author-wrap, 
            .oxy-testimonial .oxy-testimonial-content-wrap {
                align-items: flex-start;                text-align: left;            }
            
                                                            .oxy-testimonial .oxy-testimonial-text {
                margin-bottom:8px;font-size: 21px;
line-height: 1.4;
-webkit-font-smoothing: subpixel-antialiased;
            }
            
                                    .oxy-testimonial .oxy-testimonial-author {
                font-size: 18px;
-webkit-font-smoothing: subpixel-antialiased;
            }
                            

                                                .oxy-testimonial .oxy-testimonial-author-info {
                font-size: 12px;
-webkit-font-smoothing: subpixel-antialiased;
            }
            
             
            
                        .oxy-icon-box {
                text-align: left;                flex-direction: column;            }
            
                        .oxy-icon-box .oxy-icon-box-icon {
                margin-bottom: 12px;
                align-self: flex-start;            }
            
                                                                        .oxy-icon-box .oxy-icon-box-heading {
                font-size: 21px;
margin-bottom: 12px;            }
            
                                                                                    .oxy-icon-box .oxy-icon-box-text {
                font-size: 16px;
margin-bottom: 12px;align-self: flex-start;            }
            
                        .oxy-icon-box .oxy-icon-box-link {
                margin-top: 20px;                            }
            
            
            /* GLOBALS */

                                                            .oxy-pricing-box .oxy-pricing-box-section {
                padding-top: 20px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 20px;
text-align: center;            }
                        
                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-price {
                justify-content: center;            }
            
            /* IMAGE */
                                                                                    .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-graphic {
                justify-content: center;            }
            
            /* TITLE */
                                                            
                                    .oxy-pricing-box .oxy-pricing-box-title-title {
                font-size: 48px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-title-subtitle {
                font-size: 24px;
            }
            

            /* PRICE */
                                                .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-price {
                                                flex-direction: row;                                            }
            
                                    .oxy-pricing-box .oxy-pricing-box-currency {
                font-size: 28px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-amount-main {
                font-size: 80px;
line-height: 0.7;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-amount-decimal {
                font-size: 13px;
            }
                        
                                    .oxy-pricing-box .oxy-pricing-box-term {
                font-size: 16px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-sale-price {
                font-size: 12px;
color: rgba(0,0,0,0.5);
                margin-bottom: 20px;            }
            
            /* CONTENT */

                                                                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-content {
                font-size: 16px;
color: rgba(0,0,0,0.5);
            }
            
            /* CTA */

                                                                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-cta {
                justify-content: center;            }
            
        
                                .oxy-progress-bar .oxy-progress-bar-background {
            background-color: #000000;            background-image: linear-gradient(-45deg,rgba(255,255,255,.12) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.12) 75%,transparent 75%,transparent);            animation: none 0s paused;        }
                
                .oxy-progress-bar .oxy-progress-bar-progress-wrap {
            width: 85%;        }
        
                                                        .oxy-progress-bar .oxy-progress-bar-progress {
            background-color: #66aaff;padding: 40px;animation: none 0s paused, none 0s paused;            background-image: linear-gradient(-45deg,rgba(255,255,255,.12) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.12) 75%,transparent 75%,transparent);        
        }
                
                        .oxy-progress-bar .oxy-progress-bar-overlay-text {
            font-size: 30px;
font-weight: 900;
-webkit-font-smoothing: subpixel-antialiased;
        }
        
                        .oxy-progress-bar .oxy-progress-bar-overlay-percent {
            font-size: 12px;
        }
        
        .ct-slider .unslider-nav ol li {border-color: #ffffff; }.ct-slider .unslider-nav ol li.unslider-active {background-color: #ffffff; }.ct-slider .ct-slide {
				padding: 0px;			}
		
                        .oxy-superbox .oxy-superbox-secondary, 
            .oxy-superbox .oxy-superbox-primary {
                transition-duration: 0.5s;            }
            
            
            
            
            
        
        
        
        
            .oxy-shape-divider {
                width: 0px;
                height: 0px;
                
            }
            
            .oxy_shape_divider svg {
                width: 100%;
            }
            .oxy-pro-menu .oxy-pro-menu-container:not(.oxy-pro-menu-open-container):not(.oxy-pro-menu-off-canvas-container) .sub-menu{
box-shadow:px px px px ;}

.oxy-pro-menu .oxy-pro-menu-show-dropdown .oxy-pro-menu-list .menu-item-has-children > a svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-show-dropdown .oxy-pro-menu-list .menu-item-has-children > a div{
margin-left:0px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon svg{
width:30px;
height:30px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon{
padding-top:15px;
padding-right:15px;
padding-bottom:15px;
padding-left:15px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon, .oxy-pro-menu .oxy-pro-menu-mobile-open-icon svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon{
top:20px;
left:20px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon svg{
width:24px;
height:24px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon, .oxy-pro-menu .oxy-pro-menu-mobile-close-icon svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container{
background-color:#ffffff;
}

.oxy-pro-menu .oxy-pro-menu-off-canvas-container, .oxy-pro-menu .oxy-pro-menu-open-container{
background-image:url();
}

.oxy-pro-menu .oxy-pro-menu-off-canvas-container .oxy-pro-menu-list .menu-item-has-children > a svg, .oxy-pro-menu .oxy-pro-menu-open-container .oxy-pro-menu-list .menu-item-has-children > a svg{
font-size:24px;
}

.oxy-pro-menu .oxy-pro-menu-dropdown-links-toggle.oxy-pro-menu-open-container .menu-item-has-children ul, .oxy-pro-menu .oxy-pro-menu-dropdown-links-toggle.oxy-pro-menu-off-canvas-container .menu-item-has-children ul{
background-color:rgba(0,0,0,0.2);
border-top-style:solid;
}

.oxy-pro-menu .oxy-pro-menu-container:not(.oxy-pro-menu-open-container):not(.oxy-pro-menu-off-canvas-container) .oxy-pro-menu-list{
                    flex-direction: row;
               }
.oxy-pro-menu .oxy-pro-menu-container .menu-item a{
                    text-align: left;
                    justify-content: flex-start;
                }
.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container .menu-item, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container .menu-item{
                    align-items: flex-start;
                }

            .oxy-pro-menu .oxy-pro-menu-off-canvas-container{
                    top: 0;
                    bottom: 0;
                    right: auto;
                    left: 0;
               }
.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container .oxy-pro-menu-list .menu-item a, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container .oxy-pro-menu-list .menu-item a{
                    text-align: left;
                    justify-content: flex-start;
                }

            .oxy-site-navigation {
--oxynav-brand-color:#4831B0;
--oxynav-neutral-color:#FFFFFF;
--oxynav-activehover-color:#EFEDF4;
--oxynav-background-color:#4831B0;
--oxynav-border-radius:0px;
--oxynav-other-spacing:8px;
--oxynav-transition-duration:0.3s;
--oxynav-transition-timing-function:cubic-bezier(.84,.05,.31,.93);
}

.oxy-site-navigation .oxy-site-navigation__mobile-close-wrapper{
text-align:left;
}

.oxy-site-navigation > ul{ left: 0; }
.oxy-site-navigation {
                        --oxynav-animation-name: none; 
                    }

                .oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1){ 
                    background-color: var(--oxynav-brand-color);
                    transition: var(--oxynav-transition-duration);
                    margin-left: var(--oxynav-other-spacing);
                    border: none;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2){ 
                    background: transparent;
                    border: 1px solid currentColor;
                    transition: var(--oxynav-transition-duration);
                    margin-left: var(--oxynav-other-spacing);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2):not(:hover) > img{
                    filter: invert(0) !important;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover{
                    background-color: var(--oxynav-activehover-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1) > a{
                    color: var(--oxynav-neutral-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2) > a{
                    color: var(--oxynav-brand-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover > a{
                    color: var(--oxynav-brand-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1) > a::after{
                    color: var(--oxynav-neutral-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2) > a::after{
                    color: var(--oxynav-brand-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover > a::after{
                    color: var(--oxynav-brand-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > ul{
                    display: none;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > button, .oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > ul{
                    display: none;
                }

                .ct-section-inner-wrap, .oxy-header-container{
  max-width: 1120px;
}
body {font-family: 'Lora';}body {line-height: 2;font-size: 18px;font-weight: 100;color: #ffffff;}.oxy-nav-menu-hamburger-line {background-color: #ffffff;}h1, h2, h3, h4, h5, h6 {font-family: 'IM Fell English SC';font-size: 36px;font-weight: 400;line-height: 1;}h2, h3, h4, h5, h6{font-size: 30px;font-weight: 400;line-height: 2;color: #8fbe21;}h3, h4, h5, h6{font-size: 24px;}h4, h5, h6{font-size: 20px;}h5, h6{font-size: 18px;}h6{font-size: 16px;}a {color: #8fbe21;font-weight: 700;text-decoration: none;}a:hover {color: #ed8d03;text-decoration: none;}.ct-link-text {color: #8fbe21;text-decoration: ;}.ct-link-text:hover {color: #ed8d03;}.ct-link {text-decoration: ;}.ct-link-button {border-radius: 3px;}.ct-section-inner-wrap {
padding-top: 75px;
padding-right: 20px;
padding-bottom: 75px;
padding-left: 20px;
}.ct-new-columns > .ct-div-block {
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
}.oxy-header-container {
padding-right: 20px;
padding-left: 20px;
}@media (max-width: 992px) {
				.ct-columns-inner-wrap {
					display: block !important;
				}
				.ct-columns-inner-wrap:after {
					display: table;
					clear: both;
					content: "";
				}
				.ct-column {
					width: 100% !important;
					margin: 0 !important;
				}
				.ct-columns-inner-wrap {
					margin: 0 !important;
				}
			}
.neon-text {
}
.arrow {
 z-index:200;
}
.game-map-wrapper {
}
.game-map-container {
}
.banner {
}
.town {
}
.wilds {
}
.bestiary {
}
.neon-box {
}
.animated-glow {
}
/* --- Global Dark Theme with High Contrast Columns & Cell Hover --- */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  color: #e0e0e0;
  /* Base background is the LIGHTER shade */
  background-color: #232323; 
}

/* Styles the header section */
table thead {
  background-color: #111111;
  color: #ffffff;
  text-align: left;
}

/* Adds padding to all cells */
table th,
table td {
  padding: 12px 15px;
  vertical-align: top;
  transition: background-color 0.2s ease-in-out; /* Smooth transition for hover */
}

/* Subtle bottom border for rows */
table tbody tr {
  border-bottom: 1px solid #333333;
}

table tbody tr:last-of-type {
  border-bottom: none;
}

/* --- High Contrast Alternating Columns --- */
/* Targets every ODD-numbered column (1st, 3rd, etc.) */

table th:nth-child(odd),
table td:nth-child(odd) {
  /* DARKER SHADE: Increased contrast for clarity */
  background-color: #141414; 
}

/* --- NEW: Hover effect on individual cells, not rows --- */
table tbody td:hover,
table thead th:hover {
    background-color: #444444; /* Highlight color for the hovered cell */
    cursor: pointer;
}/* NEW: This wrapper now handles centering and background */
.game-map-wrapper {
  /* You can set a specific height or let it be determined by its content */
  width: 100%;
  min-height: 100vh; /* Example: makes it fill the viewport height */
  padding: 2rem; /* Adds some space around the map */
  box-sizing: border-box; /* Ensures padding is included in the total width/height */
margin-top: -300px;
  /* These properties center the map container within the wrapper */
  display: flex;
  justify-content: center;
  align-items: center;

  /* The dark background is now safely contained here */
  background-color: #000000;
overflow-y: hidden;
}

/* NO CHANGES TO THE STYLES BELOW */

.game-map-container {
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1920 / 920;
  background-image: url('YOUR_IMAGE_URL_HERE'); /* Replace with your image */
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at center, black 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 50% at center, black 60%, transparent 100%);

}

.banner {
  position: absolute;
  background-color: #f8f8f8;
  padding: 8px 20px;
  border-radius: 5px;
  font-family: 'MedievalSharp', cursive;
  font-size: 1.8vw;
  color: #333;
  text-align: center;
  white-space: nowrap;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
  box-shadow: inset 0 0 5px rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.1);
}

.banner.bestiary {
  top: 25%;
  left: 55%;
  transform: translate(-50%, -50%);
}

.banner.wilds {
  top: 48%;
  left: 28%;
  transform: translate(-50%, -50%);
}

.banner.town {
  top: 68%;
  left: 10%;
  transform: translate(-50%, -50%);
}

.banner:hover {
  background-image: none; /* This removes the SVG banner shape on hover */
  background-color: #000000; /* Sets the background to black */
  color: #ffffff; /* Sets the text color to white */
  cursor: pointer; /* Changes the mouse cursor to a pointer */
}
.neon-text {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 5px #ed8d03, 0 0 10px #ed8d03, 0 0 20px #ed8d03, 0 0 40px #ed8d03, 0 0 80px #ed8d03;
    animation: glow 2.5s infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #ed8d03, 0 0 10px #ed8d03, 0 0 20px #ed8d03, 0 0 40px #ed8d03, 0 0 80px #ed8d03;
    }
    100% {
        text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 80px #00d4ff, 0 0 160px #00d4ff;
    }
}


.neon-text-green {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 5px #8fbe21, 0 0 10px #8fbe21, 0 0 20px #8fbe21, 0 0 40px #8fbe21, 0 0 80px #8fbe21;
   
}

h2 {
    
    color: #fff;
    text-shadow: 0 0 5px #8fbe21, 0 0 10px #8fbe21, 0 0 20px #8fbe21, 0 0 40px #8fbe21, 0 0 80px #8fbe21;
   
}

/*/* Counter Styling */
.carousel-counter {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
  margin-bottom: -70px;
    color: #fff;
}

/* Overall Carousel Wrapper */
.character-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    margin-bottom: 30px;
    perspective: 2500px;
    transform-style: preserve-3d;
    cursor: pointer;
  margin-bottom: -50px;
}

/* This removes the blue tap highlight on mobile */
.character-carousel-wrapper,
.carousel-nav button {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

.carousel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Individual Card Item Styling */
.carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 152px;
    margin-left: -125px;
    margin-top: -76px;
    transform-style: preserve-3d;
    opacity: 0;
    border-radius: 15px;
    transition: transform 0.75s ease-out, opacity 0.75s ease-out;
}

.card {
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    border-radius: 15px;
    position: relative; 
}

.carousel-item.is-active-card .card {
    box-shadow: 0 0 25px 3px #8fbe21;
    animation: pulse-glow 3s ease-in-out infinite;
}

.card .js-tilt-glare {
    z-index: 3;
    border-radius: 15px;
}

.card .js-tilt-glare-inner {
    background-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 15px;
    z-index: 1;
}

.card-front {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 2; 
}

/* Content Area Styling */
.character-content-wrapper {
    text-align: left;
    padding: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.character-content-item {
    display: none;
    animation: fadeIn 0.75s;
}

.character-content-item.active {
    display: block;
}

/* Mobile Navigation Arrow Styling */
.carousel-nav {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 999;
    padding: 0 10px;
    box-sizing: border-box;
    justify-content: space-between;
}

.carousel-nav button {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 25px;
}

#nav-prev { float: left; }
#nav-next { float: right; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 25px 3px #8fbe21; }
    50% { box-shadow: 0 0 35px 8px #8fbe21; }
    100% { box-shadow: 0 0 25px 3px #8fbe21; }
}

@media (max-width: 768px) {
    .character-carousel-wrapper {
        perspective: none;
        height: 40vh;
        min-height: 250px;
        overflow-x: hidden;
    }

    .carousel-nav {
        display: flex;
    }

    .carousel-item.is-active-card {
        transform: scale(1.2) !important;
    }
}

.carousel-counter #current-card {
    display: inline-block;
    transition: transform 0.2s ease-out;
}

.carousel-counter #current-card.pop {
    animation: pop-counter 0.4s ease-in-out;
}

@keyframes pop-counter {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.card-front.pulse {
    animation: pulse-card-once 0.5s ease-in-out;
}

@keyframes pulse-card-once {
    50% {
        transform: scale(1.05);
    }
}

/*
==============================================
CSS Neon Glow Effect for Boxes & Buttons
(Combined Box and Text Animation)
==============================================
*/

/* --- Main Style for the Glowing Box --- */
.neon-box {
  /* Basic styling for the element */
  display: inline-block;
  padding: 15px 30px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background-color: #222; /* Keeps the background dark and static */
  border: 2px solid #ed8d03;
  border-radius: 10px;

  /* Add a default text-shadow */
  text-shadow: 0 0 5px #ed8d03, 0 0 10px #ed8d03;

  /* The Glow Effect using box-shadow */
  box-shadow: 0 0 5px #ed8d03, 
              0 0 15px #ed8d03, 
              0 0 30px #ed8d03;
              
  /* Add text-shadow to the transition for the hover effect */
  transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

/* --- Hover State --- */
.neon-box:hover {
  border-color: #ffab44; /* Lighter border color on hover */
  /* Add a hover state for the text-shadow */
  text-shadow: 0 0 10px #ed8d03, 0 0 20px #ed8d03;
  box-shadow: 0 0 10px #ed8d03, 
              0 0 30px #ed8d03, 
              0 0 60px #ed8d03;
}

/* --- Style Reset for <button> Elements --- */
button.neon-box {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #222; /* Ensure the static background is applied */
  font-family: inherit;
  font-size: 1rem;
}

/* --- Animation Helper Class & Keyframes --- */
.animated-glow {
  animation: glow-box 2.5s infinite alternate;
}

@keyframes glow-box {
  /* The animation starts with the orange glow */
  0% {
    border-color: #ed8d03;
    box-shadow: 0 0 5px #ed8d03, 
                0 0 15px #ed8d03, 
                0 0 30px #ed8d03;
    /* Add the text-shadow for the start of the animation */
    text-shadow: 0 0 5px #ed8d03, 0 0 10px #ed8d03;
  }
  /* The animation ends with the blue glow */
  100% {
    border-color: #00d4ff;
    box-shadow: 0 0 10px #00d4ff, 
                0 0 30px #00d4ff, 
                0 0 60px #00d4ff;
    /* Add the text-shadow for the end of the animation */
    text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff;
  }
}.padding-box {

padding: 0 !important;

}





.neon-text {

    font-size: 4rem;

    color: #fff;

    text-shadow: 0 0 5px #ed8d03, 0 0 10px #ed8d03, 0 0 20px #ed8d03, 0 0 40px #ed8d03, 0 0 80px #ed8d03;

    animation: glow 2.5s infinite alternate;

}



@keyframes glow {

    0% {

        text-shadow: 0 0 5px #ed8d03, 0 0 10px #ed8d03, 0 0 20px #ed8d03, 0 0 40px #ed8d03, 0 0 80px #ed8d03;

    }

    100% {

        text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 80px #00d4ff, 0 0 160px #00d4ff;

    }

}





.neon-text-green {

    font-size: 4rem;

    color: #fff;

    text-shadow: 0 0 5px #8fbe21, 0 0 10px #8fbe21, 0 0 20px #8fbe21, 0 0 40px #8fbe21, 0 0 80px #8fbe21;

   

}



h2 {

    

    color: #fff;

    text-shadow: 0 0 5px #8fbe21, 0 0 10px #8fbe21, 0 0 20px #8fbe21, 0 0 40px #8fbe21, 0 0 80px #8fbe21;

   

}

/* Styles for the Terra Carousel */
.terra-carousel-component .carousel-counter {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
  margin-bottom: -100px;
}

.terra-carousel-component .character-carousel-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    height: 85vh;
    min-height: 650px;
    margin-bottom: 30px;
    perspective: 2500px;
    transform-style: preserve-3d;
    cursor: pointer;
    overflow-x: hidden;
  margin-bottom: -100px;
}

.terra-carousel-component .character-carousel-wrapper,
.terra-carousel-component .carousel-nav button {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

.terra-carousel-component .carousel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.terra-carousel-component .carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
width: 140.625px;   /* 25% smaller than 187.5px */
height: 196.875px;  /* 25% smaller than 262.5px */
margin-left: -70.3125px;
margin-top: -98.4375px;
    transform-style: preserve-3d;
    opacity: 0;
    border-radius: 15px;
    transition: transform 0.75s ease-out, opacity 0.75s ease-out;
}

.terra-carousel-component .card {
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    border-radius: 15px;
    position: relative; 
}

.terra-carousel-component .carousel-item.is-active-card .card {
    box-shadow: 0 0 25px 3px #8fbe21;
    animation: pulse-glow 3s ease-in-out infinite;
}

.terra-carousel-component .card .js-tilt-glare {
    z-index: 3;
    border-radius: 15px;
}

.terra-carousel-component .card .js-tilt-glare-inner {
    background-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.terra-carousel-component .card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 15px;
    z-index: 1;
}

.terra-carousel-component .card-front {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 2; 
}

.terra-carousel-component .character-content-wrapper {
    text-align: left;
  margin-top: -100px;
    padding: 10px;
    max-width: 800px;
    margin: 0 auto;
 padding-left: 30px;
        padding-right: 30px;
        box-sizing: border-box;
}

.terra-carousel-component .character-content-item {
    display: none;
    animation: fadeIn 0.75s;
}

.terra-carousel-component .character-content-item.active {
    display: block;
}

.terra-carousel-component .carousel-nav {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 999;
    padding: 0 10px;
    box-sizing: border-box;
    justify-content: space-between;
}

.terra-carousel-component .carousel-nav button {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 25px;
}

.terra-carousel-component #nav-prev-terra { float: left; }
.terra-carousel-component #nav-next-terra { float: right; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 25px 3px #8fbe21; }
    50% { box-shadow: 0 0 35px 8px #8fbe21; }
    100% { box-shadow: 0 0 25px 3px #8fbe21; }
}

@media (max-width: 768px) {
    .terra-carousel-component .character-carousel-wrapper {
        perspective: none;
        height: 50vh;
        min-height: 450px;
        overflow-x: hidden;

    }

    .terra-carousel-component .carousel-nav {
        display: flex;
    }

    .terra-carousel-component .carousel-item.is-active-card {
        transform: scale(1.2) !important;
    }
}

.terra-carousel-component .carousel-counter #current-card-terra {
    display: inline-block;
    transition: transform 0.2s ease-out;
}

.terra-carousel-component .carousel-counter #current-card-terra.pop {
    animation: pop-counter 0.4s ease-in-out;
}

@keyframes pop-counter {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.terra-carousel-component .card-front.pulse {
    animation: pulse-card-once 0.5s ease-in-out;
}

@keyframes pulse-card-once {
    50% {
        transform: scale(1.05);
    }
}/* Main Quiz Container */
.character-quiz-container {
    /* UPDATED: Use more screen width to prevent content overflow */
    width: 90%;
    /* Set a maximum width for larger screens */
    max-width: 800px;
    
    box-sizing: border-box;
    margin: 40px auto;
    padding: 20px;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    font-family: sans-serif;
}

/* Progress Bar */
.quiz-progress-bar {
    width: 100%;
    height: 10px;
    background-color: #333;
    border-radius: 5px;
    margin-bottom: 30px;
}

.quiz-progress-fill {
    width: 0%;
    height: 100%;
    background-color: #8fbe21;
    transition: width 0.5s ease-in-out;
    box-shadow: 0 0 15px 2px #8fbe21;
    animation: pulse-bar-glow 3s ease-in-out infinite;
    border-radius: 5px;
}

/* Questions and Choices */
.quiz-question h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    text-shadow: 0 0 15px #8fbe21;
}

.quiz-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quiz-choice-button {
    background-color: #333;
    color: #fff;
    border: 2px solid #555;
    padding: 15px;
    font-size: 1em;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
    text-align: center;
}

.quiz-choice-button:hover {
    background-color: #444;
    border-color: #8fbe21;
    box-shadow: 0 0 15px 2px #8fbe21;
}

/* Results Screen */
#quiz-results-wrapper {
    animation: fadeIn 1s;
}

.quiz-result-title {
    margin-bottom: 20px;
}

#result-image-wrapper {
    box-shadow: 0 0 25px 3px #8fbe21;
    animation: pulse-glow 3s ease-in-out infinite;
    border-radius: 15px;
    padding: 10px;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.quiz-result-item img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 15px;
    display: block;
}

#retake-quiz-button {
    display: inline-block;
    width: auto;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1em;
}

.quiz-result-item h3 {
    font-size: 2.5em;
    color: #8fbe21;
}

#result-bio {
    text-align: left;
    margin-top: 20px;
}

.quiz-signup-title {
    margin-top: 30px;
    font-size: 1.5em;
    color: #8fbe21;
    text-shadow: 0 0 10px #8fbe21;
}

#what-is-tc-button {
    display: block;
    margin: 20px auto 20px;
    /* UPDATED: Changed text color */
    color: #8fbe21;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: sans-serif;
    font-size: 2em;
    transition: color 0.3s;
  weight: 700; 
  
}
#what-is-tc-button:hover {
    color: #fff;
}

/* Popup Styling */
#tc-popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.tc-popup-content {
    background-color: #1a1a1a;
    color: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    text-align: left;
    border: 1px solid #333;
}

#tc-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

/* Utility Class */
.hidden {
    display: none !important;
}

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

@keyframes pulse-bar-glow {
    0% { box-shadow: 0 0 15px 2px #8fbe21; }
    50% { box-shadow: 0 0 25px 6px #8fbe21; }
    100% { box-shadow: 0 0 15px 2px #8fbe21; }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 25px 3px #8fbe21; }
    50% { box-shadow: 0 0 35px 8px #8fbe21; }
    100% { box-shadow: 0 0 25px 3px #8fbe21; }
}

@media (max-width: 600px) {
    .quiz-choices {
        grid-template-columns: 1fr;
    }

    /* NEW: Reduce font sizes on mobile to prevent overflow */
    .quiz-question h2 {
        font-size: 1.4em;
    }

    .quiz-result-item h3 {
        font-size: 2em;
    }
}#map-container-unique {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    position: relative; /* CRITICAL: This anchors the fog layer */
}

#map-container-unique.grabbing {
    cursor: grabbing;
}

#map-content-unique {
    position: relative;
    display: inline-block;
}

#map-content-unique img {
    display: block;
    max-width: none;
    height: 600px; /*<-- ADJUST THIS TO YOUR DESIRED MAP HEIGHT */
}

.map-label-unique {
    position: absolute;
    z-index: 10;
    background-color: #f7f3e9;
    color: #3d3a3a;
    padding: 5px 12px;
    border-radius: 12px;
    border: 3px solid #000000;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transform: translateX(-50%);
    transition: transform 0.2s ease, background-color 0.2s ease;
    /* ▼▼▼ ADD THESE LINES ▼▼▼ */
    display: flex; /* Aligns children (image and text) in a row */
    align-items: center; /* Vertically centers the image and text */
    gap: 8px; /* Adds space between the image and text */
  transition: 1s;
}

.map-label-unique img {

    height: 30px !important;
}

.map-label-unique:hover {
    transform: translateX(-50%) scale(1.1);
    background-color: #000000;
  transition: 1s;
}

.map-fog-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* CRITICAL: This prevents stretching */
    pointer-events: none; 
    z-index: 5; 
}

/* We remove pointer-events from the main image to prevent image-drag conflicts */
#map-content-unique > img:first-of-type {
    pointer-events: none;
}



#fixed-background-container {
    /* ▼▼▼ REPLACE WITH THE URL TO YOUR SKY IMAGE ▼▼▼ */
    background-image: url('https://terraclash.co.uk/wp-content/uploads/2025/09/RunnersArtboard-3-2.webp');
    
    /* This ensures the image covers the entire screen without stretching */
    background-size: cover;
    height: 600px;
    /* This centers the image */
    
    /* This is the key property that makes the background stay still */
    background-attachment: fixed;
    
    /* This prevents the image from repeating */
    background-repeat: no-repeat;
    
    /* Ensure the container has a layout context */
    position: relative;
    
  overflow: hidden;
}

/* Styles for the new scroll prompt */
#scroll-prompt {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 15px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0; /* Ensures bottom-left is sharp */
    border-bottom-right-radius: 0; /* Ensures bottom-right is sharp */
    font-family: sans-serif;
    font-size: 14px;
  
    display: flex;
    align-items: center;
    gap: 8px;
    
    /* This is crucial: it lets you click and drag "through" the prompt */
    pointer-events: none;

    /* Apply the animation */
    animation: slide-horizontal 2s ease-in-out infinite;
}

#scroll-prompt svg {
    width: 18px;
    height: 18px;
}

/* The animation for the prompt */
@keyframes slide-horizontal {
    0% {
        transform: translateX(-50%);
    }
    50% {
        transform: translateX(-45%);
    }
    100% {
        transform: translateX(-50%);
    }
}

#scrolling-foreground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* ▼▼▼ REPLACE WITH THE URL TO YOUR SEAMLESS IMAGE ▼▼▼ */
    background-image: url('https://terraclash.co.uk/wp-content/uploads/2025/09/Fog-Layer-2.png');
    
    /* Make the image repeat horizontally */
    background-repeat: repeat-x;
    
    /* Make the image cover the full height of the container */
    background-size: auto 100%;
    
    /* This is crucial: it lets you click and drag "through" this layer */
    pointer-events: none;

    /* Place it in front of the map and labels */
    z-index: 25;

    /* Apply the animation */
    animation: scroll-left 45s linear infinite;
}

/* The animation that moves the background position */
@keyframes scroll-left {
    from {
        background-position: 0 0;
    }
    to {
        /* This value should be the width of your repeating image */
        background-position: -2000px 0;
    }
}

/* Keep label icons in proportion and labels on one line */
.map-label-unique { white-space: nowrap; }
.map-label-unique img { width: auto !important; flex: 0 0 auto; object-fit: contain; }
/* Container for the entire TerraClash section for spacing and styling */
.terraclash-section-container {
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Grid for the main features */
.terraclash-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates two equal columns */
    gap: 25px; /* Space between grid items */
    margin-bottom: 30px;
}

.terraclash-feature-item {
    border: 1px solid #8fbe21;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease-in-out;
}

/* The requested green header for each feature item */
.terraclash-feature-header {
    background-color: #8fbe21;
    color: #000;
    padding: 12px 25px;
    margin: -25px -25px 20px -25px;
    border-radius: 8px 8px 0 0;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

/* Hover Effects for the Grid Item */
.terraclash-feature-item:hover {
    cursor: pointer;
    border-color: #fff;
    animation: pulsate-glow 2s infinite ease-in-out;
}

/* Target the header when the parent item is hovered */
.terraclash-feature-item:hover .terraclash-feature-header {
    background-color: #fff;
}

/* --- UPDATED: "A Game for Everyone" Section --- */
.terraclash-highlight-feature {
    text-align: center;
    padding: 25px;
    border-left: 5px solid #8fbe21;
    margin-bottom: 40px;
    box-sizing: border-box;
    /* Add transitions for smooth changes */
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.terraclash-highlight-feature p {
    margin: 0;
    font-size: 1.2em;
    /* Set an explicit base color and transition */
    color: #ffffff; /* Default text color */
    transition: color 0.3s ease-in-out;
}

.terraclash-highlight-feature strong {
    font-size: 1.5em;
    display: block;
    margin-bottom: 10px;
    color: #8fbe21;
    transition: color 0.3s ease-in-out;
}

/* --- UPDATED: Hover Effects for the Highlight Feature --- */
.terraclash-highlight-feature:hover {
    cursor: pointer;
    background-color: #fff; /* Div background becomes white */
    border-left-color: #fff; /* Border matches the new background */
    animation: pulsate-glow 2s infinite ease-in-out; /* Apply the full box glow */
}

/* Target all text within the highlight feature on hover */
.terraclash-highlight-feature:hover strong,
.terraclash-highlight-feature:hover p {
    color: #000; /* Make header and content text black */
    animation: none; /* Ensure no text-glow animation is applied */
}


/* Keyframes for the pulsating box glow animation */
@keyframes pulsate-glow {
    0% {
        box-shadow: 0 0 4px #fff, 0 0 8px #fff, 0 0 12px #8fbe21;
    }
    50% {
        box-shadow: 0 0 8px #fff, 0 0 16px #fff, 0 0 24px #8fbe21;
    }
    100% {
        box-shadow: 0 0 4px #fff, 0 0 8px #fff, 0 0 12px #8fbe21;
    }
}

/* Keyframes for the pulsating text glow (still used by component items) */
@keyframes pulsate-text-glow {
    0% {
        text-shadow: 0 0 4px #fff, 0 0 8px #8fbe21;
    }
    50% {
        text-shadow: 0 0 8px #fff, 0 0 16px #8fbe21;
    }
    100% {
        text-shadow: 0 0 4px #fff, 0 0 8px #8fbe21;
    }
}


/* Styling for the components section */
 .terraclash-components-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 25px;
    margin-top: 15px;
}

.terraclash-component-item {
    font-size: 0.95em;
}

.terraclash-component-label {
    color: #8fbe21;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

/* Hover effects for component items */
.terraclash-component-item:hover {
    cursor: pointer;
}

.terraclash-component-item:hover .terraclash-component-label {
    color: #fff;
    animation: pulsate-text-glow 2s infinite ease-in-out;
}

/* Note that component numbers may change */
.terraclash-disclaimer {
    text-align: center;
    font-style: italic;
    font-size: 0.9em;
    color: #555;
    margin-top: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .terraclash-features-grid,
    .terraclash-components-grid {
        grid-template-columns: 1fr;
    }
}/* General Layout & Background */
#game-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #e0e0e0;
    width: 100%;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    margin: 20px auto;
    user-select: none;
    box-sizing: border-box;
}
.hidden { display: none !important; }

/* TerraClash Logo & Menus */
.game-logo { width: 250px; margin-bottom: 20px; }
.game-logo.small { width: 150px; margin-bottom: 15px; }
.menu-screen, .rules-screen, .shop-screen { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.rules-screen { text-align: left; padding: 0 20px; }
.rules-text { max-width: 600px; text-align: left; }
.rules-text ul { list-style-type: square; padding-left: 20px; }
.rules-text h4 { color: #e94560; }
#game-container h1, #game-container h2 { color: #fff; text-shadow: 0 0 5px #e94560, 0 0 10px #e94560; letter-spacing: 1px; }

/* --- BUTTON STYLING --- */
/* General Button Style */
#game-container button {
    background-color: #e94560;
    color: white;
    border: 1px solid #f06a85;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 8px rgba(233, 69, 96, 0.4);
    margin: 5px;
}
#game-container button:hover {
    background-color: #f06a85;
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.7);
}
#game-container button:disabled {
    background-color: #555;
    cursor: not-allowed;
    box-shadow: none;
    border-color: #777;
}
/* FIX: Specific style for Skill and Learn Buttons to make them yellow */
#game-container .skill-btn, #game-container .learn-btn {
    background-color: #F1C40F; /* Yellow background */
    color: #111; /* Dark text */
    border: 1px solid #d4ac0d;
    padding: 10px 15px; /* Custom padding */
    font-size: 0.9em;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(241, 196, 15, 0.4);
}
#game-container .skill-btn:hover, #game-container .learn-btn:hover {
    background-color: #e0b30e;
    box-shadow: 0 0 12px rgba(241, 196, 15, 0.6);
}
#game-container .skill-btn:disabled, #game-container .learn-btn:disabled {
    background-color: #555;
    color: #aaa;
    box-shadow: none;
    border-color: #777;
}

/* Battle Screen Layout */
#battle-screen { display: flex; gap: 20px; }
#log-sidebar { width: 250px; background-color: #000; border: 2px solid #4CAF50; padding: 15px; border-radius: 8px; display: flex; flex-direction: column; }
#log-sidebar h3 { margin-top: 0; color: #e94560; }
#game-log { flex: 1; overflow-y: scroll; background-color: rgba(0, 0, 0, 0.2); padding: 10px; border-radius: 5px; text-align: left; box-shadow: inset 0 0 5px rgba(0,0,0,0.5); max-height: calc(100vh - 150px); }
#game-log p { margin: 0 0 8px 0; font-size: 0.9em; line-height: 1.4; }
.log-damage { color: #e94560; font-weight: bold; } .log-ability { color: #5DADE2; font-weight: bold; } .log-miss { color: #999; font-style: italic; } .log-success { color: #2ECC71; } .log-info { color: #F1C40F; }

#main-battle-area { flex: 1; display: flex; flex-direction: column; }
#turn-indicator { background-color: rgba(20, 20, 20, 0.7); color: white; padding: 10px; margin-bottom: 15px; border-radius: 5px; font-size: 1.1em; font-weight: bold; border: 1px solid #333; }
.battle-areas { display: flex; justify-content: center; gap: 20px; align-items: flex-start; }

/* Creature Card Styling */
.creature-card { background: #000; border: 2px solid #4CAF50; border-radius: 8px; width: 48%; max-width: 350px; min-height: 220px; position: relative; padding: 15px; display: flex; gap: 15px; align-items: center; transition: box-shadow 0.3s; }
.creature-card.active-turn { box-shadow: 0 0 20px #2ECC71; }
.creature-card .card-image { width: 120px; height: auto; border-radius: 5px; flex-shrink: 0; }
.creature-info { text-align: left; flex: 1; }
.creature-info h3 { margin-top: 0; color: #e94560; }
.creature-special { font-size: 0.85em; margin-top: 10px; color: #ccc; }
.defeated { opacity: 0.4; } .defeated .card-image { filter: grayscale(100%); }

/* Player Area */
#player-area { background-color: #000; border: 2px solid #4CAF50; padding: 15px; border-radius: 8px; width: 100%; display: flex; gap: 20px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); transition: box-shadow 0.3s; margin-top: 20px; }
#player-area.active-turn { box-shadow: 0 0 20px #2ECC71; }
#player-area h3, #player-area h4 { margin-top: 0; color: #e94560; }
.player-info { width: 30%; text-align: left; display: flex; flex-direction: column; }
.stats { display: flex; justify-content: space-between; font-size: 1.1em; margin-bottom: 10px; flex-wrap: wrap; padding: 0 10px; }
.stats span { margin: 0 5px; display: flex; align-items: center; gap: 5px;}
.stat-icon { height: 1.2em; width: auto; vertical-align: middle; }

/* Health Bars */
.health-bar { width: 100%; background-color: #333; border-radius: 5px; height: 10px; margin-bottom: 10px; border: 1px solid #111; }
.health-bar-inner { background-color: #e94560; height: 100%; border-radius: 5px; transition: width 0.5s ease-in-out; }

/* Item Section Styling */
.item-section { text-align: left; }
#equipped-items-section { width: 30%; }
#inventory-section { width: 40%; }
.item-section h4 { margin-bottom: 5px; }
.item-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.inventory-item { background-color: #111; border: 1px solid #4CAF50; border-radius: 8px; padding: 10px; width: 150px; display: flex; flex-direction: column; align-items: center; font-size: 0.8em; box-shadow: 0 0 5px rgba(0,0,0,0.5); }
.inventory-item img { width: 80px; height: auto; border-radius: 5px; margin-bottom: 5px;}
.inventory-item h4 { margin: 5px 0; text-align: center; color: #fff; }
.inventory-item p { margin: 5px 0; text-align: center; height: 60px; overflow: hidden; font-size: 0.85em; line-height: 1.3; }
.inventory-item button { font-size: 0.9em; padding: 5px 10px; width: 100%; margin-top: auto; }

/* Shop Styling */
.shop-content { display: flex; flex-direction: column; gap: 20px; width: 100%; }
#shop-items, #shop-skills { justify-content: center; width: 100%; }
#shop-skills h3, #shop-items h3 { width: 100%; text-align: center; color: #e94560; }
#shop-coin-display { font-size: 1.2em; font-weight: bold; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* Controls, Targeting & Skills */
.actions { margin-top: 10px; }
#target-selection button { font-size: 1em; padding: 10px 20px; }
#skill-buttons { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* NEW: Container for each skill button and its description */
.skill-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 150px; /* Match item card width */
}
.skill-description {
    font-size: 0.8em;
    color: #ccc;
    margin: 0;
    line-height: 1.3;
}

/* Dice & Highlight Message Display */
#highlight-message { font-size: 1.5em; font-weight: bold; color: #fff; text-shadow: 0 0 8px #000; min-height: 2.5em; display: flex; align-items: center; justify-content: center; margin: 10px 0; }
#dice-display { min-height: 60px; background-color: rgba(0, 0, 0, 0.2); padding: 10px; border-radius: 5px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.die { width: 40px; height: 40px; background-color: #e0e0e0; color: #16213e; font-size: 2em; font-weight: bold; display: flex; justify-content: center; align-items: center; border-radius: 5px; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.crit-die { background-color: gold; box-shadow: 0 0 15px gold; }
.wound-die { background-color: #e94560; color: white; }

/* --- Mobile Responsiveness --- */
@media (max-width: 800px) {
    #game-container { padding: 10px; }
    #battle-screen { flex-direction: column; }
    #log-sidebar { width: 100%; max-height: 200px; margin-bottom: 15px; box-sizing: border-box; }
    .battle-areas { flex-direction: column; align-items: center; }
    .creature-card { width: 100%; max-width: none; }
    #player-area { flex-direction: column; }
    .player-info, #equipped-items-section, #inventory-section { width: 100%; }
    #inventory-section, #equipped-items-section { margin-top: 15px; }
    .inventory-item { flex-basis: 120px; flex-grow: 1; }
    .stats { font-size: 1em; }
    #game-container button { padding: 12px 24px; font-size: 1.1em; }
    .skill-container { flex-basis: 120px; flex-grow: 1; }
}/* Container Layout */
.tc-product-layout {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start; /* Changed from center to top to account for gallery height */
    padding: 40px 0;
}

.tc-content-column { flex: 1.2; }
.tc-image-column { flex: 1; }

/* Main Image */
.product-main-img {
    width: 100%;
    height: auto;
    border: none !important;
    display: block;
    margin-bottom: 15px;
}

/* Gallery Grid */
.tc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 thumbnails per row */
    gap: 10px;
}

.tc-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border: none !important;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.tc-gallery-item img:hover {
    opacity: 0.7;
}

/* Button & Text Styling */
.tc-action-area .ct-link-button {
    font-size: 18px !important;
    padding: 10px 22px !important;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
  margin-bottom: 55px;
}

.tc-quest-badge {
    color: #8fbe21;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.tc-price-display {
    font-size: 1.5rem;
    color: #8fbe21;
    margin: 15px 0;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .tc-product-layout { 
        flex-direction: column-reverse !important; 
        gap: 20px !important; /* Heavily reduced gap */
        padding: 20px 15px !important;
        display: flex !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Kill the scroll here */
    }

    .tc-content-column, 
    .tc-image-column { 
        flex: none !important; 
        width: 100% !important; 
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Ensure the gallery doesn't push width */
    .tc-gallery-grid { 
        grid-template-columns: repeat(4, 1fr) !important; 
        width: 100% !important;
    }

    /* Ensure images don't exceed container */
    .product-main-img, .tc-gallery-item img {
        max-width: 100% !important;
        height: auto !important;
    }
}

.product-main-img {
    transition: opacity 0.2s ease-in-out;
    width: 100%;
    height: auto;
    border: none !important;
}

.tc-gallery-item img {
    cursor: pointer;
    transition: transform 0.2s ease;
    border: none !important;
}

.tc-gallery-item img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Hide SKU/Category if they are still appearing from default styles */
.product_meta {
    display: none !important;
}

/* Fix for invisible/white text in checkout fields */
.woocommerce-checkout input.input-text, 
.woocommerce-checkout textarea,
.woocommerce-checkout select,
#add_payment_method .cart-collaterals .shipping_calculator input.input-text {
    color: #333333 !important;
    background-color: #ffffff !important; /* Ensures the background is white */
}

/* Specifically targeting placeholder text if it's also missing */
::placeholder {
    color: #999999 !important;
    opacity: 1; 
}.video-container {
  width: 100%;
  max-width: 1200px; /* Optional: limits how big it gets on desktop */
  margin: 0 auto;   /* Centers the video */
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}/* Targets the WooCommerce Add to Cart button specifically in your layout */
.tc-action-area .single_add_to_cart_button.button {
    /* Base styles to match your 'ct-link-button' */
    display: inline-block;
    padding: 12px 30px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    
    /* Your specific Neon/Glow styles */
    background-color: transparent; /* Assuming transparent for neon look */
    /* Add the exact properties from your neon-text, neon-box, and animated-glow classes below */
}

/* Re-applying your specific classes to the WooCommerce button */
.tc-action-area .single_add_to_cart_button.button {
    /* Copy of .neon-text */
    color: #fff; 
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #0ff; 
    
    /* Copy of .neon-box */
    border: 2px solid #0ff;
    box-shadow: 0 0 5px #0ff, inset 0 0 5px #0ff;
}

/* Copy of .animated-glow hover state */
.tc-action-area .single_add_to_cart_button.button:hover {
    background-color: #0ff;
    color: #000;
    box-shadow: 0 0 20px #0ff, 0 0 40px #0ff;
}

/* 1. Fix Spacing below Add to Cart button */
.tc-cart-form-wrapper form.cart {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Creates space between Add to Cart and Payment Buttons */
    margin-bottom: 30px;
}

/* Ensure the button itself has some breathing room if stacked */
.tc-cart-form-wrapper .single_add_to_cart_button {
    margin-bottom: 10px !important;
}

/* 2. Fix PayPal "Pay in 3" and Messaging Text Visibility */
.tc-cart-form-wrapper .paypal-buttons,
.tc-cart-form-wrapper .woocommerce-paypal-messaging-container {
    margin-top: 10px;
}

/* Force the "Pay in 3 interest-free payments..." text to white */
.tc-cart-form-wrapper .woocommerce-paypal-messaging-container span,
.tc-cart-form-wrapper [data-pp-message] {
    color: #ffffff !important;
}

/* Fix any generic PayPal subtext/links that are hard to read */
.tc-cart-form-wrapper .paypal-buttons + p,
.tc-cart-form-wrapper a.about_paypal {
    color: #ffffff !important;
}

/* Optional: If the "Pay with PayPal" text inside the yellow button is the issue 
   (though usually it's an SVG image), we target the subtext here: */
#paypal-button-container .paypal-button-tagline {
    color: #eeeeee !important;
}