/*
Theme Name: Codenexa Studio
Theme URI: https://codenexa.in/
Author: Codenexa
Description: An independent mobile app and game studio theme with automatic starter pages, editable product details and responsive layouts.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codenexa-studio
*/
:root{--bg:#090d17;--panel:#111827;--line:#263044;--ink:#f1f4fa;--muted:#a7b2c5;--accent:#baff66;--violet:#ae9eff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button,input{font:inherit}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.1;letter-spacing:-.045em}h1{font-size:clamp(44px,5.1vw,74px);font-weight:650}h2{font-size:clamp(32px,3.6vw,48px);font-weight:600}h3{font-size:26px;font-weight:600}.wrap{width:min(1200px,calc(100% - 80px));margin:auto}.site-header{border-bottom:1px solid var(--line);background:var(--bg)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:96px}.brand{display:flex;align-items:center;gap:12px;font-size:27px;font-weight:750;letter-spacing:-1.3px}.brand-dot{color:var(--accent)}.brand-mark{display:flex;align-items:center;justify-content:center;width:38px;height:38px;background:var(--accent);color:#0c1510;border-radius:10px;font-size:24px;letter-spacing:-7px;padding-right:7px}.brand-mark span{transform:translateY(3px)}nav,nav ul{display:flex;align-items:center;gap:30px;list-style:none;margin:0;padding:0}nav a{font-size:14px;color:var(--muted)}.header-cta{font-size:14px;border-bottom:1px solid var(--accent);padding:6px 0}.menu-toggle{display:none}.hero{display:grid;grid-template-columns:1.08fr 1fr;gap:64px;align-items:center;padding-top:76px;padding-bottom:76px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.15em;color:var(--accent);margin-bottom:26px}.pulse{display:inline-block;width:7px;height:7px;background:var(--accent);border-radius:50%;margin-right:8px}.lead{font-size:17px;color:var(--muted);max-width:510px;line-height:1.8}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:15px 22px;background:var(--accent);color:#0d1707;border:1px solid var(--accent);border-radius:7px;font-size:14px;font-weight:650}.button:hover{background:#d0ff9a;color:#0d1707}.button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.button.secondary:hover{border-color:var(--accent)}.hero-foot{color:#74839b;font-size:12px;margin:26px 0 0}.hero-visual{position:relative;overflow:hidden;height:510px;background:radial-gradient(ellipse at 50% 45%,#285c74,transparent 60%),linear-gradient(145deg,#14243c,#11152d 58%,#25264f);border:1px solid #354563;border-radius:20px;box-shadow:0 24px 90px #0005;display:block}.visual-label{position:absolute;top:28px;left:28px;color:#c2d2e7;font-size:9px;letter-spacing:.2em;z-index:2}.portal{position:absolute;width:64%;height:57%;border:2px solid #6ee7fd;left:18%;top:19%;transform:perspective(600px) rotateY(-25deg) rotateZ(-15deg);box-shadow:0 0 28px #5be5ff44,inset 0 0 26px #5be5ff22;background:linear-gradient(135deg,#84efff12,#9877ff05)}.portal-two{transform:perspective(600px) rotateY(-25deg) rotateZ(-15deg) scale(.76);border-color:#9d9bff}.portal-three{transform:perspective(600px) rotateY(-25deg) rotateZ(-15deg) scale(.52);border-color:#c7b7ff}.orb{position:absolute;left:43%;top:51%;width:70px;height:70px;border-radius:50%;background:radial-gradient(circle at 30% 22%,#efffff,#68dff7 23%,#2296c0 54%,#153e66 85%);box-shadow:0 0 55px #64e3ff88,18px 35px 38px #0008}.visual-title{position:absolute;bottom:46px;left:28px;font-size:38px;letter-spacing:-1.5px;font-weight:650}.visual-title span{display:block;font-size:12px;font-weight:400;letter-spacing:0;color:#c4cfdf;margin-top:12px}.visual-caption{position:absolute;bottom:18px;right:20px;font-size:9px;color:#8498b2}.manifesto{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.manifesto .wrap{display:flex;justify-content:space-between;padding:22px 0;gap:20px}.manifesto span{font-size:10px;letter-spacing:.18em;color:var(--muted)}.section{padding-top:90px;padding-bottom:90px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:35px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:18px}.text-link{font-size:13px;font-weight:650;display:inline-block;border-bottom:1px solid #53604c;padding-bottom:5px}.text-link span{margin-left:12px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.product-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}.art{display:block;position:relative;height:250px;overflow:hidden}.art img{width:100%;height:100%;object-fit:cover;display:block}.art-glass{background:radial-gradient(circle at 70% 30%,#5877a5,transparent 50%),linear-gradient(135deg,#101a32,#173a56)}.art-glass .art-shape{position:absolute;width:42%;height:55%;border:2px solid #80e7fd;left:30%;top:10%;transform:rotate(-20deg);box-shadow:0 0 0 17px #8bddff10,0 0 0 36px #a5b5ff12,inset 0 0 30px #49cddd25}.art-thief{background:radial-gradient(circle at 65% 15%,#f1bf6244,transparent 45%),linear-gradient(135deg,#342029,#1e1527)}.art-thief .art-shape{position:absolute;left:40%;top:15%;width:70px;height:95px;border-radius:40px 40px 12px 12px;background:#1c1525;box-shadow:0 0 0 14px #b7864422;transform:rotate(-10deg)}.art-thief .art-shape:before{content:'';position:absolute;top:30px;left:12px;width:46px;height:21px;background:#9e8296;border-radius:10px}.art-thief .art-shape:after{content:'••';position:absolute;top:21px;left:20px;color:#191124;font-size:23px;letter-spacing:7px}.art-heroes{background:radial-gradient(ellipse at 55% 40%,#548b7560,transparent 65%),linear-gradient(135deg,#142d33,#111c27)}.art-heroes .art-shape{position:absolute;left:35%;top:21%;width:36px;height:84px;border-radius:20px 20px 4px 4px;background:linear-gradient(#a9c8b0,#397d79);transform:rotate(-7deg);box-shadow:63px 10px 0 5px #9b7c69,0 0 60px #98cbae33}.art-note{background:radial-gradient(circle at 70% 25%,#ebe4ff,transparent 55%),linear-gradient(135deg,#cfc2ee,#a79cca);color:#383049}.art-note .art-shape{position:absolute;left:39%;top:18%;width:72px;height:100px;background:#f8f3ff;border-radius:12px 12px 26px 12px;transform:rotate(-12deg);box-shadow:12px 12px 0 #85749b44}.art-note .art-shape:after{content:'≋';position:absolute;left:14px;top:14px;font-size:46px;color:#9d85c2}.art-word{position:absolute;left:24px;bottom:22px;font-size:28px;letter-spacing:-1px;font-weight:700}.card-body{padding:24px}.meta{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:9px;letter-spacing:.08em;color:var(--muted);margin-bottom:17px}.meta span{letter-spacing:0;font-size:10px;padding:4px 8px;border:1px solid #38425a;border-radius:100px;white-space:nowrap}.card-body h3{font-size:23px;margin-bottom:12px}.card-body p{font-size:14px;color:var(--muted);margin-bottom:22px}.apps-section{background:#101521;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.app-layout{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.app-layout .product-grid{grid-template-columns:1fr}.app-layout .art{height:280px}.app-copy h3{font-size:36px;line-height:1.2}.app-copy p{max-width:360px;color:var(--muted);font-size:16px}.large-symbol{color:var(--violet);font-size:70px;line-height:1.6}.studio{max-width:1200px}.studio h2{max-width:750px;font-size:clamp(36px,4.5vw,60px)}.studio>p:not(.eyebrow){max-width:580px;color:var(--muted);font-size:17px}.contact-banner{border:1px solid #394733;border-radius:14px;background:linear-gradient(120deg,#19251b,#131b22);padding:44px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:90px}.contact-banner h2{font-size:36px;margin:0}.contact-banner .eyebrow{margin-bottom:14px}.site-footer{border-top:1px solid var(--line)}.footer-top{display:flex;justify-content:space-between;gap:35px;padding-top:44px;padding-bottom:44px}.footer-top p{font-size:13px;color:var(--muted);margin:10px 0 0}.footer-links{display:flex;gap:24px;flex-wrap:wrap;align-items:center;font-size:12px;color:var(--muted)}.footer-bottom{border-top:1px solid var(--line);padding-top:20px;padding-bottom:25px;display:flex;justify-content:space-between;font-size:11px;color:#8090a5}.page-main{min-height:65vh;padding-top:72px;padding-bottom:90px}.page-heading{margin-bottom:40px}.page-heading h1{margin-bottom:25px}.prose{max-width:740px;font-size:17px;color:var(--muted)}.prose h2{color:var(--ink);font-size:30px;margin-top:40px}.prose h3{color:var(--ink)}.prose a:not(.button){color:var(--accent);text-decoration:underline}.prose p{margin-bottom:25px}.catalog{margin-top:50px}.status{display:inline-block;border:1px solid var(--line);border-radius:100px;font-size:12px;padding:6px 15px;color:var(--accent)}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}.detail-art{height:440px;border-radius:16px;border:1px solid var(--line)}.detail-art .art-word{font-size:40px}.product-detail .prose h2:first-child{margin-top:0}.video-section{margin-top:60px}.video-section iframe{width:100%;max-width:960px;aspect-ratio:16/9;height:auto}.contact-panel{margin-top:40px;padding:35px;border:1px solid var(--line);border-radius:12px;background:var(--panel);max-width:740px}.contact-panel h2{font-size:28px}.contact-panel p{color:var(--muted);overflow-wrap:anywhere}.skip{position:absolute;left:12px;top:-100px;z-index:100;background:var(--accent);color:#10200c;padding:12px}.skip:focus{top:12px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.wp-block-image{margin-left:0;margin-right:0}.wp-block-image img{border-radius:10px}.alignwide{max-width:1100px}.alignfull{max-width:100%}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1050px){.wrap{width:calc(100% - 48px)}.hero{gap:30px}.hero-visual{height:450px}nav,nav ul{gap:20px}.header-cta{display:none}.product-grid{gap:16px}.meta{align-items:flex-start;flex-direction:column}.app-layout{gap:50px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.header-inner{min-height:76px;position:relative}.brand{font-size:25px}.menu-toggle{display:flex;gap:10px;align-items:center;background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:8px 12px;font-size:12px}#site-nav{display:none;position:absolute;top:76px;left:-18px;right:-18px;background:#101725;border-bottom:1px solid var(--line);padding:25px;z-index:10;flex-direction:column;align-items:stretch}#site-nav.is-open{display:flex}#site-nav ul{flex-direction:column;align-items:stretch}#site-nav a{display:block;padding:5px}.hero{grid-template-columns:1fr;padding-top:45px;padding-bottom:45px;gap:35px}.hero-copy h1{max-width:580px}.hero-visual{height:400px}.visual-title{font-size:34px}.manifesto .wrap{gap:16px;flex-wrap:wrap}.manifesto span{font-size:8px}.section{padding-top:60px;padding-bottom:60px}.section-heading{align-items:start}.section-heading>.text-link{white-space:nowrap;font-size:11px;margin-top:36px}.product-grid{grid-template-columns:1fr}.art{height:280px}.meta{flex-direction:row;align-items:center}.app-layout{grid-template-columns:1fr;gap:30px}.app-copy h3{font-size:30px}.large-symbol{font-size:50px}.contact-banner{padding:28px;display:block;margin-bottom:55px}.contact-banner h2{font-size:30px;margin-bottom:25px}.footer-top{flex-direction:column}.footer-links{gap:20px}.footer-bottom{gap:20px;font-size:10px}.page-main{padding-top:45px;padding-bottom:60px}.product-detail{grid-template-columns:1fr;gap:32px}.detail-art{height:360px}.eyebrow{font-size:9px}.lead{font-size:16px}.button{font-size:12px;padding:14px 18px}.prose{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* 1.1: deliberate phone, tablet and wide-screen layouts. */
.wrap{width:min(1200px,calc(100% - 64px))}.hero>*{min-width:0}.hero{gap:48px}.hero-visual{height:auto;min-height:440px;aspect-ratio:1/1.06}.hero-copy h1{font-size:clamp(42px,4.8vw,70px);text-wrap:balance}.hero-copy .lead{max-width:48ch}.product-card,.prose,.product-detail>*{min-width:0}.prose{overflow-wrap:anywhere}.prose ul,.prose ol{padding-left:24px}.prose li{margin-bottom:12px}.product-detail .prose iframe{max-width:100%}.page-heading h1{max-width:100%;overflow-wrap:anywhere}.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:35px}.footer-group{display:flex;flex-direction:column;align-items:start}.footer-group h2{font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin:4px 0 16px;color:var(--ink)}.footer-group a{font-size:13px;color:var(--muted);min-height:44px;display:inline-flex;align-items:center}.footer-group a:hover{color:var(--accent)}.footer-brand p{line-height:1.8}.footer-bottom{gap:20px}.button,.menu-toggle{min-height:48px}.header-cta{min-height:44px;display:inline-flex;align-items:center}nav a{min-height:44px;display:inline-flex;align-items:center}.card-body .text-link{min-height:44px;display:inline-flex;align-items:center}.video-gate{padding:32px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.video-gate p{color:var(--muted);max-width:600px}.policy-settings{margin:35px 0;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.policy-settings h2{margin-top:0}.policy-settings p:last-child{margin-bottom:0}.prose .policy-settings a{overflow-wrap:anywhere}.menu-toggle{cursor:pointer}.load-video{cursor:pointer}.detail-art{width:100%}.wp-block-columns{max-width:100%}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-embed iframe{max-width:100%}.art img{height:100%}.contact-panel .button{max-width:100%}.app-layout .product-grid:has(.product-card:nth-child(2)){grid-template-columns:1fr}.hero-visual:hover{color:var(--ink)}
@media(min-width:1440px){.hero{gap:80px;padding-top:92px;padding-bottom:92px}.hero-visual{min-height:510px}}
@media(min-width:901px) and (max-width:1100px){.hero{gap:28px}.hero-visual{min-height:390px}.hero-copy h1{font-size:48px}.header-inner{gap:20px}nav,nav ul{gap:18px}.header-cta{display:none}.product-grid{gap:18px}.meta{flex-direction:column;align-items:start}.card-body{padding:20px}}
@media(min-width:641px) and (max-width:900px){.wrap{width:calc(100% - 48px)}.hero{grid-template-columns:1fr;padding-top:54px;padding-bottom:54px;gap:36px}.hero-copy{max-width:680px}.hero-copy h1{font-size:60px;max-width:640px}.hero-visual{aspect-ratio:1.65;min-height:350px;max-height:460px}.portal{height:64%;top:10%;width:48%;left:30%}.orb{top:43%;left:52%}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid>.product-card:last-child:nth-child(odd){grid-column:1/-1;max-width:calc(50% - 12px)}.app-layout .product-card{max-width:none!important}.app-layout{gap:32px}.app-copy h3{font-size:29px}.footer-top{grid-template-columns:repeat(3,1fr);gap:28px}.footer-brand{grid-column:1/-1}.footer-brand p br{display:none}.product-detail{grid-template-columns:1fr;gap:36px}.detail-art{height:400px}.header-cta{display:none}.section{padding-top:65px;padding-bottom:65px}.header-inner{gap:20px}.brand{font-size:25px}nav,nav ul{gap:18px}.contact-banner{padding:32px}.contact-banner h2{font-size:30px}}
@media(max-width:900px){.header-cta{display:none}.section-heading{gap:20px}.footer-bottom{flex-wrap:wrap}.video-section iframe{width:100%}.app-copy p{font-size:15px}}
@media(max-width:640px){.wrap{width:calc(100% - 36px)}.header-inner{min-height:76px}.brand{font-size:24px}.hero{grid-template-columns:1fr;gap:32px;padding-top:36px;padding-bottom:40px}.hero-copy h1{font-size:clamp(36px,10.5vw,54px);line-height:1.08;letter-spacing:-.045em}.hero-copy .eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:20px}.hero-copy .lead{font-size:15px;line-height:1.8}.actions{display:grid;grid-template-columns:1fr;margin-top:25px;gap:12px}.actions .button{width:100%;font-size:14px;min-height:50px}.hero-foot{font-size:11px;margin-top:18px}.hero-visual{height:auto;min-height:330px;aspect-ratio:1.04}.visual-label{font-size:8px;left:22px;top:22px;letter-spacing:.12em}.visual-title{left:22px;bottom:42px;font-size:32px}.orb{width:58px;height:58px;top:45%}.portal{width:60%;left:20%;top:17%;height:55%}.manifesto .wrap{display:grid;grid-template-columns:1fr;gap:12px;text-align:center;padding:20px 0}.manifesto span{font-size:9px}.section{padding-top:46px;padding-bottom:46px}.section-heading{flex-direction:column;align-items:start;gap:18px;margin-bottom:25px}.section-heading>.text-link{font-size:13px;margin:0;min-height:44px;display:inline-flex;align-items:center}.section-heading h2{font-size:34px}.product-grid{grid-template-columns:1fr;gap:22px}.product-card{width:100%;max-width:none}.art{height:260px}.card-body{padding:22px}.meta{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px}.meta span{white-space:normal}.app-layout{grid-template-columns:1fr;gap:25px}.app-layout .art{height:270px}.app-copy h3{font-size:30px}.large-symbol{font-size:45px}.studio h2{font-size:35px}.studio>p:not(.eyebrow){font-size:15px}.contact-banner{padding:26px;display:flex;flex-direction:column;align-items:stretch;margin-bottom:45px;gap:22px}.contact-banner h2{font-size:31px;margin:0}.contact-banner .button{width:100%}.footer-top{display:grid;grid-template-columns:1fr 1fr;gap:30px 18px;padding-top:32px;padding-bottom:32px}.footer-brand{grid-column:1/-1}.footer-group:last-child{grid-column:1/-1}.footer-group h2{margin-bottom:12px}.footer-bottom{display:flex;flex-direction:column;gap:8px;font-size:11px}.page-main{padding-top:38px;padding-bottom:48px}.page-heading h1{font-size:clamp(34px,10vw,48px)}.page-heading .eyebrow{margin-bottom:18px}.page-heading{margin-bottom:28px}.product-detail{grid-template-columns:1fr;gap:30px}.detail-art{height:320px}.detail-art .art-word{font-size:34px}.prose{font-size:16px;line-height:1.8}.prose h2{font-size:27px}.contact-panel{padding:24px}.contact-panel h2{font-size:26px}.video-gate{padding:24px}.policy-settings{padding:20px}.video-section h2{font-size:28px}.catalog{margin-top:28px}}
@media(max-width:360px){.wrap{width:calc(100% - 28px)}.hero-copy h1{font-size:36px}.hero-visual{min-height:300px}.meta{flex-direction:column;align-items:start}.brand{font-size:22px}.brand-mark{width:34px;height:34px}.footer-top{grid-template-columns:1fr}.footer-brand,.footer-group:last-child{grid-column:auto}.detail-art{height:285px}.visual-title{font-size:30px}}
@media(min-width:761px){#site-nav{display:flex!important;position:static;padding:0;border:0;background:transparent}.menu-toggle{display:none!important}}
.hero-visual{width:100%;max-width:100%}

/* Uploaded Site Identity logo support. */
.custom-brand{min-width:0;flex-shrink:1}.custom-brand .custom-logo-link{display:flex;align-items:center;max-width:100%}.custom-brand img{display:block;width:220px;max-width:100%;height:auto;max-height:62px;object-fit:contain}.footer-brand .custom-brand img{width:210px}
@media(max-width:640px){.custom-brand img{width:176px;max-height:52px}.header-inner{gap:16px}}
@media(max-width:360px){.custom-brand img{width:152px}}
