/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:system-ui,-apple-system,sans-serif;
}

/* BODY */

body{
    background:#1e293b;
    color:#e5e7eb;
}

/* BUILDING MEMORIES */

.memory-section {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  gap: 40px;
  align-items: center;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 30px;
}

.license-card img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.license-card img:hover {
  transform: scale(1.05) rotate(0deg);
}

.license-card:first-child img {
  transform: rotate(-10deg);
}

.license-card:last-child img {
  transform: rotate(10deg);
}

.memory-content {
  text-align: center;
}

.memory-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #0f4c81;
}

.memory-tagline {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1b7fd0;
  margin-bottom: 20px;
}

.memory-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 20px;
}

.memory-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.memory-links a {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.memory-links a:hover {
  background: #22c55e;
  color: #041827;
  transform: translateY(-2px);
}

.knot-section{
    max-width:1200px;
    margin:80px auto;
    padding:40px;
    display:flex;
    align-items:center;
    gap:40px;

    background:rgba(0,0,0,.15);
    border-radius:24px;
}

.knot-image img{
    width:250px;
    border-radius:16px;
}

.knot-content h2{
    color:#20d06b;
    margin-bottom:10px;
}

.knot-content h3{
    color:#ffffff;
    margin-bottom:15px;
}

.knot-content ol{
    padding-left:20px;
    line-height:1.8;
}

/* BACKGROUND */

.page-bg{
    position:fixed;
    inset:0;
    background:url("splash.png") center/cover no-repeat;
    opacity:.6;
    z-index:-1;
}


.la-logo{
text-align:center;
    margin:0 0 10px 0;
    margin-bottom:10px;
}

.la-logo img{
    height:150px;
    width:auto;
}


/* MAIN */

main{
    max-width:1400px;
    margin:auto;
    padding:2rem;
}

/* HERO */

.hero-message{
    max-width:850px;
    margin:.5rem auto 1rem auto;

    background:rgba(15,40,50,.85);
    backdrop-filter:blur(10px);

    border-radius:20px;

    padding:1.25rem 1.5rem;
    text-align:center;
}

.hero-message h1{
    font-size:3.5rem;
    line-height:1.1;
    max-width:900px;
    margin:0 auto 20px auto;
    margin-bottom:12px;
}

.hero-message h1 span{
    color:#22c55e;
}

.hero-message p{
    max-width:700px;
    margin:auto;
    margin-bottom:20px;
    color:#d1d5db;
}

.hero-banner{
    max-width:1200px;
    margin:auto;
    overflow:hidden;
    border-radius:20px;
    margin-top:20px;
}

.hero-banner img{
    width:100%;
    display:block;
}

.hero-nav{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;

    margin-top:25px;
}

.hero-nav a{
    text-decoration:none;

    color:#e5e7eb;

    background:rgba(255,255,255,.08);

    padding:10px 18px;

    border-radius:999px;

    font-weight:600;

    transition:.25s ease;
}

.hero-nav a:hover{
    background:#22c55e;
    color:#04111f;
}


/* BUTTON */

.btn-primary{
    display:inline-block;

    margin-top:20px;

    padding:10px 20px;

    border-radius:16px;

    text-decoration:none;

    background:linear-gradient(
        135deg,
        #22c55e,
        #22d3ee
    );

    color:#020617;
    font-weight:700;
}

/* SECTIONS */

.section-box{
    max-width:1200px;

    margin:3rem auto;

    background:rgba(15,40,50,.85);

    padding:2rem;

    border-radius:20px;
}

.section-box h2{
    text-align:center;
    margin-bottom:30px;
}

/* ==========================
   OWNERSHIP NOTICE
========================== */

.ownership-section{

    text-align:center;

}

.ownership-section p{

    max-width:850px;

    margin:18px auto;

    line-height:1.8;

    color:#d1d5db;

}

.ownership-disclaimer{

    margin-top:30px;

    padding-top:20px;

    border-top:1px solid rgba(255,255,255,.12);

    font-size:.95rem;

    color:#9ca3af;

}

/* COLLECTIONS */

.collection-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.collection-card{
    background:#020617;

    border-radius:16px;

    padding:20px;

    text-align:center;
}

.collection-card img{
    width:100%;
    border-radius:12px;
    margin-bottom:15px;
}

.collection-card h3{
    color:#22c55e;
    margin-bottom:10px;
}

.collection-card p{
    color:#9ca3af;
}


.collection-card {
  background: rgba(255,255,255,.05);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: .3s ease;
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,.25);
}

.collection-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.collection-card h4 {
  margin-bottom: 15px;
}

.collection-title {
  text-align: center;
  color: #20d06b;
  font-size: 2rem;
  margin-top: 60px;
  margin-bottom: 10px;
}

.collection-subtitle {
  text-align: center;
  color: #d1d5db;
  font-size: 1.15rem;
  margin-bottom: 35px;
}

/* STORY */

.story-text{
    max-width:800px;

    margin:auto;

    text-align:center;

    line-height:1.8;
}

