/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1f3a;
    --secondary-color: #4a5f8a;
    --accent-color: #ffd700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0e1a;
    --bg-light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    --gradient-cosmic: linear-gradient(180deg, rgba(10,14,26,0.9) 0%, rgba(26,31,58,0.95) 100%);
    --star-wars-yellow: #ffe81f;
    --space-blue: #0a1a2a;
    --deep-space: #000000;
    --lightsaber-blue: #00d4ff;
    --lightsaber-red: #ff0040;
    --imperial-gray: #2a2a2a;
    --rebel-gold: #ffd700;
    --text-crawl: #ffe81f;
}

body {
    font-family: 'Orbitron', monospace;
    background: var(--deep-space);
    color: var(--star-wars-yellow);
    overflow-x: hidden;
    height: 100vh;
}

/* Star Wars Container */
#star-wars-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #001122 0%, #000000 100%);
}

/* Space Background with Multiple Star Layers */
#space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#stars-layer-1, #stars-layer-2, #stars-layer-3 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent),
        radial-gradient(1px 1px at 300px 120px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 200px 180px, #fff, transparent),
        radial-gradient(1px 1px at 450px 50px, rgba(255,255,255,0.7), transparent);
    background-repeat: repeat;
    background-size: 500px 300px;
}

#stars-layer-1 {
    animation: starfield 50s linear infinite;
    opacity: 0.8;
}

#stars-layer-2 {
    animation: starfield 100s linear infinite reverse;
    opacity: 0.6;
    background-size: 700px 400px;
}

#stars-layer-3 {
    animation: starfield 150s linear infinite;
    opacity: 0.4;
    background-size: 900px 500px;
}

@keyframes starfield {
    from { transform: translateY(0); }
    to { transform: translateY(-100vh); }
}

/* Interactive Space Objects */
#space-objects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Moving Death Star */
.death-star {
    position: absolute;
    width: 50px;
    height: 50px;
    background: 
        radial-gradient(ellipse at 35% 25%, #999 0%, #777 25%, #555 50%, #333 75%, #111 100%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 
        0 0 15px rgba(255, 0, 64, 0.2),
        inset -8px -8px 15px rgba(0, 0, 0, 0.4),
        inset 3px 3px 8px rgba(255, 255, 255, 0.1),
        inset -2px -2px 6px rgba(0, 0, 0, 0.2);
    opacity: 0.8;
    transition: all 0.3s ease;
    animation: death-star-move 60s linear infinite;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 0, 64, 0.3);
    overflow: hidden;
    position: relative;
}

/* Grid pattern overlay */
.death-star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%),
        radial-gradient(circle at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.05) 50%),
        linear-gradient(120deg, transparent 30%, rgba(0, 0, 0, 0.15) 31%, rgba(0, 0, 0, 0.15) 33%, transparent 34%);
    background-size: 
        4px 4px,
        4px 4px,
        8px 8px,
        8px 8px,
        12px 12px,
        100% 100%;
    border-radius: 50%;
    opacity: 0.6;
    animation: subtle-grid-pulse 8s ease-in-out infinite alternate;
}

/* Superlaser dish */
.death-star::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, 
        rgba(255, 0, 64, 0.9) 0%, 
        rgba(255, 0, 64, 0.7) 30%, 
        rgba(100, 0, 20, 0.8) 60%, 
        rgba(50, 0, 10, 0.9) 100%);
    top: 25%;
    left: 25%;
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(255, 0, 64, 0.6),
        inset 0 0 4px rgba(0, 0, 0, 0.8),
        inset 1px 1px 2px rgba(255, 0, 64, 0.3);
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 0.5px solid rgba(255, 0, 64, 0.4);
}

