/* ===========================
   Global Styles & Reset
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F2F0EF;
    font-family: 'JetBrains Mono', monospace;
    color: #000000;
    min-height: 100vh;
    padding: 20px;
}

/* ===========================
   Container
   =========================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.name {
    font-size: clamp(1.5rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 12px;
    color: #333333;
}

.ailoka-description {
    font-size: clamp(0.75rem, 2vw, 1rem);
    font-weight: 400;
    margin-bottom: 10px;
    color: #666666;
    font-style: italic;
}

/* ===========================
   Section Title
   =========================== */
.section-title {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 0;
    color: #333333;
    letter-spacing: -0.01em;
}

/* ===========================
   Connecting Line (SVG)
   =========================== */
.connecting-line {
    width: 100px;
    height: 60px;
    color: #000000;
    opacity: 0.3;
    margin-bottom: 10px;
}

/* ===========================
   Video Grid
   =========================== */
.video-grid {
    display: grid;
    gap: 16px;
    width: 100%;
    padding: 0 20px;
}

/* Mobile First - 1 column */
@media (min-width: 0) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet - 2 columns */
@media (min-width: 640px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop Small - 3 columns */
@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Large - 4 columns (optional, for very wide screens) */
@media (min-width: 1440px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===========================
   Video Wrapper (Aspect Ratio)
   =========================== */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===========================
   Social Footer
   =========================== */
.social-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.social-footer a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-footer a:hover {
    color: #000000;
    text-decoration: underline;
}

.social-footer .separator {
    margin: 0 12px;
    color: #666666;
}

/* ===========================
   Responsive Adjustments
   =========================== */
@media (max-width: 639px) {
    body {
        padding: 16px;
    }

    .hero {
        margin-bottom: 40px;
    }

    .video-grid {
        gap: 16px;
        padding: 0;
    }

    .connecting-line {
        height: 40px;
        margin-bottom: 20px;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .video-grid {
        padding: 0 10px;
    }
}