/* FOOTER */

footer{
    text-align:center;
    padding:40px;
}

/* Desktop / Mobile Button Text */

.mobile-text{
    display:none;
}

.desktop-text{
    display:inline;
}

.preview-modal{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.94);

    z-index:9999;

    padding:25px;

    text-align:center;

}

.preview-modal.show{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    animation:fadeIn .25s ease;

}

.preview-modal img{

    width:90%;

    max-width:420px;

    border-radius:20px;

    margin-bottom:20px;

}

.preview-modal h2{

    color:white;

    margin-bottom:20px;

}

.close-preview{

    position:absolute;

    top:20px;

    right:20px;

    color:white;

    font-size:42px;

    cursor:pointer;

}

/* ==========================
   MOBILE PREVIEW
========================== */

@media (max-width:768px){



.desktop-text{
    display:none;
}

.mobile-text{
    display:inline;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:scale(.97);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

}


/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){

/* Hero */
.hero-banner img{
    width:100%;
    border-radius:16px;
    margin-bottom:20px;
}

/* Building Memories */

.memory-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-areas:
        "licenseFront licenseBack"
        "content content";
    gap:20px;
    align-items:center;
    margin-top:0;
}

.memory-section .license-card:first-child{
    grid-area:licenseFront;
    justify-self:center;
}

.memory-section .license-card:last-child{
    grid-area:licenseBack;
    justify-self:center;
}

.license-card img{
    width:160px;
    max-width:100%;
    height:auto;
}

.memory-content{
    grid-area:content;
    text-align:center;
    width:90%;
    margin:auto;
}

.memory-content h2{
    margin-top:15px;
}

.memory-tagline{
    margin-bottom:18px;
}

.memory-content p{
    line-height:1.7;
}

.memory-links{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
}

/* Knot */

.knot-section{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:25px;
}

.knot-image{
    width:100%;
    display:flex;
    justify-content:center;
}

.knot-image img{
    width:220px;
    max-width:100%;
    height:auto;
}

.knot-content{
    width:90%;
    max-width:420px;
}

.knot-content ol{
    text-align:left;
    display:inline-block;
}

/* Collections */

.collection-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

/* Story */

.story-text{
    width:90%;
    margin:auto;
    line-height:1.8;
}

/* ==========================
   PREVIEW ARROWS
========================== */

.preview-arrow{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    color:#fff;

    font-size:28px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

}

.preview-arrow.left{

    left:15px;

}

.preview-arrow.right{

    right:15px;

}

.preview-arrow:hover{

    background:#22c55e;

}

.preview-counter{

    color:#cbd5e1;

    font-size:.95rem;

    margin-top:-8px;

    margin-bottom:18px;

    font-weight:600;

    letter-spacing:.5px;

}

/* ==========================
   IMAGE TRANSITIONS
========================== */

#previewImage{

    transition:
        opacity .25s ease,
        transform .25s ease;

}

#previewImage.fade{

    opacity:0;

    transform:scale(.96);

}

/* ==========================
   PREVIEW COLOR BUTTONS
========================== */

.preview-colors{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:10px;

    width:100%;

    max-width:350px;

    margin:15px auto 25px;

}

.preview-color{

    display:flex;

    align-items:center;

    gap:10px;

    padding:10px 14px;

    border:none;

    border-radius:999px;

    background:rgba(255,255,255,.10);

    color:white;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.preview-color.active{

    background:#22c55e;

    color:#041827;

}

.preview-color:hover{

    transform:translateY(-2px);

}

.color-dot{

    width:22px;

    height:22px;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.35);

    flex-shrink:0;

}

.banana{
    background:#f6e27a;
}

.white{
    background:#ffffff;
}

.seafoam{
    background:#86c8b5;
}

.pink{
    background:#f3a5c5;
}

.iceblue{
    background:#b8dff6;
}

.bluemist{
    background:#a9cfe8;
}

.mint{
    background:#84c7a4;
}

.coral{
    background:#ff7f6e;
}

.aqua{
    background:#63d6e6;
}
/* ==========================
   PREVIEW STYLE BUTTONS
========================== */

.preview-style{

    display:flex;

    gap:10px;

    justify-content:center;

    margin:18px auto;

    width:100%;

    max-width:340px;

}

.preview-style-btn{

    flex:1;

    padding:10px;

    border:none;

    border-radius:999px;

    background:rgba(255,255,255,.12);

    color:white;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.preview-style-btn.active{

    background:#22c55e;

    color:#041827;

}

.preview-style-btn:hover{

    transform:translateY(-2px);

}

.preview-wrapper{

    position:relative;

    width:100%;

    display:block;

}

.preview-wrapper img{

    width:100%;

    display:block;

    border-radius:12px;

}

.tap-preview{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.05);

    backdrop-filter:blur(.5px);

    border-radius:12px;

    color:white;

    font-weight:700;

    text-align:center;

    pointer-events:none;

    transition:.3s;

}

}