.death-star:hover,
.death-star:active,
.death-star:focus {
    opacity: 1;
    box-shadow: 
        0 0 25px rgba(255, 0, 64, 0.5),
        inset -8px -8px 15px rgba(0, 0, 0, 0.5),
        inset 3px 3px 8px rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.death-star:hover::before,
.death-star:active::before,
.death-star:focus::before {
    opacity: 0.8;
}

.death-star:hover::after,
.death-star:active::after,
.death-star:focus::after {
    opacity: 1;
    box-shadow: 
        0 0 20px rgba(255, 0, 64, 0.8),
        inset 0 0 4px rgba(0, 0, 0, 0.9),
        inset 1px 1px 2px rgba(255, 0, 64, 0.5);
    transform: scale(1.2);
}

@keyframes death-star-move {
    0% { 
        top: 10%; 
        left: -60px; 
    }
    25% { 
        top: 30%; 
        left: 20%; 
    }
    50% { 
        top: 70%; 
        left: 50%; 
    }
    75% { 
        top: 40%; 
        left: 80%; 
    }
    100% { 
        top: 10%; 
        left: calc(100% + 60px); 
    }
}

/* Opening Crawl */
#opening-crawl {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    perspective: 300px;
    overflow: hidden;
}

#crawl-content {
    position: absolute;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%) rotateX(25deg);
    width: 100%;
    max-width: 800px;
    text-align: center;
    animation: crawl 25s linear forwards;
    color: var(--text-crawl);
}

@keyframes crawl {
    0% {
        bottom: -100%;
        opacity: 1;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

.crawl-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.3em;
}

.crawl-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 3rem;
    letter-spacing: 0.2em;
}

.crawl-text {
    font-size: 1.4rem;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.crawl-text p {
    margin-bottom: 2rem;
}

/* Logo Reveal */
#logo-reveal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.logo-container {
    text-align: center;
    animation: logo-appear 3s ease-out;
}

.stellar-logo {
    max-width: 500px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 30px var(--star-wars-yellow));
    animation: logo-glow 4s ease-in-out infinite alternate;
}

.logo-subtitle {
    font-size: 1.5rem;
    margin-top: 2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    animation: subtitle-glow 3s ease-in-out infinite;
}

@keyframes logo-appear {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logo-glow {
    0% { filter: drop-shadow(0 0 30px var(--star-wars-yellow)); }
    100% { filter: drop-shadow(0 0 60px var(--star-wars-yellow)); }
}

@keyframes subtitle-glow {
    0%, 100% { text-shadow: 0 0 20px var(--star-wars-yellow); }
    50% { text-shadow: 0 0 40px var(--star-wars-yellow), 0 0 60px var(--star-wars-yellow); }
}

/* Main Content */
#main-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
    overflow-y: auto;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Subtle scrollbar styling */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255, 232, 31, 0.3) rgba(0, 0, 0, 0.1); /* Firefox */
}

/* Custom scrollbar for WebKit browsers (Chrome, Safari, Edge) */
#main-content::-webkit-scrollbar {
    width: 8px;
}

#main-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

#main-content::-webkit-scrollbar-thumb {
    background: rgba(255, 232, 31, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

#main-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 232, 31, 0.5);
}

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 1200px;
}

/* Main Content Container - wraps everything between logo and footer */
.main-content-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Logo in Content */
.main-logo-container {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-stellar-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 20px var(--star-wars-yellow));
    animation: main-logo-glow 4s ease-in-out infinite alternate;
    display: block;
    margin: 0 auto;
}

@keyframes main-logo-glow {
    0% { filter: drop-shadow(0 0 20px var(--star-wars-yellow)); }
    100% { filter: drop-shadow(0 0 40px var(--star-wars-yellow)); }
}

/* Company Story Section */
.company-story {
    max-width: 1200px;
    margin: 3rem auto 4rem;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.08), rgba(255, 232, 31, 0.1));
    border-radius: 25px;
    border: 1px solid var(--star-wars-yellow);
    position: relative;
    box-shadow: 0 0 30px rgba(255, 232, 31, 0.1);
    width: 100%;
}

.story-section {
    text-align: center;
    margin-bottom: 3rem;
}

.story-headline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--star-wars-yellow);
    text-shadow: 0 0 20px rgba(255, 232, 31, 0.3);
    letter-spacing: 0.02em;
}

.story-description {
    font-size: 1.3rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 232, 31, 0.9);
    font-family: 'Space Mono', monospace;
}

.story-mission {
    padding: 1.2rem;
    margin-top: 2rem;
}

.story-mission h3 {
    font-size: 1.2rem;
}

.story-mission p {
    font-size: 0.95rem;
}

/* Story sections container - FIXED: Maximum 2 columns */
.story-sections-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Culture Grid - FIXED: Maximum 2 columns with unlimited rows */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.story-block {
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    width: 100%;
}

