/*
Theme Name: Nexteroid Clean
Description: Clean child theme with modern design using core Gutenberg blocks only
Template: twentytwentyfive
Version: 1.1.0
*/

/* Import parent theme */
@import url('../twentytwentyfive/style.css');

/* ===== Global Styles ===== */
body {
    background: linear-gradient(180deg, #0f1419 0%, #1a2332 50%, #1a2332 100%);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

/* Remove default borders for clean look */
* {
    border: none !important;
}

/* Hide page titles */
.page .entry-title,
.page .wp-block-post-title,
.single .entry-title {
    display: none !important;
}

/* ===== Background Colors & Gradients ===== */
.bg-dark-blue {
    background: linear-gradient(135deg, #1a2332 0%, #141b26 100%) !important;
}

.bg-darker-blue {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%) !important;
}

.bg-blue-cta {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-blue-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.4) !important;
}

/* ===== Typography ===== */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.375rem) !important;
    opacity: 0.95;
    margin-bottom: 2.5rem !important;
    line-height: 1.7 !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 700 !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1rem) !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
    margin-bottom: 1rem !important;
    font-weight: 600;
    color: #0ea5e9 !important;
}

.large-text {
    font-size: clamp(1.125rem, 2vw, 1.375rem) !important;
    line-height: 1.8 !important;
    opacity: 0.92;
    font-weight: 400;
}

.medium-text {
    font-size: clamp(1rem, 1.5vw, 1.125rem) !important;
    line-height: 1.75 !important;
    opacity: 0.88;
}

.text-white { color: #ffffff !important; }
.text-blue { color: #0ea5e9 !important; }

/* ===== Spacing ===== */
.section-padding {
    padding: clamp(4rem, 10vw, 8rem) clamp(2rem, 6vw, 4rem) !important;
}

.section-padding-small {
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 4rem) !important;
}

/* ===== Service/Feature Boxes ===== */
.service-box {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.03) 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9 0%, #0284c7 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-box:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(14, 165, 233, 0.06) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.service-box:hover::before {
    opacity: 1;
}

.service-number {
    font-size: 1rem !important;
    color: #0ea5e9 !important;
    font-weight: 700;
    margin-bottom: 1.25rem !important;
    letter-spacing: 2px;
}

/* ===== Stats/Numbers ===== */
.stat-number {
    font-size: clamp(3rem, 6vw, 5rem) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-bottom: 0.75rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem) !important;
    opacity: 0.8;
    font-weight: 500;
}

/* ===== Buttons ===== */
.wp-block-button__link {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 18px 48px !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3) !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem !important;
}

.wp-block-button__link:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4) !important;
}

/* ===== Blog Cards ===== */
.blog-card {
    background: linear-gradient(135deg, #1a2332 0%, #141b26 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4) !important;
}

.blog-card-content {
    padding: 2.5rem;
}

.blog-card-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.4 !important;
}

.blog-card-excerpt {
    font-size: 1rem !important;
    opacity: 0.85;
    margin-bottom: 1.5rem !important;
    line-height: 1.7 !important;
}

/* ===== Testimonials ===== */
.testimonial {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.03) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 4px solid #0ea5e9 !important;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.testimonial:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.testimonial-author {
    font-weight: 700;
    margin-top: 1.5rem;
    font-size: 1.125rem;
}

.testimonial-role {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* ===== Images ===== */
.wp-block-image img {
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s ease;
}

.wp-block-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4) !important;
}

.hero-image img {
    border-radius: 20px;
}

/* ===== Columns ===== */
.gap-large .wp-block-columns {
    gap: clamp(2rem, 5vw, 4rem) !important;
}

.gap-xlarge .wp-block-columns {
    gap: clamp(3rem, 6vw, 5rem) !important;
}

/* ===== Cover Blocks (Heroes) ===== */
.wp-block-cover {
    min-height: 500px !important;
    position: relative;
}

.wp-block-cover.hero-cover {
    min-height: 70vh !important;
}

