@import url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Iceland&display=swap');
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    /* Removed background: linear-gradient(to right, #1a0c3b, #3b0c1a); to allow index.html background to show */
    color: #f0f0f0;
    font-family: 'VT323', 'Fira Code', monospace; /* Pixel font primary */
    margin: 0;
    padding: 0; /* Body itself has no padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center the slide-container */
    min-height: 100vh;
    box-sizing: border-box;
    font-size: 22px; /* Base size for VT323, adjust for readability on slides */
    overflow: hidden; /* Prevent accidental scrollbars on body */
}

.slide-container {
    max-width: 98vw; /* Max width of slide content - increased */
    width: 100%;
    padding: 10px; /* Padding within the slide area - reduced */
    box-sizing: border-box;
    text-align: left; /* Default text align for slide content */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically within the slide-container */
    max-height: 98vh; /* Ensure slide content respects viewport - increased */
    overflow: auto; /* Allow scroll if content still overflows, rather than hiding */
}

.center-content { /* For slides that need their internal content fully centered */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    font-family: 'Iceland', 'Roboto', sans-serif; /* Iceland for titles */
    font-size: 3em; /* Adjusted for Iceland font & single screen */
    background: linear-gradient(to right, cyan, magenta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 0;
    margin-bottom: 0.2em; /* Adjusted margin */
    text-align: center;
    line-height: 1.1;
    font-weight: normal; /* Iceland is often best at normal weight */
}

h2 {
    font-family: 'Iceland', 'Roboto', sans-serif;
    font-size: 2em; /* Adjusted */
    color: magenta;
    margin-top: 0;
    margin-bottom: 0.3em; /* Adjusted */
    line-height: 1.2;
    font-weight: normal;
}

.slide-content {
    margin-top: 10px;
    width: 100%;
}

p {
    font-size: 1em; /* Relative to new body font-size (22px) */
    margin-bottom: 0.6em; /* Adjusted */
    color: #EAEAEA;
    line-height: 1.5;
}

ul, ol {
    margin-bottom: 0.8em;
    padding-left: 0;
    list-style-type: none;
}

/* Card styles - integrated and adapted */
.card-list {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Slightly smaller min for more cards */
    gap: 10px; /* Reduced gap */
}

.card-list li {
    background-color: rgba(30, 10, 50, 0.6); /* Darker, more thematic card background */
    padding: 12px; /* Reduced padding */
    border-radius: 8px; /* Sharper radius for geeky look */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(120, 80, 180, 0.5); /* Thematic border */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    border-color: rgba(180, 120, 220, 0.7);
}

.card-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.card-item-header strong {
    font-family: 'Fira Code', 'VT323', monospace; /* Fira Code for clarity in card titles */
    font-size: 1.05em; /* Adjusted */
    color: #FFFFFF;
    font-weight: 500;
}

.card-list li .icon {
    font-size: 2em; /* Increased icon size */
    margin-right: 8px;
    color: cyan;
}

.card-item-description {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.9em; /* Adjusted */
    color: #D0D0D0;
}

/* Timeline Styles - ensuring consistency */
.timeline {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduced gap */
}

.timeline-phase {
    background-color: rgba(40, 20, 70, 0.75); /* Slightly more opaque */
    padding: 12px; /* Reduced padding */
    border-radius: 8px;
    border-left: 4px solid cyan; /* Thinner border */
    box-shadow: 0 3px 6px rgba(0,0,0,0.35);
}

.timeline-phase h2 { /* h2 within timeline */
    font-family: 'Iceland', 'Roboto', sans-serif;
    font-size: 1.8em;
    color: magenta;
    margin-top: 0;
    margin-bottom: 10px;
}

.timeline-phase p {
    font-size: 0.95em;
    color: #e0e0e0;
    line-height: 1.5;
}

/* Logo style for 01-Title-Introduction.html */
.logo {
    display: block;
    margin: 0 auto 15px auto; /* Adjusted margin */
    max-width: 100px; /* Reduced logo size */
    height: auto;
}

/* Team Member Cards Styling - Adapted */
.team-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 5px 0;
    width: 100%;
}

.team-member-card {
    background-color: rgba(30, 10, 50, 0.6); /* Consistent with .card-list li */
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(120, 80, 180, 0.5);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    border-color: rgba(180, 120, 220, 0.7);
}

.team-member-avatar {
    width: 70px; /* Smaller avatar */
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid rgba(180, 120, 220, 0.6); /* Thematic border */
}

.team-member-card h3 { /* Name of team member */
    font-family: 'Iceland', 'Roboto', sans-serif;
    font-size: 1.4em;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: normal;
}

.member-points {
    margin-top: 8px;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
}

.member-points p {
    font-size: 0.85em; /* Make points slightly smaller */
    color: #EAEAEA;
    margin-bottom: 5px;
    line-height: 1.4;
    padding-left: 1.5em; /* Space for custom bullet */
    text-indent: -1.5em; /* Indent for custom bullet */
}

.member-points p::before {
    content: "» "; /* Geekier bullet */
    color: cyan; /* Accent color */
    margin-right: 0.5em; /* Ensure it's part of the flow, text-indent handles spacing */
}

/* General icon styling */
.inline-icon {
    display: inline-block;
    width: 0.9em; /* Adjust to Iceland font */
    height: 0.9em;
    vertical-align: -0.1em; /* Fine-tune alignment */
    margin-right: 0.15em;
    fill: currentColor;
}

/* Links */
a {
    color: #87CEFA; /* Light Sky Blue */
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #FF69B4; /* Hot Pink */
    text-decoration: underline;
}

/* Styles for Future Vision slide cards */
.future-feature-card-title {
    font-size: 0.9em !important; /* Make these specific titles smaller */
    font-family: 'VT323', monospace; /* Ensure pixel font if overridden */
    color: #E0E0E0 !important; /* Lighter color for less emphasis if needed */
    font-weight: normal !important;
}

/* Roadmap Grid Styles */
.roadmap-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(2, auto);    /* 2 rows, auto height */
    gap: 10px; /* Gap between grid cells, consistent with card-list */
    width: 100%;
    max-width: 900px; /* Max width of the grid itself */
    margin: 0 auto; /* Center the grid */
}

.roadmap-grid-cell {
    /* .timeline-phase already has most styling like background, padding, border-radius */
    /* We might want to ensure consistent height or aspect ratio if needed, but auto height is fine for now */
    border: 1px solid cyan; /* Change from border-left to full border for grid cells */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Slightly adjust shadow if needed */
}

.timeline-phase.roadmap-grid-cell {
    border-left: none; /* Remove the specific left border from the old timeline style if it was too dominant */
    padding: 10px; /* Ensure padding is small */
}

.timeline-phase.roadmap-grid-cell h2 {
    font-size: 1.5em; /* Slightly smaller H2 for grid cells if needed */
    margin-bottom: 8px;
}

.timeline-phase.roadmap-grid-cell p {
    font-size: 0.85em; /* Consistent small text */
    line-height: 1.4;
}