.story-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 232, 31, 0.1), transparent);
    transition: left 0.5s ease;
}

.story-block:hover::before {
    left: 100%;
}

.story-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 232, 31, 0.2);
    border-color: var(--star-wars-yellow);
}

.story-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 8px var(--star-wars-yellow));
}

.story-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--star-wars-yellow);
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-block p {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 232, 31, 0.85);
    margin: 0;
}

.story-mission {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.08));
    border-radius: 15px;
    border: 1px solid rgba(255, 232, 31, 0.3);
}

.story-mission h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--lightsaber-red);
    text-shadow: 0 0 15px rgba(255, 0, 64, 0.4);
}

.story-mission p {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 232, 31, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Preparation Section - Redesigned for Mobile-First */
.preparation-section {
    text-align: center;
    margin: 6rem auto 4rem;
    padding: 4rem 2rem 2rem;
    max-width: 1200px;
    position: relative;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.08), rgba(255, 232, 31, 0.1));
    border-radius: 25px;
    border: 1px solid var(--star-wars-yellow);
    box-shadow: 0 0 30px rgba(255, 232, 31, 0.1);
    width: 100%;
}

.preparation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.03), rgba(0, 212, 255, 0.05));
    border-radius: 25px;
    z-index: -1;
    opacity: 0.6;
}

.prep-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 232, 31, 0.3);
    color: var(--star-wars-yellow);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.prep-text {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    font-family: 'Space Mono', monospace;
    color: rgba(255, 232, 31, 0.9);
    text-shadow: 0 0 10px rgba(255, 232, 31, 0.2);
    font-weight: 500;
}

/* Job Overview Card */
.job-overview-card {
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.job-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--star-wars-yellow);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255, 232, 31, 0.4);
}

.job-intro {
    font-size: 1.1rem;
    color: rgba(255, 232, 31, 0.9);
    font-family: 'Space Mono', monospace;
    margin: 0;
}

/* Job Listings Styles */
.job-listings-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.job-listing {
    background: rgba(26, 31, 58, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.job-listing:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    background: rgba(26, 31, 58, 0.2);
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.job-header:hover {
    background: rgba(26, 31, 58, 0.4);
    border-bottom-color: rgba(255, 215, 0, 0.1);
}

.job-summary {
    flex: 1;
}

.job-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--star-wars-yellow);
    margin-bottom: 8px;
    font-family: 'Orbitron', monospace;
}

.job-brief {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.5;
}

.job-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255, 215, 0, 0.8);
}

.job-location, .job-compensation {
    display: flex;
    align-items: center;
    gap: 5px;
}

.expand-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.expand-arrow span {
    font-size: 1.2rem;
    color: var(--star-wars-yellow);
    transition: transform 0.3s ease;
}

.job-header:hover .expand-arrow {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1);
}

.expand-arrow.expanded span {
    transform: rotate(180deg);
}

.job-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background: rgba(10, 14, 26, 0.4);
}

.job-details.expanded {
    max-height: 2000px;
    padding: 30px 25px;
}

.job-details .job-verticals-grid,
.job-details .requirements-card,
.job-details .compensation-card {
    margin-bottom: 25px;
}

.job-details .job-verticals-grid:last-child,
.job-details .requirements-card:last-child,
.job-details .compensation-card:last-child {
    margin-bottom: 0;
}

/* Enhanced job details formatting */
.job-details .requirements-card .card-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.job-details .requirements-card .card-list li:last-child {
    margin-bottom: 0;
}

.job-details .card-title {
    text-align: left;
    margin-bottom: 1.2rem;
}

.job-details .requirements-card {
    text-align: left;
}

/* Verticals Grid */
.job-verticals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.vertical-card {
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
}

.vertical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 232, 31, 0.2);
    border-color: var(--star-wars-yellow);
}

.vertical-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--star-wars-yellow);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 232, 31, 0.3);
}

.vertical-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-list li {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 232, 31, 0.85);
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
}

.vertical-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--star-wars-yellow);
    font-size: 0.8rem;
}

/* Requirements & Compensation Cards */
.requirements-card,
.compensation-card {
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--star-wars-yellow);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 232, 31, 0.3);
    text-align: center;
}

