/* Container for the split layout */
.split {
    display: flex;
    gap: var(--gridGap, 20px);
    align-items: stretch;
    /* critical for equal height */
    max-width: var(--max, 1160px);
    margin: 0 auto;
    padding: 0 18px;
    min-height: 0;
}

.logoPanel {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    /* fill parent's height */
    position: relative;
    min-height: 0;
}

.logoBackground {
    width: 100%;
    height: 100%;
    /* fill logoPanel height */
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(10, 16, 32, 0.74), rgba(10, 16, 32, 0.52));
    box-shadow:
        0 0 15px rgba(42, 169, 255, 0.6);
    border: 1px solid rgba(140, 200, 255, 0.14);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    color: rgba(234, 242, 255, 0.85);
    font-family: Oxanium, Inter, sans-serif;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: clamp(24px, 6vw, 48px);
    user-select: none;
    text-align: center;
    z-index: 1;
}

.logoBackground img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Dashed grid overlay */
.dashedGrid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-lg);
  z-index: 0;

  /* Linear gradient background fading between blue and yellow */
  background:
    linear-gradient(45deg, #2aaaff17 10%, #ffd84d2a 100%), /* blue to yellow gradient */
    /* Create cross marks using layered gradients */
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 18px,
      rgba(42, 169, 255, 0.1) 18px,
      rgba(42, 169, 255, 0.1) 20px,
      transparent 20px,
      transparent 38px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 18px,
      rgba(42, 169, 255, 0.1) 18px,
      rgba(42, 169, 255, 0.1) 20px,
      transparent 20px,
      transparent 38px
    );

  background-size: 100% 100%, 38px 38px, 38px 38px;
  background-repeat: no-repeat, repeat, repeat;

  /* Optional: fade out near edges */
  mask-image:
    linear-gradient(to top, transparent 0%,  black 10%, transparent 100%),
    linear-gradient(to right, transparent 0%,  black 10%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(to top, transparent 0%, black 10%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, transparent 100%);
}





/* Logo icon above text */
.logoIcon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
    z-index: 2;
}

/* Logo text */
.logoText {
    filter: drop-shadow(0 10px 5px rgba(0, 0, 0, 0.5));
    position: relative;
    z-index: 2;
    font-size: 0.7em;
    align-content: center;
    left: 7px;
}

/* Fade overlay around edges */
.fadeOverlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse at center, transparent 60%, rgba(10, 16, 32, 0.8) 100%);
    z-index: 3;
}

/* Grid container for capabilities */
.gridContainer {
    flex: 1 1 65%;
    /* take remaining space */
    max-width: 65%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: var(--gridGap, 20px);
    min-height: 0;
}

/* Each grid item */
.gridItem {
    background: var(--panel);
    border-radius: var(--radius-lg);
    padding: 12px;
    position: relative;
    box-shadow: var(--shadow2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text);
}

/* Icon wrapper with relative positioning for floating button */
.iconWrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 aspect ratio */
    overflow: visible;
    margin-bottom: 12px;
}

/* Icon image fills the wrapper */
.iconWrapper .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(42, 169, 255, 0.5);
}

/* Floating action button top-right */
.actionBtn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--yellow);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-weight: 700;
    color: #1A1B1F;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 216, 77, 0.6);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.actionBtn:hover {
    background: var(--yellow2);
}

/* Title and subtitle text */
.title {
    margin: 0 0 4px 0;
    font-family: Oxanium, Inter, sans-serif;
    font-size: var(--h3);
    text-align: center;
    line-height: 1.2;
    max-height: 2.4em;
    /* approx 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
}

.subtitle {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: var(--h5, 14px);
    color: var(--muted);
    text-align: center;
    line-height: 1.2;
    max-height: 2.4em;
    /* approx 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 600px) {
    .split {
        flex-direction: column;
        align-items: stretch;
    }

    .logoPanel,
    .gridContainer {
        max-width: 100%;
        flex: none;
    }

    /* Fixed height for logoPanel on mobile */
    .logoPanel {
        height: 300px;
        /* adjust as needed */
        margin-bottom: 20px;
    }

    .gridContainer {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

/* Section 3 container */
.arena {
    margin-top: clamp(18px, 3.2vw, 34px);
    padding: clamp(18px, 3.2vw, 30px);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(10, 16, 32, 0.74), rgba(10, 16, 32, 0.52));
    border: 1px solid rgba(140, 200, 255, 0.14);
    box-shadow: var(--shadow2);
    position: relative;
    overflow: hidden;
}

/* Overlay effect for arena section */
.arena::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(800px 220px at 15% 0%, rgba(42, 169, 255, 0.18), transparent 55%),
        radial-gradient(700px 240px at 85% 10%, rgba(255, 216, 77, 0.14), transparent 55%),
        linear-gradient(90deg, rgba(118, 215, 255, 0.05), transparent 40%, rgba(255, 216, 77, 0.05));
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content is above overlay */
.arena>* {
    position: relative;
    z-index: 1;
}

/* Kicker text */
.arena .kicker {
    font-family: Oxanium, Inter, sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: rgba(118, 215, 255, 0.92);
    margin: 0 0 10px 0;
}

/* Title */
.arena .title {
    margin: 0 0 10px 0;
    font-family: Oxanium, Inter, sans-serif;
    font-size: var(--h2);
    letter-spacing: 0.02em;
    line-height: 1.06;
    color: var(--text);
    text-align: left;
    top: 10px;
}

/* Lead paragraph */
.arena .lead {
    margin: 0 0 20px 0;
    color: var(--muted);
    font-size: var(--p);
    line-height: 1.65;
}

/* Stat strip container */
.statStrip {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}

/* Individual stat chip */
.chip {
    background: var(--panel2, rgba(12, 20, 42, 0.62));
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    box-shadow: var(--shadow2);
    font-family: Oxanium, Inter, sans-serif;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    height: auto;
    cursor: default;
    transition: background 0.3s ease;
    overflow-wrap: break-word;
  word-wrap: break-word;
}

.chip strong {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    color: var(--yellow);
}

.chip span {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
}

/* Responsive: stack chips vertically on small screens */
@media (max-width: 600px) {
    .statStrip {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .chip {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}