.wp-block-cover__background {
    background: linear-gradient(135deg, rgba(10, 20, 30, 0.7) 0%, rgba(26, 35, 50, 0.8) 100%) !important;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wp-block-group {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 1.5rem !important;
    }

    .service-box {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .blog-card {
        margin-bottom: 2rem;
    }

    .testimonial {
        margin-bottom: 1.5rem;
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-3 { margin-bottom: 3rem !important; }

/* ===== Remove Gutenberg Block Spacing Issues ===== */
.wp-site-blocks {
    padding-top: 0 !important;
}

.wp-block-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ===== Enhanced Visual Effects ===== */
.wp-block-cover__inner-container {
    padding: 2rem;
}

/* Glassmorphism effect for special sections */
.glass-effect {
    background: rgba(26, 35, 50, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Glow effects */
.glow-blue {
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.3) !important;
}

/* Grid improvements */
.wp-block-columns {
    align-items: stretch;
}

.wp-block-column {
    display: flex;
    flex-direction: column;
}

/* Better footer styling if needed */
footer {
    background: linear-gradient(180deg, #1a2332 0%, #0f1419 100%);
    padding: 3rem 0;
    margin-top: 0 !important;
}

/* ===== Navigation Block Submenu Styles ===== */
.wp-block-navigation__submenu-container {
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.wp-block-navigation-item .wp-block-navigation__submenu-container a {
    color: #333333 !important;
    padding: 0.75rem 1.5rem !important;
}

.wp-block-navigation-item .wp-block-navigation__submenu-container a:hover {
    background: #0ea5e9 !important;
    color: #ffffff !important;
}

.wp-block-navigation-item {
    position: relative;
}

/* Navigation link styling */
.wp-block-navigation .wp-block-navigation-item__content {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
    color: #0ea5e9;
}




}

/* ===== Footer Styles ===== */
footer .wp-block-group.alignfull {
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 50%, #0ea5e9 100%) 1;
    position: relative;
}

footer .wp-site-title a {
    background: linear-gradient(135deg, #0ea5e9 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}

footer p {
    opacity: 0.8;
}

/* ===== Parallax & Animation Effects ===== */
.parallax-section {
    position: relative;
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

@media (max-width: 1024px) {
    .parallax-section {
        background-attachment: scroll !important;
    }
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Gradient background animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background-size: 200% 200% !important;
    animation: gradientShift 15s ease infinite;
}

/* Pulse glow effect */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(14, 165, 233, 0.6);
    }
}

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Overlay variations */
.overlay-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.85);
    z-index: 0;
}

.overlay-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(15, 20, 25, 0.9) 100%);
    z-index: 0;
}

.overlay-dark > *,
.overlay-gradient > * {
    position: relative;
    z-index: 1;
}

/* Alternating section backgrounds */
.bg-image-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #0ea5e9 0%, #1e40af 50%, #0ea5e9 100%) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 50%, #1a2332 100%) !important;
}

/* Image zoom on hover */
.zoom-on-hover {
    overflow: hidden;
}

.zoom-on-hover img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-on-hover:hover img {
    transform: scale(1.1);
}

/* Game Screenshot Styling */




/* Hide footer on game pages to prevent scrollbar */
.page-blockstack footer,
.page-jellybean-situation footer {
    display: none !important;
}

/* Make iframe take full viewport on game pages */
.page-blockstack main,
.page-jellybean-situation main {
    margin: 0 !important;
    padding: 0 !important;
}

.page-blockstack .wp-block-group,
.page-jellybean-situation .wp-block-group {
    margin: 0 !important;
    padding: 0 !important;
}

.page-blockstack iframe,
.page-jellybean-situation iframe {
    height: 100vh !important;
}

/* Hide footer on Ski Yee game page */
.page-ski-yee footer {
    display: none !important;
}

.page-ski-yee main {
    margin: 0 !important;
    padding: 0 !important;
}

.page-ski-yee .wp-block-group {
    margin: 0 !important;
    padding: 0 !important;
}

.page-ski-yee iframe {
    height: 100vh !important;
}

/* ===== Horizontal Game Cards - Compact Version ===== */
.game-card-horizontal {
    margin-bottom: 1.4rem;
}

.game-horizontal-inner {
    background: linear-gradient(135deg, #1a2332 0%, #141b26 100%);
    border-radius: 14px;
    padding: 2rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4) !important;
    border-left: 3px solid #0ea5e9 !important;
    gap: 2rem !important;
}

.game-horizontal-inner:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 36px rgba(14, 165, 233, 0.3) !important;
    border-left-color: #0ea5e9 !important;
}

.game-horizontal-title {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2 !important;
}

.game-horizontal-genre {
    font-size: 0.7rem !important;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.9;
    color: #0ea5e9 !important;
    text-transform: uppercase;
    margin-bottom: 0.5rem !important;
}

.game-horizontal-description {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    opacity: 0.92;
    margin-bottom: 0.9rem !important;
    color: #ffffff !important;
}

.game-horizontal-controls {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    opacity: 0.85;
    padding: 0.7rem 1rem;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 8px;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
}

.game-horizontal-controls strong {
    color: #0ea5e9 !important;
    font-weight: 700;
}

/* Coming Soon horizontal cards */
.game-card-horizontal.coming-soon .game-horizontal-inner {
    opacity: 0.5;
    cursor: default;
    border-left-color: rgba(255, 255, 255, 0.2) !important;
}

.game-card-horizontal.coming-soon .game-horizontal-inner:hover {
    transform: translateX(4px);
    opacity: 0.6;
}

/* Game Screenshot Styling - Compact */
.game-screenshot {
    margin: 0 !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-horizontal:hover .game-screenshot img {
    transform: scale(1.05);
}

.game-card-horizontal:hover .game-screenshot {
    box-shadow: 0 10px 36px rgba(14, 165, 233, 0.5) !important;
}

@media (max-width: 1024px) {
    .game-horizontal-inner {
        padding: 1.75rem !important;
        gap: 1.5rem !important;
    }

    .game-horizontal-title {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .game-horizontal-inner {
        padding: 1.5rem !important;
        gap: 1.2rem !important;
        flex-direction: column !important;
    }

    .game-horizontal-inner .wp-block-column {
        flex-basis: 100% !important;
    }

    .game-horizontal-title {
        font-size: 1.3rem !important;
    }

    .game-horizontal-description {
        font-size: 0.85rem !important;
    }
}

/* ===== Parallax Cover Block Support ===== */
.wp-block-cover.has-parallax {
    background-attachment: fixed;
}

@media (max-width: 1024px) {
    .wp-block-cover.has-parallax {
        background-attachment: scroll;
    }
}