.culture-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: rgba(255, 232, 31, 0.8);
    text-align: center;
    margin-bottom: 2rem;
    margin-top: -0.5rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 232, 31, 0.9);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.requirements-card .card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--star-wars-yellow);
    font-size: 0.9rem;
}

.compensation-card .card-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--star-wars-yellow);
    font-size: 0.9rem;
}

/* Culture Overview Card */
.culture-overview-card {
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.08));
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
}

/* Culture cards within overview remain the same but with h4 instead of h3 */
.culture-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--star-wars-yellow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Info Alignment Fix */
.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--lightsaber-blue);
    word-break: break-all;
    text-align: center;
}

.contact-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--lightsaber-blue), var(--star-wars-yellow));
    color: var(--deep-space);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 232, 31, 0.5);
    word-break: break-all;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 232, 31, 0.8);
    filter: brightness(1.2);
}

/* Final Message */
.final-message {
    text-align: center;
    margin: 2rem auto 1.5rem;
    position: relative;
    padding-bottom: 60px;
    max-width: 1200px;
    width: 100%;
}

.force-message {
    position: relative;
    display: inline-block;
}

.force-text {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-shadow: 0 0 15px var(--star-wars-yellow);
    animation: force-glow 6s ease-in-out infinite;
}

/* Dual Horizontal Lightsabers with Handles */
.dual-lightsabers {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 8px;
    display: flex;
    gap: 4px;
    justify-content: center;
}

.horizontal-lightsaber {
    position: relative;
    width: 45%;
    height: 4px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.blue-saber::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 6px;
    background: linear-gradient(90deg, #444, #666, #444);
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 3px;
    border: 1px solid #333;
}

.red-saber::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 6px;
    background: linear-gradient(90deg, #444, #666, #444);
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 3px;
    border: 1px solid #333;
}

.blue-saber {
    background: var(--lightsaber-blue);
    box-shadow: 0 0 15px var(--lightsaber-blue);
    animation: blue-glow 3s ease-in-out infinite;
}

.red-saber {
    background: var(--lightsaber-red);
    box-shadow: 0 0 15px var(--lightsaber-red);
    animation: red-glow 3s ease-in-out infinite 1.5s;
}

.horizontal-lightsaber:hover {
    height: 6px;
    box-shadow: 0 0 30px currentColor;
    transform: scaleX(1.1);
}

.horizontal-lightsaber:active {
    height: 8px;
    box-shadow: 0 0 40px currentColor;
}

@keyframes blue-glow {
    0%, 100% { box-shadow: 0 0 15px var(--lightsaber-blue); }
    50% { box-shadow: 0 0 25px var(--lightsaber-blue), 0 0 35px var(--lightsaber-blue); }
}

@keyframes red-glow {
    0%, 100% { box-shadow: 0 0 15px var(--lightsaber-red); }
    50% { box-shadow: 0 0 25px var(--lightsaber-red), 0 0 35px var(--lightsaber-red); }
}

@keyframes force-glow {
    0%, 100% {
        text-shadow: 0 0 15px var(--star-wars-yellow);
    }
    50% {
        text-shadow: 
            0 0 20px var(--star-wars-yellow),
            0 0 25px var(--star-wars-yellow);
    }
}

/* Footer */
.footer {
    position: static;
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid var(--star-wars-yellow);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    margin-top: 2rem;
}

.footer.visible {
    /* Remove visibility animations since footer is now always visible */
}

.copyright {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 232, 31, 0.7);
}

.copyright-main,
.copyright-rights {
    display: inline;
}

