🏠 Find Your Living Room Style
Real living room interiors — tap the ones that match your taste. We’ll find your style profile.
const IMG="https://images.unsplash.com/photo-";const verified=["1586023492125-27b2c045efd7","1600573472592-401b489a3cdc","1600585154084-4e5fe7c39198","1600585154340-be6161a56a0c","1600585154526-990dced4db0d","1600596542815-ffad4c1539a9","1600566753190-17f0baa2a6c3","1600607687939-ce8a6c25118c","1600566752355-35792bedcfea","1616486338812-3dadae4b4ace","1618220179428-22790b461013",];
const STYLES=[{id:"modern",name:"Modern Minimalist",desc:"Clean lines, neutral palette, clutter-free",img:verified[0],tags:["Clean","Neutral","Minimal"]},{id:"scandi",name:"Scandinavian",desc:"Light wood, white walls, cozy hygge",img:verified[8],tags:["Light","Wood","Cozy"]},{id:"industrial",name:"Industrial Loft",desc:"Exposed brick, steel, concrete raw edge",img:verified[5],tags:["Raw","Urban","Dark"]},{id:"rustic",name:"Rustic Farmhouse",desc:"Reclaimed wood, vintage, warm earth",img:verified[6],tags:["Wood","Warm","Vintage"]},{id:"luxury",name:"Luxury Elegance",desc:"Marble, velvet, gold accents",img:verified[3],tags:["Premium","Elegant","Rich"]},{id:"coastal",name:"Coastal Beach",desc:"Ocean blues, sandy neutrals, breezy",img:verified[4],tags:["Blue","Beach","Light"]},{id:"boho",name:"Bohemian",desc:"Colorful patterns, layered textiles",img:verified[2],tags:["Colorful","Free","Artistic"]},{id:"asian",name:"Asian Zen",desc:"Natural stone, bamboo, peaceful",img:verified[7],tags:["Peaceful","Natural","Serene"]},{id:"japandi",name:"Japandi",desc:"Japanese minimal + Scandinavian warmth",img:verified[7],tags:["Wabi","Sabi","Balance"]},{id:"midcentury",name:"Mid-Century Modern",desc:"Retro walnut, iconic furniture shapes",img:verified[0],tags:["Retro","Iconic","Warm"]},{id:"artdeco",name:"Art Deco",desc:"Geometric patterns, gold, bold glamour",img:verified[10],tags:["Glam","Geometric","Bold"]},{id:"transitional",name:"Transitional",desc:"Contemporary + traditional balance",img:verified[1],tags:["Timeless","Balanced"]},{id:"french",name:"French Country",desc:"Soft pastels, stone, provincial charm",img:verified[1],tags:["Romantic","Rustic","Soft"]},{id:"eclectic",name:"Eclectic Mix",desc:"Bold mix of eras, colors, cultures",img:verified[2],tags:["Bold","Unique","Mix"]},{id:"tropical",name:"Tropical",desc:"Bamboo, rattan, palm greenery",img:verified[4],tags:["Exotic","Green","Resort"]},{id:"cottage",name:"English Cottage",desc:"Floral prints, cozy nooks, charm",img:verified[6],tags:["Charming","Cozy","Floral"]},{id:"southwest",name:"Southwest Desert",desc:"Terracotta, cactus, adobe texture",img:verified[6],tags:["Warm","Earthy","Desert"]},{id:"monochrome",name:"Monochrome",desc:"Black, white, gray dramatic palette",img:verified[9],tags:["Bold","Sleek","Dramatic"]},{id:"nautical",name:"Nautical",desc:"Navy, stripes, maritime accents",img:verified[4],tags:["Maritime","Classic","Navy"]},{id:"glam",name:"Hollywood Glam",desc:"Mirrors, crystals, luxe textures",img:verified[3],tags:["Glam","Sparkle","Luxe"]},{id:"organic",name:"Organic Modern",desc:"Curves, natural textures, soft tones",img:verified[9],tags:["Natural","Soft","Curvy"]},{id:"wabi",name:"Wabi-Sabi",desc:"Imperfect beauty, natural patina",img:verified[7],tags:["Imperfect","Natural","Aged"]},{id:"maximalist",name:"Maximalist",desc:"More is more — bold color abundance",img:verified[2],tags:["Bold","Colorful","Abundant"]},{id:"contemporary",name:"Contemporary",desc:"Clean, current, on-trend finishes",img:verified[9],tags:["Current","Clean","Fresh"]},];
const FULL_DESC={modern:"Clean lines, neutral color palettes, and clutter-free spaces define your taste. You value function and quality — every piece has a purpose, and empty space is a feature, not a flaw.",scandi:"You love bright, inviting spaces with natural wood tones and cozy textiles. Hygge — the art of creating warmth and comfort — is at the heart of your design philosophy.",industrial:"Raw urban aesthetics appeal to you — exposed steel, concrete textures, and dark metallic accents. You embrace the building's bones as part of the beauty.",rustic:"Reclaimed wood, vintage touches, and warm earthy tones speak to you. You want a home that feels like a countryside retreat — honest and welcoming.",luxury:"You believe living spaces deserve the finest — marble surfaces, velvet textures, and refined details. Elegance is in the details.",coastal:"You dream of relaxed beachside living — soft blues, sandy neutrals, and breezy fabrics that make every day feel like a vacation.",boho:"Free-spirited and artistic — you love color, pattern, and layered textures. Your space tells the story of your travels and personality.",asian:"Tranquility matters to you. Natural materials, greenery, and balanced proportions create a meditative atmosphere in your living space.",japandi:"You appreciate the intersection of Japanese minimalism and Scandinavian warmth — beauty in imperfection, natural materials, and serene calm.",midcentury:"Mid-century design's iconic silhouettes and warm walnut tones resonate with you. Retro optimism meets timeless modern elegance.",artdeco:"Bold geometry, gold accents, and dramatic glamour speak to your sophisticated side. Art Deco brings 1920s luxury to today.",transitional:"You value balance — clean contemporary lines softened by traditional warmth. Timeless, approachable, effortlessly elegant.",french:"Provincial French charm captivates you — soft pastels, stone accents, and rustic elegance that feels like a countryside escape.",eclectic:"Rules are for following, not keeping. You confidently mix eras and cultures — your space is uniquely, unapologetically you.",tropical:"You want to bring the outdoors in — bamboo, rattan, and lush greenery transform your living room into a daily resort escape.",cottage:"You crave cozy charm — floral prints, warm lighting, and snug nooks. Your living room should feel like a warm hug.",southwest:"Desert warmth inspires you — terracotta tones, textured walls, and organic materials create grounded, inviting spaces.",monochrome:"You see beauty in restraint — black, white, and gray create dramatic, sophisticated spaces with powerful visual impact.",nautical:"The sea calls to you — navy blues, crisp whites, and rope details bring timeless maritime charm to your home.",glam:"You love a touch of Hollywood — mirrored surfaces, crystal details, and plush textures. Life is a stage, and your living room shines.",organic:"Organic curves, natural textures, and soft earthy tones define your style. You want a space that feels grounded, gentle, and alive.",wabi:"You find beauty in imperfection — weathered wood, handmade ceramics, and the quiet elegance of things that age gracefully.",maximalist:"More is more — you embrace bold colors, abundant patterns, and curated collections that make your space vibrantly alive.",contemporary:"You stay current — fresh finishes, clean silhouettes, and on-trend details keep your space feeling modern and relevant.",};
function shuffle(a){for(let i=a.length-1;i>0;i--){const j=Math.floor(Math.random()*(i+1));[a[i],a[j]]=[a[j],a[i]]}return a}
let picks={};let step=1;function r(id){return IMG+id+"?w=400&h=300&fit=crop"}
function renderGrid(){const el=document.getElementById('styleGrid');el.innerHTML=STYLES.map(s=>'
'+'
'+s.name+'
'+s.desc+'
'+'
').join('');updateUI()}
function toggle(id){picks[id]=!picks[id];document.querySelector('.style-card[data-id="'+id+'"]').classList.toggle('selected',picks[id]);updateUI()}
function updateUI(){const cnt=Object.values(picks).filter(Boolean).length;document.getElementById('picksCount').textContent=cnt;document.getElementById('picksSummary').classList.toggle('show',cnt>0);document.getElementById('btnNext').disabled=cnt===0;document.getElementById('stepIndicator').textContent='Step 1 of 2 — '+cnt+' style'+(cnt!==1?'s':'')+' liked';document.getElementById('progressFill').style.width=step===1?'6%':'100%'}
function goNext(){showResult(sortResults(STYLES.filter(s=>picks[s.id])))} function skipPage(){picks={};STYLES.forEach(s=>picks[s.id]=!0);showResult(shuffle([...STYLES]).slice(0,5))}
function sortResults(arr){if(arr.length<=5)return arr;return shuffle(arr).slice(0,5)} function showResult(sorted){step=2;document.getElementById('stepIndicator').textContent='🎉 Your Style Profile';document.getElementById('progressFill').style.width='100%';document.getElementById('styleGrid').style.display='none';document.getElementById('picksSummary').classList.remove('show');document.querySelector('.actions').style.display='none';const el=document.getElementById('resultStyles');el.innerHTML=sorted.map((s,i)=>{const pct=Math.round(Math.max(60,100-i*10));return'
'+s.name+'
'}).join('');
document.getElementById('resultDesc').innerHTML='Your top pick: '+sorted[0].name+'
'+FULL_DESC[sorted[0].id];document.getElementById('resultSub').textContent='Based on your '+(sorted.length>1?sorted.length:'')+' selection'+(sorted.length>1?'s':'');document.getElementById('resultScreen').classList.add('show')}
function resetAll(){picks={};step=1;document.getElementById('progressFill').style.width='6%';document.getElementById('styleGrid').style.display='';document.querySelector('.actions').style.display='';document.getElementById('resultScreen').classList.remove('show');document.getElementById('stepIndicator').textContent='Step 1 of 2';renderGrid()}
renderGrid();