:root {
    --sky-blue: #87ceeb;
    --sunset-orange: #ff7a18;
    --warm-yellow: #ffd93d;
    --kite-red: #ff3b3b;
    --grass-green: #32d74b;
    --cloud-white: #ffffff;
    --soft-bg: #f5faff;
    --text-main: #2d3748;
    --text-muted: #4a5568;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --sidebar-collapsed: 80px;
    --sidebar-expanded: 240px;
    --shadow-soft: 0 10px 25px rgba(135, 206, 235, 0.2);
    --shadow-hover: 0 15px 35px rgba(255, 122, 24, 0.3);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--soft-bg);
    color: var(--text-main);
    display: flex;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--sunset-orange), var(--kite-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-collapsed);
    background: var(--cloud-white);
    box-shadow: 2px 0 15px rgba(0,0,0,0.05);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar:hover {
    width: var(--sidebar-expanded);
}

.brand-logo {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}

.brand-logo svg {
    min-width: 40px;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    fill: var(--sunset-orange);
    transition: transform 0.3s;
}

.sidebar:hover .brand-logo svg {
    transform: rotate(15deg);
}

.brand-logo span {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sky-blue);
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar:hover .brand-logo span {
    opacity: 1;
}

.nav-menu {
    list-style: none;
    margin-top: 20px;
    flex-grow: 1;
}

.nav-menu li {
    margin: 10px 0;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    white-space: nowrap;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--sunset-orange);
    background: linear-gradient(90deg, rgba(255, 122, 24, 0.1) 0%, transparent 100%);
}

.nav-menu a svg {
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-right: 20px;
    fill: currentColor;
    transition: transform 0.3s;
}

.nav-menu a:hover svg {
    transform: translateY(-3px);
}

.nav-menu span {
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar:hover .nav-menu span {
    opacity: 1;
}

/* Main Layout */
.main-wrapper {
    margin-left: var(--sidebar-collapsed);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: margin-left 0.4s;
}

/* Top Disclaimer */
.hero-disclaimer {
    background: var(--kite-red);
    color: var(--cloud-white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, var(--sky-blue) 0%, var(--soft-bg) 100%);
    overflow: hidden;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    color: var(--cloud-white);
    text-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-main);
    margin-bottom: 40px;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sunset-orange), var(--kite-red));
    color: var(--cloud-white);
    box-shadow: 0 10px 20px rgba(255, 59, 59, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 25px rgba(255, 59, 59, 0.4);
}

/* Animations & Background Elements */
.cloud-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cloud {
    position: absolute;
    background: var(--cloud-white);
    border-radius: 50px;
    filter: blur(2px);
    opacity: 0.8;
}

.cloud::before, .cloud::after {
    content: '';
    position: absolute;
    background: var(--cloud-white);
    border-radius: 50%;
}

.cloud-1 {
    width: 150px; height: 50px; top: 20%; left: -200px;
    animation: driftClouds 45s linear infinite;
}
.cloud-1::before { width: 70px; height: 70px; top: -35px; left: 20px; }
.cloud-1::after { width: 50px; height: 50px; top: -25px; left: 80px; }

.cloud-2 {
    width: 200px; height: 60px; top: 40%; left: -250px;
    animation: driftClouds 60s linear infinite 15s;
    opacity: 0.6;
}
.cloud-2::before { width: 90px; height: 90px; top: -45px; left: 30px; }
.cloud-2::after { width: 70px; height: 70px; top: -35px; left: 100px; }

@keyframes driftClouds {
    0% { transform: translateX(0); }
    100% { transform: translateX(120vw); }
}

/* Sections */
.section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-main);
}

/* Cards UI */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--cloud-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--sky-blue), var(--grass-green));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--sky-blue);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Game Card */
.game-card {
    background: var(--cloud-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.game-img-wrap {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
}

.game-img-wrap img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    transition: transform 0.5s ease;
}

.game-card:hover .game-img-wrap img {
    transform: scale(1.1);
}

.game-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.game-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Game Frame Area */
.game-frame-container {
    background: var(--cloud-white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-hover);
    margin: 40px auto;
    max-width: 1200px;
    position: relative;
}

.game-frame-container::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--sky-blue), var(--warm-yellow), var(--sunset-orange));
    z-index: -1;
    border-radius: 22px;
    animation: windGlow 3s ease-in-out infinite alternate;
}

@keyframes windGlow {
    0% { opacity: 0.5; filter: blur(5px); }
    100% { opacity: 1; filter: blur(10px); }
}

.responsive-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}

/* Footer */
.site-footer {
    background: var(--cloud-white);
    padding: 60px 5% 20px;
    margin-top: auto;
    border-top: 1px solid rgba(135, 206, 235, 0.2);
}

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

.footer-col h4 {
    color: var(--sunset-orange);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--sky-blue);
    padding-left: 5px;
}

.global-disclaimer {
    background: var(--soft-bg);
    padding: 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 59, 59, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-badges span {
    display: inline-block;
    padding: 5px 12px;
    background: var(--text-main);
    color: var(--cloud-white);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--sky-blue), var(--soft-bg));
    padding: 100px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

/* Content Pages Formatting */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    background: var(--cloud-white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    margin-top: -30px;
    position: relative;
    z-index: 5;
    margin-bottom: 60px;
}