/* Skip Button */
.skip-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20;
    background: rgba(255, 232, 31, 0.2);
    color: var(--star-wars-yellow);
    border: 2px solid var(--star-wars-yellow);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skip-button:hover {
    background: var(--star-wars-yellow);
    color: var(--deep-space);
    box-shadow: 0 0 20px var(--star-wars-yellow);
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Desktop-specific grid layout */
@media (min-width: 769px) {
    .story-sections-container {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 1000px;
        gap: 1.5rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #main-content {
        width: 100%;
        padding: 1rem 0;
        /* Maintain subtle scrollbar on mobile */
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 232, 31, 0.3) rgba(0, 0, 0, 0.1);
    }
    
    #main-content::-webkit-scrollbar {
        width: 6px;
    }
    
    #main-content::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }
    
    #main-content::-webkit-scrollbar-thumb {
        background: rgba(255, 232, 31, 0.3);
        border-radius: 3px;
    }
    
    #main-content::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 232, 31, 0.5);
    }
    
    .main-content-container {
        padding: 0 1rem;
    }
    
    .crawl-title {
        font-size: 2rem;
    }
    
    .crawl-subtitle {
        font-size: 1.3rem;
    }
    
    .crawl-text {
        font-size: 1rem;
        padding: 0 1.5rem;
        line-height: 1.6;
        word-wrap: normal;
        overflow-wrap: normal;
        hyphens: none;
        word-break: normal;
    }
    
    .crawl-text p {
        margin-bottom: 1.5rem;
        word-break: normal;
        overflow-wrap: normal;
        white-space: normal;
    }
    
    #crawl-content {
        width: 85%;
        padding: 0 1rem;
        max-width: 500px;
    }
    
    .stellar-logo {
        max-width: 90%;
    }
    
    .main-stellar-logo {
        max-width: 300px;
    }
    
    .company-story {
        margin: 1.5rem auto 2.5rem;
        padding: 2rem 1rem;
    }
    
    .summary-text {
        font-size: 1.4rem;
    }
    
    /* Mobile: Culture grid becomes 1 column - IMPORTANT OVERRIDE */
    .culture-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        margin: 2rem 0;
        padding: 0;
    }
    
    /* Mobile: Story sections become 1 column */
    .story-sections-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
        max-width: 100%;
        padding: 0;
    }
    
    .culture-card {
        padding: 1.2rem;
        margin: 0;
    }
    
    .culture-card h3 {
        font-size: 1.1rem;
    }
    
    .culture-card p {
        font-size: 0.9rem;
    }
    
    .force-text {
        font-size: 1.8rem;
    }
    
    .skip-button {
        top: 10px;
        right: 10px;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .final-message {
        padding-bottom: 80px;
        margin-bottom: 1rem;
    }
    
    .dual-lightsabers {
        bottom: -40px;
    }
    
    .footer {
        padding: 0.3rem;
    }
    
    .copyright {
        font-size: 0.6rem;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
    }
    
    .copyright-rights {
        display: block;
        margin-top: 0.2rem;
    }
    
    .contact-info h3 {
        font-size: 1.4rem;
        padding: 0 10px;
    }
    
    .contact-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        margin: 0 10px;
    }
    
    .preparation-section {
        margin: 3rem auto;
        padding: 2rem 1rem;
    }
    
    .job-overview-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .job-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .job-intro {
        font-size: 1rem;
    }
    
    .job-verticals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .vertical-card {
        padding: 1.2rem;
    }
    
    .vertical-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .vertical-list li {
        font-size: 0.9rem;
        padding-left: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .requirements-card,
    .compensation-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .card-title {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .culture-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .culture-overview-card {
        padding: 1.5rem 0.75rem;
        margin-bottom: 2rem;
    }

    .job-listings-container {
        gap: 15px;
        margin: 20px 0;
    }

    .job-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .job-header .expand-arrow {
        align-self: center;
        margin-left: 0;
    }

    .job-title {
        font-size: 1.2rem;
    }

    .job-brief {
        font-size: 0.9rem;
    }

    .job-meta {
        flex-direction: column;
        gap: 8px;
        font-size: 0.85rem;
    }

    .expand-arrow {
        align-self: center;
        margin-left: 0;
        width: 35px;
        height: 35px;
    }

    .job-details.expanded {
        padding: 20px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    #main-content {
        width: 100%;
        padding: 0.5rem 0;
        /* Maintain subtle scrollbar on extra small screens */
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 232, 31, 0.3) rgba(0, 0, 0, 0.1);
    }
    
    #main-content::-webkit-scrollbar {
        width: 5px;
    }
    
    #main-content::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 2px;
    }
    
    #main-content::-webkit-scrollbar-thumb {
        background: rgba(255, 232, 31, 0.3);
        border-radius: 2px;
    }
    
    #main-content::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 232, 31, 0.5);
    }
    
    .main-content-container {
        padding: 0 0.5rem;
    }
    
    .crawl-text {
        font-size: 0.9rem;
        padding: 0 2rem;
        word-wrap: normal;
        overflow-wrap: normal;
        hyphens: none;
    }
    
    #crawl-content {
        width: 80%;
        max-width: 400px;
    }
    
    .crawl-title {
        font-size: 1.8rem;
    }
    
    .crawl-subtitle {
        font-size: 1.1rem;
    }
    
    .summary-text {
        font-size: 1.2rem;
    }
    
    .prep-title {
        font-size: 1.8rem;
    }
    
    .culture-card h3 {
        font-size: 1rem;
    }
    
    .culture-card p {
        font-size: 0.85rem;
    }
    
    .company-story {
        padding: 1.5rem 0.75rem;
        margin: 1rem auto 2rem;
    }
    
    /* Extra small: All grids remain single column */
    .story-sections-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
        max-width: 100%;
        padding: 0;
    }
    
    .culture-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
        margin: 1.5rem 0;
        padding: 0;
    }
    
    .story-block {
        padding: 0.8rem;
        border-radius: 8px;
    }
    
    .story-headline {
        font-size: 1.8rem;
    }
    
    .story-description {
        font-size: 1rem;
        max-width: 95%;
        line-height: 1.4;
    }
    
    .story-block h3 {
        font-size: 1rem;
    }
    
    .story-block p {
        font-size: 0.85rem;
    }
    
    .story-mission h3 {
        font-size: 1.1rem;
    }
    
    .story-mission p {
        font-size: 0.9rem;
    }
    
    .culture-card h4 {
        font-size: 1rem;
    }
    
    .culture-card p {
        font-size: 0.85rem;
    }
    
    .prep-title {
        font-size: 1.8rem;
    }
    
    .prep-text {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .preparation-section {
        padding: 1.5rem 0.75rem 1rem;
        margin: 2rem auto;
        border-radius: 25px;
    }
    
    .preparation-section::before {
        border-radius: 25px;
    }
    
        .culture-overview-card {
        padding: 1.25rem 0.5rem;
        margin-bottom: 2rem;
    }

    .culture-card {
        padding: 1rem;
    }

    .job-listings-container {
        gap: 12px;
        margin: 15px 0;
    }

    .job-header {
        padding: 15px;
    }

    .job-title {
        font-size: 1.1rem;
    }

    .job-brief {
        font-size: 0.85rem;
    }

    .job-meta {
        font-size: 0.8rem;
    }

    .expand-arrow {
        width: 30px;
        height: 30px;
    }

    .job-details.expanded {
        padding: 15px;
    }
    
    .footer {
        padding: 0.3rem;
    }
    
    .copyright {
        font-size: 0.55rem;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.3;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .copyright-rights {
        display: block;
        margin-top: 0.3rem;
    }
    
    .culture-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }
}

