/* =================================================================== */
/* ==                          HOMEPAGE STYLES                      == */
/* =================================================================== */

/* --- Banner --- */
.banner {
  width: 100%;
  height: 692px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  margin-bottom: var(--space-sm);
  overflow: hidden;
}
.banner:last-of-type {
  margin-bottom: 0;
}

.banner .container {
  max-width: 100rem;
  padding: 3.4375rem var(--space-md) 3.75rem var(--space-md);
  position: relative; 
  z-index: 10; 
}

.bg-light-grey{
    background-color: var(--color-bg-light);;
}
.bg-dark{
    background-color: var(--color-bg-dark);
}
.banner-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  z-index: 5;        
}

.banner-title {
  font-size: var(--font-size-large); 
  font-weight: 600;
  margin: 0;
}

.banner-slogan {
  font-size: var(--font-size-mid);
  font-weight: 400;
  margin: 0.3125rem 0 1.25rem 0;
}
.bg-light-grey .banner-title,
.bg-light-grey .banner-slogan { color: var(--color-text-dark); }
.bg-dark .banner-title,
.bg-dark .banner-slogan { color: var(--color-text-light); }

/* --- Social Grid --- */
.social-grid-container {
  max-width: 2550px;
  width: 100%;
  margin: 0 auto var(--space-sm) auto;
  padding: 0 var(--space-md);
  box-sizing: border-box;
}
.social-row {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.social-row:last-child { margin-bottom: 0; }
.social-card {
  flex: 1;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.social-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.card-content-wrapper {
  position: relative;
  z-index: 2;
  width: 450px;
  text-align: center;
}
.social-card-title {
  color: var(--color-bg-white);
  font-size: var(--font-size-large);
  font-weight: 700;
  margin: 0 0 1rem 0;
}

/* --- Marquee --- */
.marquee {
  width: 100%;
  height: 235px;
  background-color: var(--color-bg-white);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  height: 100%;
}
.marquee-item {
  flex-shrink: 0;
  width: 417px; 
  height: 235px;
  margin-right: var(--space-md);
}
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =================================================================== */
/* ==           SKELETON PLACEHOLDER STYLES                         == */
/* =================================================================== */

body.is-loading .banner-image,
body.is-loading .social-card-bg, 
body.is-loading .marquee-item img {
  visibility: hidden;
}

body.is-loading .banner-title,
body.is-loading .banner-slogan,
body.is-loading .banner .btn {
  animation: placeholder-shimmer 2s linear infinite;
  background-color: #e0e0e0;
  background-image: linear-gradient(to right, #e0e0e0 0%, #f0f0f0 40%, #e0e0e0 80%, #e0e0e0 100%);
  background-repeat: no-repeat;
  background-size: 2000px 100%;
  color: transparent !important;
  user-select: none;
  cursor: wait;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-xs);
}

body.is-loading .banner-title {
  height: 65px;
  width: 270px;
  margin-bottom: 0.75rem;
}

body.is-loading .banner-slogan {
  height: 32px;
  width: 325px;
  margin-bottom: 1.25rem;
}

body.is-loading .banner .button-group {
  gap: 1rem;
}

body.is-loading .banner .btn {
  border-color: transparent !important;
  height: 44px;
  width: 135px;
  margin-top: 0;
  padding: 0;
  border-radius: var(--radius-pill);
}

body.is-loading .banner .btn:hover {
  background-color: #e0e0e0 !important;
}

body.is-loading .social-card {
  background-color: #e0e0e0;
  background-image: none !important;
}

body.is-loading .social-card-title {
  animation: placeholder-shimmer 2s linear infinite;
  background-color: #d1d1d1;
  background-image: linear-gradient(to right, #d1d1d1 0%, #e0e0e0 40%, #d1d1d1 80%, #d1d1d1 100%);
  background-repeat: no-repeat;
  background-size: 2000px 100%;
  color: transparent !important;
  height: 65px;
  width: 325px;
  border-radius: var(--radius-xs);
  margin: 0 auto 1rem auto;
}

body.is-loading .social-card .realistic-glass-button {
  visibility: hidden;
}

body.is-loading .social-card .card-content-wrapper::after {
  content: '';
  display: block;
  animation: placeholder-shimmer 2s linear infinite;
  background-color: #d1d1d1;
  background-image: linear-gradient(to right, #d1d1d1 0%, #e0e0e0 40%, #d1d1d1 80%, #d1d1d1 100%);
  background-repeat: no-repeat;
  background-size: 2000px 100%;
  height: 44px;
  width: 177px;
  border-radius: var(--radius-pill);
  margin: 0 auto;
}

body.is-loading .marquee-item {
  animation: placeholder-shimmer 2s linear infinite;
  background-color: #e0e0e0;
  background-image: linear-gradient(to right, #e0e0e0 0%, #f0f0f0 40%, #e0e0e0 80%, #e0e0e0 100%);
  background-repeat: no-repeat;
  background-size: 2000px 100%;
}

body.is-loading .bg-dark .banner-title,
body.is-loading .bg-dark .banner-slogan,
body.is-loading .bg-dark .btn {
  background-color: #2a2a2e;
  background-image: linear-gradient(to right, #2a2a2e 0%, #3a3a3e 40%, #2a2a2e 80%, #2a2a2e 100%);
}

body.is-loading .bg-dark .btn:hover {
  background-color: #2a2a2e !important;
}

/* =================================================================== */
/* ==                  APPLE-STYLE BREAKPOINTS                      == */
/* =================================================================== */

/* --- 2. Small Desktop / Large Tablet Layout (1070px and below) --- */
@media (max-width: 1070px) {
    /* Reduce banner height and font sizes */
    .banner {
        height: 650px;
    }
    .banner-title {
        font-size: 32pt;
    }
    .banner-slogan {
        font-size: 18pt;
    }
    .social-grid-container {
        padding: 0 13px;
    }   
    .social-card {
        height: 490px;
    }
    .social-card h2 {
        font-size: 23pt;
    }
    .social-card a {
        font-size: 15pt;
        padding: 0.5rem 1rem;
    }
    #linkedin .social-card-bg {
    content: url('/assets/images/linkedin-bg-734.jpg');
    }
    #artstation .social-card-bg {
        content: url('/assets/images/artstation-bg-734.jpg');
    }
    #instagram .social-card-bg {
        content: url('/assets/images/instagram-bg-734.jpg');
    }
    #autodesk .social-card-bg {
        content: url('/assets/images/autodesk-bg-734.jpg');
    }
    .marquee{
      height: 160px;
    }
    .marquee-item{
      width: 280px;
      height: 160px;
      margin-right: 0.7rem;
    }
}


/* --- 3. Tablet Layout (734px and below) --- */
@media (max-width: 734px) {
    .banner {
        height: 500px;
    }
    .banner .container{
      padding: 3rem 0 0 0;
    }
    .banner-title {
        font-size: 22pt;
    }
    .banner-slogan {
        font-size: 15pt;
    }
    .btn.btn-solid-gold,
    .btn.btn-outline-gold{
      height: 36px;
    }
    #characters .banner-image {
    content: url('/assets/images/characters-hero-734.jpg');
    }
    #locations .banner-image {
    content: url('/assets/images/locations-hero-734.jpg');
    }
    #marketplace .banner-image {
    content: url('/assets/images/marketplace-hero-734.jpg');
    }
.social-grid-container {
    padding: 0;
}
.social-row {
    flex-direction: column;
    height: 1012px;
}
.social-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.social-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
#linkedin .social-card-bg {
    content: url('/assets/images/linkedin-bg-734.jpg');
}
#artstation .social-card-bg {
    content: url('/assets/images/artstation-bg-734.jpg');
}
#instagram .social-card-bg {
    content: url('/assets/images/instagram-bg-734.jpg');
}
#autodesk .social-card-bg {
    content: url('/assets/images/autodesk-bg-734.jpg');
}
.social-card .card-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 0; 
}
.social-card-title {
    font-size: 22pt;
    font-weight: 600;
    color: var(--color-bg-white);
}
.social-card .realistic-glass-button {
    display: inline-block;
    padding: 0.75rem 1.875rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    color: var(--color-bg-white);
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border-radius: var(--radius-pill);
}
.social-card .realistic-glass-button:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.1), 0 0.625rem 1.25rem rgba(0, 0, 0, 0.1);
}
    .marquee{
      height: 134px;
    }
    .marquee-item{
      width: 238px;
      height: 134px;
      margin-right: 0.7rem;
    }
}