.content-section h2 {
    margin: 30px 0 15px;
    color: var(--sunset-orange);
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-muted);
}

.content-section ul {
    margin: 0 0 20px 20px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--soft-bg);
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--sky-blue);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.2);
}

/* =========================================
   NEW ADDITIONS & LAYOUT ENHANCEMENTS
   ========================================= */

/* New Hero Layout */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
    padding-top: 40px;
    gap: 40px;
}

.hero-content.left-align {
    text-align: left;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--text-main);
    color: var(--cloud-white);
    transform: translateY(-3px);
}

.hero-3d-model {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

/* 3D Kite Model CSS */
.kite-3d-wrapper {
    perspective: 1200px;
    width: 300px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kite-3d {
    width: 200px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: flyKite 6s ease-in-out infinite alternate;
}

.kite-body {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.kite-half {
    position: absolute;
    width: 100px;
    height: 300px;
    background: linear-gradient(135deg, var(--sunset-orange), var(--kite-red));
    clip-path: polygon(100% 0, 100% 100%, 0 25%);
    opacity: 0.95;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.kite-left {
    left: 0;
    transform-origin: right center;
    transform: rotateY(-25deg);
}

.kite-right {
    right: 0;
    transform-origin: left center;
    transform: rotateY(25deg);
    clip-path: polygon(0 0, 100% 25%, 0 100%);
    background: linear-gradient(135deg, var(--kite-red), var(--warm-yellow));
}

.kite-sticks {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translateZ(5px);
    transform-style: preserve-3d;
}

.stick-v {
    position: absolute;
    left: 50%;
    top: 0;
    width: 6px;
    height: 100%;
    background: #c19a6b;
    transform: translateX(-50%);
    border-radius: 3px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.stick-h {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    height: 6px;
    background: #c19a6b;
    border-radius: 3px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.kite-tail {
    position: absolute;
    bottom: -150px;
    left: 50%;
    width: 4px;
    height: 150px;
    background: #fff;
    transform: translateX(-50%);
    transform-origin: top center;
    animation: waveTail 3s ease-in-out infinite;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.kite-tail::after, .kite-tail::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 15px;
    background: var(--sky-blue);
    left: -13px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.kite-tail::after { top: 30px; background: var(--grass-green); }
.kite-tail::before { top: 80px; background: var(--warm-yellow); }

@keyframes flyKite {
    0% { transform: rotateX(15deg) rotateY(15deg) rotateZ(-5deg) translateY(0); }
    100% { transform: rotateX(25deg) rotateY(-15deg) rotateZ(5deg) translateY(-40px) translateZ(40px); }
}

@keyframes waveTail {
    0%, 100% { transform: translateX(-50%) rotateZ(8deg); }
    50% { transform: translateX(-50%) rotateZ(-8deg); }
}

/* Home Layout Enhancements */
.stats-section {
    background: linear-gradient(90deg, var(--sky-blue), var(--soft-bg));
    padding: 40px 20px 50px;
    text-align: center;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: var(--shadow-soft);
}

.stats-header {
    margin-bottom: 30px;
}

.stats-header h2 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.stats-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--kite-red);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
}

.featured-game-section {
    display: flex;
    align-items: center;
    background: var(--cloud-white);
    border-radius: 20px;
    overflow: hidden;
    max-width: 1200px;
    margin: 60px auto;
    box-shadow: var(--shadow-hover);
}

.featured-content {
    flex: 1;
    padding: 60px;
}

.featured-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--sunset-orange);
}

.featured-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.featured-image {
    flex: 1;
    min-height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Page Enhancements */
.contact-new-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--sky-blue), #5eb3d6);
    color: var(--cloud-white);
    padding: 50px;
}

.contact-info-panel h2 {
    color: var(--cloud-white);
    margin-top: 0;
}

.contact-info-panel p {
    color: #e0f2fe;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.detail-item i {
    font-style: normal;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-form-panel {
    padding: 50px;
    background: var(--cloud-white);
}

.contact-form-panel .contact-form {
    margin-top: 0;
}

/* Legal Pages Enhancements */
.legal-content h3 {
    margin: 25px 0 10px;
    color: var(--text-main);
    font-size: 1.2rem;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .hero-container, .featured-game-section, .contact-new-layout {
        flex-direction: column;
    }
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
    .hero-content.left-align {
        text-align: center;
        margin-bottom: 30px;
    }
    .hero-actions {
        justify-content: center;
    }
    .contact-info-panel, .contact-form-panel {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
        padding-bottom: 70px;
    }
    .sidebar {
        width: 100%;
        height: 70px;
        top: auto;
        bottom: 0;
        flex-direction: row;
        justify-content: space-around;
        padding: 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    .sidebar:hover {
        width: 100%;
    }
    .brand-logo {
        display: none;
    }
    .nav-menu {
        margin: 0;
        display: flex;
        width: 100%;
        justify-content: space-around;
        align-items: center;
    }
    .nav-menu li {
        margin: 0;
    }
    .nav-menu a {
        flex-direction: column;
        padding: 10px;
        font-size: 0.7rem;
    }
    .nav-menu a svg {
        margin: 0 0 5px 0;
    }
    .nav-menu span {
        opacity: 1;
    }
    .sidebar:hover .nav-menu span {
        opacity: 1;
    }
    .main-wrapper {
        margin-left: 0;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}