/* Company Summary */
.company-summary {
    text-align: center;
    margin: 2rem auto 3rem;
    max-width: 800px;
    padding: 0 2rem;
}

.summary-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--star-wars-yellow);
    text-shadow: 0 0 20px var(--star-wars-yellow);
    line-height: 1.4;
    letter-spacing: 0.05em;
    animation: summary-glow 4s ease-in-out infinite;
}

@keyframes summary-glow {
    0%, 100% { text-shadow: 0 0 20px var(--star-wars-yellow); }
    50% { text-shadow: 0 0 30px var(--star-wars-yellow), 0 0 40px var(--star-wars-yellow); }
}

/* Surface panels for additional detail */
.surface-panel {
    position: absolute;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.1);
    border: 0.5px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: panel-flicker 6s ease-in-out infinite alternate;
}

.panel-1 {
    width: 12px;
    height: 8px;
    top: 15%;
    right: 20%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 2px 2px;
    animation-delay: 0s;
}

.panel-2 {
    width: 8px;
    height: 10px;
    bottom: 25%;
    left: 15%;
    background-image: 
        linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%);
    background-size: 3px 3px;
    border-radius: 2px;
    animation-delay: 1.5s;
}

.panel-3 {
    width: 6px;
    height: 6px;
    top: 45%;
    right: 15%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.02));
    border-radius: 50%;
    animation-delay: 3s;
}

