:root {
    --bg-color: #08080A;
    --bg-depth: #0F0F12;
    --primary-fire: #f10000;
    --fire-bright: #ff5a13;
    --fire-soft: #ff4141;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-glow: rgba(255, 59, 26, 0.15);
    --transition-speed: 300ms;
    --section-padding: 140px;
    --max-width: 1200px;
    --card-bg: rgba(15, 15, 18, 0.8);
    --card-border: rgba(255, 59, 26, 0.2);
    --card-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
    --glow-red: #FF1A1A;
    --sharp-radius: 0px;
}

/* Decorative Background */
body {
    background-image:
        linear-gradient(rgba(8, 8, 10, 0.85), rgba(8, 8, 10, 0.85)),
        url('assets/sword1.png');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle, rgba(255, 59, 26, 0.05) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: -2;
    pointer-events: none;
}


.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

#energy-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.08;
}

.noise-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 1001;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-fire);
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 59, 26, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    transform: translate(-50%, -50%);
    filter: blur(100px);
}



h1,
h2,
h3 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed) ease-out;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* Animations */
@keyframes radialGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.08;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.12;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.08;
    }
}

/* 1. HERO SPLIT */
.hero-split {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0 60px 0;
    z-index: 10;
    overflow: hidden;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.side-logo {
    height: 128px;
    width: auto;
}

.title-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.studio-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary-fire);
    margin-bottom: 12px;
    font-weight: 800;
}

.studio-tag::after {
    content: '';
    height: 1px;
    width: 40px;
    background: var(--primary-fire);
}

.brand-header h1 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: clamp(38px, 5.5vw, 68px);
    line-height: 1;
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-fire);
    text-shadow: 0 0 20px rgb(54, 17, 0);
}

.brand-header h1 span {
    color: var(--primary-fire);
}

.company-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.tagline {
    font-size: 22px;
    opacity: 0.8;
    margin-bottom: 48px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Mini Pillars - Compact Grid */
.hero-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.mini-pillar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.mini-pillar:hover {
    background: rgba(255, 59, 26, 0.1);
    border-color: var(--primary-fire);
    transform: translateY(-5px);
}

.mini-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 59, 26, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 59, 26, 0.3);
}

.mini-text h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
    color: #fff;
}

.mini-text p {
    font-size: 11px;
    opacity: 0.6;
    line-height: 1.3;
}

/* Game Card - Sharp & Aggressive */
.hero-game {
    perspective: 2000px;
}

.game-card {
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 59, 26, 0.3);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transform: rotateY(-10deg) rotateX(4deg);
    max-width: 480px;
    margin-left: auto;
}

.game-card:hover {
    transform: rotateY(-2deg) rotateX(1deg) scale(1.02);
    border-color: var(--fire-bright);
    box-shadow: 0 0 60px rgba(255, 59, 26, 0.2);
}

.game-banner {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--primary-fire);
    color: #fff;
    padding: 8px 16px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 5;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%);
}

.game-splash {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    opacity: 0.85;
    filter: contrast(1.1) brightness(0.9);
}

.game-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.8) 50%,
            transparent 100%);
}

.game-name {
    font-size: 56px;
    letter-spacing: 0.15em;
    font-weight: 900;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 59, 26, 0.5);
}

.game-brief {
    font-size: 17px;
    color: var(--fire-soft);
    margin-bottom: 24px;
    font-weight: 600;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.game-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-features span::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary-fire);
    transform: rotate(45deg);
}

.cta-button {
    display: inline-block;
    height: 60px;
    padding: 0 48px;
    background-color: var(--primary-fire);
    color: #fff;
    line-height: 60px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    position: relative;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 59, 26, 0.3);
}

/* Newsletter Styles */
.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    max-width: 500px;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--primary-fire);
    background: rgba(255, 59, 26, 0.05);
}

.newsletter-button {
    background: var(--primary-fire);
    color: #fff;
    border: none;
    padding: 0 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #fff;
    color: #000;
}

/* Game Features Subsection */
.game-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--primary-fire);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-fire);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Updated Identity */
.values-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 600;
}

.value-item i {
    color: var(--primary-fire);
    font-size: 20px;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--bg-depth);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary-fire);
}

.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    color: #fff;
    font-family: inherit;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.form-textarea {
    height: 150px;
    resize: none;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-fire);
}


/* 2. STUDIO IDENTITY */
.studio-identity {
    padding: var(--section-padding) 0;
}

.identity-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.studio-identity .content-wrapper {
    max-width: 100%;
}

.identity-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 59, 26, 0.2);
    border: 1px solid rgba(255, 59, 26, 0.2);
}

.abstract-graphic {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.identity-visual:hover .abstract-graphic {
    transform: scale(1.05);
}

.studio-identity h2 {
    font-size: clamp(32px, 5vw, 48px);
}


.studio-identity p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.divider {
    width: 140px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-fire), transparent);
    margin-top: 36px;
}


/* 3. PILLARS */
.pillars {
    padding: 100px 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 59, 26, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-fire);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 60px -20px rgba(255, 59, 26, 0.2);
}


.pillar-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 20px;
    color: var(--primary-fire);
}

.pillar-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.pillar-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* 4. FEATURED GAME */
.featured-game {
    padding: 120px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 48px;
    align-items: center;
}

.game-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(255, 59, 26, 0.1);
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s cubic-bezier(0.2, 0, 0, 1);
}


.game-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.13);
    pointer-events: none;
}

.game-image-container:hover .game-image {
    transform: scale(1.035);
}

.section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.6;
}

.game-title {
    font-size: 38px;
    margin-top: 8px;
}

.game-hook {
    font-size: 18px;
    opacity: 0.9;
    margin-top: 8px;
}

.game-description {
    font-size: 16px;
    max-width: 420px;
    margin-top: 14px;
    color: var(--text-secondary);
}

.status-badge {
    display: inline-block;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 59, 26, 0.5);
    background: rgba(255, 59, 26, 0.08);
    margin-top: 18px;
}

.game-cta {
    display: inline-block;
    margin-top: 24px;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-fire);
    padding-bottom: 2px;
}

/* 5. CLOSING */
.closing {
    padding: 60px 0;
    text-align: center;
}

.closing h2 {
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
    font-weight: 800;
}

@keyframes pulseBlade {

    0%,
    100% {
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 30px rgba(255, 129, 26, 0.4));
    }

    50% {
        transform: scale(1.05) translateY(-10px);
        filter: drop-shadow(0 0 50px rgba(255, 59, 26, 0.6));
    }
}


/* 6. FOOTER */
.footer {
    padding: 56px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.copyright {
    font-size: 14px;
    opacity: 0.6;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.social-links {
    display: flex;
    gap: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 24px;
    }

    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-wrap {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .company-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .game-card {
        transform: none !important;
        margin: 0 auto;
    }

    .featured-grid,
    .identity-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .game-content {
        text-align: center;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info h2 {
        font-size: 36px;
    }

    .identity-visual {
        order: -1;
    }
}

@media (max-width: 480px) {
    .brand-header h1 {
        font-size: 36px;
    }

    .contact-info h2 {
        font-size: 28px;
    }
}