*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --green: #2F8D46;
      --dark-green: #1a5e2d;
      --light-green: #e8f5e9;
      --accent: #00c853;
      --bg: #f6fdf7;
      --white: #fff;
      --border: #d4ecd8;
      --text: #1a1a1a;
      --mid: #444;
      --light: #777;
    }
    html { scroll-behavior: smooth; }
    body { font-family: 'Poppins', sans-serif; background: var(--bg); color: var(--text); }

    /* NAV */
    nav { background: var(--white); border-bottom: 2px solid var(--border); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 12px rgba(47,141,70,.08); }
    .nav-inner { max-width: 1100px; margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
    .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .logo-box { width: 36px; height: 36px; background: var(--green); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; color: #fff; flex-shrink: 0; }
    .logo-text span { font-weight: 700; font-size: 15px; color: var(--green); display: block; line-height: 1.2; }
    .logo-text small { font-size: 10px; color: var(--light); }
    .nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
    .nav-links a { text-decoration: none; color: var(--mid); font-size: 13px; font-weight: 500; transition: color .2s; }
    .nav-links a:hover, .nav-links a.active { color: var(--green); }
    .nav-btn { background: var(--green); color: #fff !important; padding: 8px 18px; border-radius: 6px; font-size: 13px !important; font-weight: 600 !important; transition: background .2s !important; }
    .nav-btn:hover { background: var(--dark-green) !important; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
    .hamburger span { width: 24px; height: 2px; background: var(--mid); border-radius: 2px; transition: .3s; display: block; }
    .mobile-menu { display: none; position: fixed; top: 62px; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 199; flex-direction: column; padding: 20px; gap: 2px; overflow-y: auto; box-shadow: 0 8px 32px rgba(0,0,0,.15); }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { text-decoration: none; color: var(--mid); font-size: 16px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--border); transition: color .2s; }
    .mobile-menu a:hover { color: var(--green); }
    .mobile-menu .m-reg { background: var(--green); color: #fff !important; padding: 14px; border-radius: 10px; text-align: center; margin-top: 14px; border-bottom: none; font-weight: 700 !important; }

    /* BREADCRUMB */
    .breadcrumb { max-width: 1100px; margin: 16px auto 0; padding: 0 20px; font-size: 12px; color: var(--light); }
    .breadcrumb a { color: var(--green); text-decoration: none; }
    .breadcrumb span { margin: 0 5px; }

    /* HERO */
    .hero-wrap { max-width: 1100px; margin: 18px auto 0; padding: 0 20px; }
    .hero-banner { background: linear-gradient(135deg, #071f12 0%, #0f3d20 35%, #1a6632 65%, #2F8D46 100%); border-radius: 20px; padding: 44px 40px; position: relative; overflow: hidden; color: #fff; }
    .hero-banner::before { content: ''; position: absolute; top: -80px; right: -80px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(0,200,83,.18) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
    .hero-banner::after { content: ''; position: absolute; bottom: -100px; left: 15%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,.03) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
    .hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; z-index: 1; }
    .live-tag { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(4px); }
    .live-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: blink 1.4s ease-in-out infinite; }
    @keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }
    .hero-banner h1 { font-size: 46px; font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 8px; }
    .hero-banner h1 em { font-style: normal; color: var(--accent); }
    .hero-sub { font-size: 14px; opacity: .8; line-height: 1.65; margin-bottom: 26px; max-width: 520px; }
    .hero-meta { display: flex; flex-wrap: wrap; gap: 14px; }
    .hm { display: flex; align-items: center; gap: 8px; font-size: 13px; }
    .hm-icon { width: 30px; height: 30px; background: rgba(255,255,255,.14); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
    .hm b { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; }
    .hm small { font-size: 11px; opacity: .65; }

    /* COUNTDOWN */
    .cd-box { background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 22px 24px; text-align: center; backdrop-filter: blur(10px); min-width: 210px; flex-shrink: 0; }
    .cd-title { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; opacity: .65; margin-bottom: 14px; min-height: 16px; }
    .cd-row { display: flex; align-items: flex-start; gap: 5px; justify-content: center; }
    .cd-unit { text-align: center; }
    .cd-num { font-size: 32px; font-weight: 800; color: var(--accent); display: block; line-height: 1; font-variant-numeric: tabular-nums; }
    .cd-lbl { font-size: 9px; opacity: .6; text-transform: uppercase; margin-top: 4px; letter-spacing: .5px; }
    .cd-sep { font-size: 28px; font-weight: 800; color: var(--accent); opacity: .5; padding-top: 2px; }
    .cd-event-label { font-size: 10px; color: rgba(255,255,255,.55); margin-top: 10px; }
    .cd-register { display: block; margin-top: 14px; background: var(--accent); color: #000; text-decoration: none; padding: 10px 14px; border-radius: 9px; font-size: 13px; font-weight: 800; transition: background .2s, transform .15s; cursor: pointer; border: none; font-family: 'Poppins', sans-serif; width: 100%; }
    .cd-register:hover { background: #00e65c; transform: translateY(-1px); }

    /* MAIN */
    .main { max-width: 1100px; margin: 28px auto 60px; padding: 0 20px; display: grid; grid-template-columns: 1fr 310px; gap: 24px; align-items: start; }

    /* TABS */
    .tabs { display: flex; overflow-x: auto; border-bottom: 2px solid var(--border); margin-bottom: 22px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .tabs::-webkit-scrollbar { display: none; }
    .tab { padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--light); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: color .2s, border-color .2s; }
    .tab.active { color: var(--green); border-bottom-color: var(--green); }

    .section-title { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
    .prose p { font-size: 14px; line-height: 1.75; color: var(--mid); margin-bottom: 12px; }

    /* HIGHLIGHT GRID */
    .hc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
    .hc { background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; padding: 15px; display: flex; align-items: flex-start; gap: 11px; transition: border-color .2s, box-shadow .2s; }
    .hc:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(47,141,70,.1); }
    .hc-icon { width: 36px; height: 36px; background: var(--light-green); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
    .hc h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
    .hc p { font-size: 12px; color: var(--light); line-height: 1.5; }

    /* TIMELINE */
    .timeline { position: relative; padding-left: 24px; }
    .timeline::before { content:''; position:absolute; left:8px; top:0; bottom:0; width:2px; background:linear-gradient(to bottom,var(--green),var(--light-green)); }
    .tl-item { position: relative; padding: 0 0 24px 20px; }
    .tl-dot { position: absolute; left: -20px; top: 6px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; }
    .tl-item.done .tl-dot { background: #bbb; box-shadow: 0 0 0 2px #bbb; }
    .tl-item.upcoming .tl-dot { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
    .tl-item.live .tl-dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(0,200,83,.3); animation: blink 1s infinite; }
    .tl-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 5px; }
    .tl-badge.done { background: #f1f1f1; color: #999; }
    .tl-badge.upcoming { background: var(--light-green); color: var(--green); }
    .tl-badge.live { background: #fff3e0; color: #e65100; }
    .tl-date { font-size: 11px; color: var(--green); font-weight: 600; margin-bottom: 3px; }
    .tl-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
    .tl-desc { font-size: 12px; color: var(--light); line-height: 1.55; }

    /* PRIZES */
    .prize-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 12px; }
    .prize-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 14px; padding: 18px 12px; text-align: center; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
    .prize-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(47,141,70,.12); }
    .prize-card::before { content:''; position:absolute; top:0;left:0;right:0;height:3px; }
    .pc-g1::before { background: linear-gradient(90deg,#f5c518,#ffd700); }
    .pc-g2::before { background: linear-gradient(90deg,#9e9e9e,#e0e0e0); }
    .pc-g3::before { background: linear-gradient(90deg,#a87850,#cd8c52); }
    .pc-g4::before { background: linear-gradient(90deg,var(--green),var(--accent)); }
    .pc-g5::before { background: linear-gradient(90deg,#7c4dff,#b388ff); }
    .pc-g6::before { background: linear-gradient(90deg,#00897b,#4db6ac); }
    .p-trophy { font-size: 28px; margin-bottom: 6px; }
    .p-place { font-size: 10px; color: var(--light); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
    .p-title { font-size: 14px; font-weight: 800; color: var(--text); margin: 5px 0 6px; }
    .p-details { font-size: 11px; color: var(--light); line-height: 1.6; }
    .prizes-extra { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }

    /* RULES */
    .rule-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .rule-list li { display: flex; gap: 12px; background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; padding: 13px 14px; font-size: 13px; color: var(--mid); line-height: 1.55; }
    .rule-list li .ri { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

    /* JUDGING */
    .judging-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
    .judge-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; padding: 16px; }
    .judge-pct { font-size: 28px; font-weight: 900; color: var(--green); margin-bottom: 4px; }
    .judge-name { font-size: 13px; font-weight: 700; }
    .judge-desc { font-size: 12px; color: var(--light); margin-top: 3px; line-height: 1.4; }
    .judge-bar { height: 4px; background: var(--light-green); border-radius: 4px; margin-top: 12px; overflow: hidden; }
    .judge-fill { height: 100%; background: var(--green); border-radius: 4px; width: 25%; }

    /* SIDEBAR */
    .reg-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; position: sticky; top: 72px; box-shadow: 0 4px 24px rgba(47,141,70,.10); }
    .reg-top { background: linear-gradient(135deg, #071f12 0%, #1a6632 60%, #2F8D46 100%); padding: 20px 18px; color: #fff; text-align: center; }
    .reg-tag-s { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.28); font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
    .reg-top h3 { font-size: 20px; font-weight: 900; line-height: 1.15; }
    .reg-top h3 em { font-style: normal; color: var(--accent); }
    .free-pill { display: inline-block; background: rgba(0,200,83,.2); border: 1px solid rgba(0,200,83,.4); color: #aeffca; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-top: 8px; }
    .reg-body { padding: 14px 16px; }
    .rd { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
    .rd:last-of-type { border-bottom: none; }
    .rd .ri2 { font-size: 15px; min-width: 20px; margin-top: 1px; }
    .rd .rl { color: var(--light); font-size: 10px; }
    .rd .rv { font-weight: 600; font-size: 13px; color: var(--text); }
    .reg-btn { display: block; width: 100%; background: var(--green); color: #fff; border: none; padding: 14px; font-size: 15px; font-weight: 700; border-radius: 10px; cursor: pointer; margin-top: 14px; text-align: center; text-decoration: none; font-family: 'Poppins', sans-serif; transition: background .2s, transform .15s; }
    .reg-btn:hover { background: var(--dark-green); transform: translateY(-1px); }
    .deadline-note { text-align: center; font-size: 11px; color: #e53935; margin-top: 8px; font-weight: 600; }

    .side-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 14px; padding: 16px; margin-top: 14px; }
    .side-card h3 { font-size: 14px; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
    .perk-list { list-style: none; }
    .perk-list li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--mid); padding: 7px 0; border-bottom: 1px solid var(--border); }
    .perk-list li:last-child { border-bottom: none; }
    .perk-list li span { font-size: 16px; }

    /* MODAL */
    .overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 999; align-items: center; justify-content: center; backdrop-filter: blur(5px); padding: 16px; }
    .overlay.open { display: flex; }
    .modal { background: var(--white); border-radius: 20px; width: 100%; max-width: 420px; overflow: hidden; animation: pop .3s cubic-bezier(.34,1.56,.64,1); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
    @keyframes pop { from{opacity:0;transform:scale(.85) translateY(30px)} to{opacity:1;transform:scale(1) translateY(0)} }
    .m-head { background: linear-gradient(135deg, #071f12, #2F8D46); padding: 28px 22px; text-align: center; color: #fff; }
    .m-icon { font-size: 44px; margin-bottom: 10px; }
    .m-head h3 { font-size: 20px; font-weight: 800; }
    .m-head p { font-size: 13px; opacity: .8; margin-top: 4px; }
    .m-body { padding: 22px; }
    .m-body > p { font-size: 14px; color: var(--mid); line-height: 1.6; margin-bottom: 14px; }
    .m-info { background: var(--light-green); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; padding: 12px 14px; font-size: 13px; color: var(--mid); margin-bottom: 18px; line-height: 1.8; }
    .m-info strong { color: var(--green); }
    .m-actions { display: flex; gap: 10px; }
    .m-go { flex: 1; background: var(--green); color: #fff; border: none; padding: 13px; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif; text-decoration: none; text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; transition: background .2s; }
    .m-go:hover { background: var(--dark-green); }
    .m-cancel { background: none; border: 1.5px solid var(--border); color: var(--mid); padding: 13px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Poppins', sans-serif; transition: border-color .2s; }
    .m-cancel:hover { border-color: var(--green); color: var(--green); }

    /* FOOTER */
    footer { background: var(--white); border-top: 2px solid var(--border); padding: 36px 20px; }
    .footer-inner { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
    .fb p { font-size: 12px; color: var(--light); margin-top: 10px; line-height: 1.65; }
    .fc h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
    .fc a { display: block; font-size: 13px; color: var(--light); text-decoration: none; padding: 3px 0; transition: color .2s; }
    .fc a:hover { color: var(--green); }
    .f-bottom { max-width: 1100px; margin: 22px auto 0; padding-top: 16px; border-top: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--light); }

    /* RESPONSIVE */
    @media(max-width:900px) {
      .main { grid-template-columns: 1fr; }
      .reg-card { position: static; }
      .hero-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .prize-row { grid-template-columns: 1fr 1fr; }
      .prizes-extra { grid-template-columns: 1fr 1fr; }
      .judging-grid { grid-template-columns: 1fr 1fr; }
    }
    @media(max-width:640px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero-banner { padding: 26px 20px; border-radius: 14px; }
      .hero-banner h1 { font-size: 30px; letter-spacing: -1px; }
      .hero-wrap { padding: 0 12px; }
      .hc-grid { grid-template-columns: 1fr; }
      .prize-row { grid-template-columns: 1fr; }
      .prizes-extra { grid-template-columns: 1fr; }
      .judging-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; gap: 18px; }
      .main { padding: 0 12px; }
      .breadcrumb { padding: 0 12px; }
      .cd-num { font-size: 26px; }
      .cd-box { padding: 18px 14px; }
    }
    @media(max-width:380px) {
      .hero-banner h1 { font-size: 26px; }
      .tab { padding: 10px 10px; font-size: 12px; }
      .hero-banner { padding: 22px 16px; }
    }

    /* WINNERS TAB STYLES */
    #tab-winners {
        padding-top: 10px;
    }
    .winners-intro { text-align: center; margin-bottom: 30px; }
    .winners-intro p { color: var(--mid); max-width: 600px; margin: 10px auto; font-size: 13px; line-height: 1.6; }
    .winners-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
    .winner-card { background: var(--white); border: 2.5px solid var(--border); border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease; }
    .winner-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(47,141,70,0.18); }
    .gold-card { border-color: #f5c518; background: linear-gradient(to bottom, #fff, #fffde6); }
    .silver-card { border-color: #9e9e9e; background: linear-gradient(to bottom, #fff, #f9f9f9); }
    .place-sticker { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 900; font-size: 13px; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,0.15); color: #fff; }
    .gold-card .place-sticker { background: linear-gradient(135deg, #f5c518, #ffd700); color: #000; }
    .silver-card .place-sticker { background: linear-gradient(135deg, #9e9e9e, #e0e0e0); color: #000; }
    .winner-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #f0f0f0; }
    .winner-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
    .winner-card:hover .winner-img img { transform: scale(1.08); }
    .winner-details { padding: 18px 20px; }
    .winner-details h3 { margin-bottom: 8px; font-size: 19px; color: var(--text); font-weight: 800; }
    .winner-details .lead { font-size: 14px; margin-bottom: 6px; color: var(--green); font-weight: 700; }
    .winner-details .members { font-size: 12px; color: var(--light); line-height: 1.6; }
    .group-photo-section { margin-top: 40px; text-align: center; }
    .grand-photo { background: var(--white); padding: 12px; border-radius: 18px; border: 1.5px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
    .grand-photo img { width: 100%; border-radius: 12px; display: block; }
    .social-section { margin-top: 45px; }
    .linkedin-post { border-radius: 20px; overflow: hidden; border: 1.5px solid var(--border); background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

    /* FIREWORKS CANVAS */
    #fireworksCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1000; }

    /* ANIMATIONS */
    .animate-up { animation: fadeInUp 0.8s ease backwards; }
    .animate-pop { animation: popIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; }
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes popIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }

    @media(max-width: 768px) {
        .winners-row { grid-template-columns: 1fr; }
    }

    /* UI APPS SECTION */
    .ui-apps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
        margin-top: 20px;
    }
    .ui-app-card {
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: 20px;
        padding: 20px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    .ui-app-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }
    .ui-app-top {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }
    .ui-badge {
        background: var(--light-green);
        color: var(--green);
        font-size: 10px;
        font-weight: 800;
        padding: 5px 10px;
        border-radius: 6px;
        text-transform: uppercase;
        border: 1px solid rgba(47,141,70,0.15);
    }
    .ui-name { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.2; }
    .ui-team { font-size: 12px; color: var(--light); margin-top: 2px; }
    .ui-gallery { border-radius: 12px; overflow: hidden; background: #f9f9f9; }
    .ui-gallery img { width: 100%; object-fit: cover; display: block; border-radius: 8px; transition: transform 0.3s; }
    .ui-gallery img:hover { transform: scale(1.03); }
    
    .gallery-1 { display: grid; }
    .gallery-1 img { aspect-ratio: 16/10; }
    
    .gallery-3 { 
        display: grid; 
        grid-template-columns: 1.5fr 1fr; 
        grid-template-rows: 1fr 1fr; 
        gap: 8px; 
    }
    .gallery-3 img { height: 100%; }
    .gallery-3 img:first-child { grid-row: span 2; }
    
    .gallery-scroller { 
        display: flex; 
        overflow-x: auto; 
        gap: 10px; 
        padding-bottom: 5px; 
        scroll-snap-type: x mandatory; 
    }
    .gallery-scroller::-webkit-scrollbar { height: 4px; }
    .gallery-scroller::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
    .gallery-scroller img { 
        flex: 0 0 160px; 
        aspect-ratio: 9/16; 
        scroll-snap-align: start; 
    }