.panel-4 {
    width: 10px;
    height: 6px;
    bottom: 15%;
    right: 35%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 1px 1px;
    transform: rotate(15deg);
    animation-delay: 4.5s;
}

/* Death Star surface trenches */
.death-star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%),
        radial-gradient(circle at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.05) 50%),
        linear-gradient(120deg, transparent 30%, rgba(0, 0, 0, 0.15) 31%, rgba(0, 0, 0, 0.15) 33%, transparent 34%);
    background-size: 
        4px 4px,
        4px 4px,
        8px 8px,
        8px 8px,
        12px 12px,
        100% 100%;
    border-radius: 50%;
    opacity: 0.6;
    animation: subtle-grid-pulse 8s ease-in-out infinite alternate;
}

@keyframes subtle-grid-pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.6;
    }
}

.death-star:hover .surface-panel {
    box-shadow: 
        inset 0 0 3px rgba(0, 0, 0, 0.4),
        0 0 2px rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.15);
}

@keyframes panel-flicker {
    0%, 100% {
        opacity: 0.7;
        box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    }
    50% {
        opacity: 0.9;
        box-shadow: 
            inset 0 0 3px rgba(0, 0, 0, 0.4),
            0 0 1px rgba(255, 255, 255, 0.05);
    }
}

/* Job Details Section */
.job-details {
    text-align: left;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.job-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--star-wars-yellow);
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 15px rgba(255, 232, 31, 0.4);
    letter-spacing: 0.02em;
}

.verticals-section {
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.job-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--star-wars-yellow);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 232, 31, 0.3);
}

.verticals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.vertical-item {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 0 1rem 0;
    transition: none;
    margin-bottom: 1rem;
}

.vertical-item:hover {
    border-color: none;
    box-shadow: none;
    transform: none;
}

.vertical-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--star-wars-yellow);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.vertical-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-details li {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 232, 31, 0.85);
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
}

.vertical-details li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--star-wars-yellow);
    font-size: 0.8rem;
}

.requirements-section,
.compensation-section {
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.requirements-list,
.compensation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li,
.compensation-list li {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 232, 31, 0.9);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.requirements-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--star-wars-yellow);
    font-size: 0.9rem;
}

.compensation-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--star-wars-yellow);
    font-size: 0.9rem;
}

.apply-text {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 232, 31, 0.9);
}

.inline-contact-link {
    color: var(--star-wars-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 232, 31, 0.3);
    border-bottom: 1px solid rgba(255, 232, 31, 0.5);
    padding-bottom: 1px;
}

.inline-contact-link:hover {
    color: var(--lightsaber-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    border-bottom-color: var(--lightsaber-blue);
}

/* Job Details Sub-Container */
.job-details-container {
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 3rem 0;
}

/* Culture Sub-Container */
.culture-container {
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.08));
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.culture-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--star-wars-yellow);
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 15px rgba(255, 232, 31, 0.4);
    letter-spacing: 0.02em;
}

.story-block {
    padding: 1.2rem;
    border-radius: 10px;
}

.company-story {
    padding: 1rem 0.5rem;
    margin: 1.5rem 0.25rem 3rem;
    border-radius: 15px;
}

.story-headline {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.story-description {
    font-size: 1.3rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 232, 31, 0.9);
    font-family: 'Space Mono', monospace;
}

.story-sections-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 100%;
    padding: 0;
}

.story-mission {
    padding: 1.2rem;
    margin-top: 2rem;
}

.story-mission h3 {
    font-size: 1.2rem;
}

.story-mission p {
    font-size: 0.95rem;
}

/* Culture Grid - FIXED: Maximum 2 columns with unlimited rows */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.culture-card {
    background: linear-gradient(135deg, rgba(255, 232, 31, 0.05), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 232, 31, 0.1), transparent);
    transition: left 0.5s ease;
}

.culture-card:hover::before {
    left: 100%;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 232, 31, 0.2);
    border-color: var(--star-wars-yellow);
}

.culture-card p {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 232, 31, 0.8);
}

/* New Preparation Section Extra Small Styles */
.preparation-section {
    padding: 2rem 0.5rem 1.5rem;
    margin: 3rem 0.25rem;
    border-radius: 20px;
    border-width: 1px;
}

.preparation-section::before {
    border-radius: 20px;
} 