/* Shared Y2K styles for all pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', serif;
    background: white;
    color: #000080;
    line-height: 1.4;
}

/* Y2K Header with table layout */
.header-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(to bottom, #E0E0FF, #FFFFFF);
    border: 3px solid #000080;
}

.header-cell {
    padding: 20px;
    text-align: center;
    border: 2px solid #000080;
    background: #F0F8FF;
}

.main-title {
    font-size: 3rem;
    font-weight: bold;
    color: #8B0000;
    text-shadow: 2px 2px 4px #CCCCCC;
    font-family: 'Arial Black', Arial, sans-serif;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.3rem;
    color: #000080;
    margin: 10px 0;
    font-weight: bold;
}

.blink {
    animation: blink 1s infinite;
    color: #FF0000;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Navigation */
.nav-container {
    background: linear-gradient(to bottom, #000080, #0066CC);
    border: 3px solid #000080;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
    box-shadow: 4px 4px 8px #CCCCCC;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-button {
    background: linear-gradient(to bottom, #0099FF, #0066CC);
    border: 3px outset #0099FF;
    color: white;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-shadow: 1px 1px 2px #000080;
    box-shadow: 2px 2px 4px #CCCCCC;
    min-width: 40px;
}

.nav-button:hover {
    background: linear-gradient(to bottom, #00CCFF, #0099FF);
    border: 3px inset #0099FF;
    transform: scale(0.98);
}

.nav-button.current {
    background: linear-gradient(to bottom, #FF6600, #CC5500);
    border: 3px outset #FF6600;
}

.nav-button.current:hover {
    background: linear-gradient(to bottom, #FF8800, #FF6600);
    border: 3px inset #FF6600;
}

.prev-next {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 20px;
    gap: 20px;
}

.page-numbers {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Content Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styling */
.section {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border: 3px solid #000080;
    box-shadow: 6px 6px 12px #CCCCCC;
}

.section-header {
    background: linear-gradient(to right, #000080, #0066CC, #000080);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
    border: 2px solid #000080;
    margin: -20px -20px 20px -20px;
}

/* Y2K Table Layouts */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 2px solid #000080;
    background: #F8F8FF;
}

.info-table th {
    background: linear-gradient(to bottom, #000080, #0066CC);
    color: white;
    padding: 12px;
    border: 2px solid #000080;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000000;
}

.info-table td {
    padding: 15px;
    border: 2px solid #000080;
    vertical-align: top;
    background: white;
}

.info-table tr:nth-child(even) td {
    background: #F0F8FF;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(to bottom, #FFFF99, #FFFFCC);
    border: 3px solid #FF6600;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 4px 4px 8px #CCCCCC;
}

.highlight-box h3 {
    color: #8B0000;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-decoration: underline;
}

/* Stats Counters */
.stats-container {
    display: table;
    width: 100%;
    margin: 20px 0;
    border-spacing: 10px;
}

.stat-box {
    display: table-cell;
    background: linear-gradient(to bottom, #E0E0FF, #F0F8FF);
    border: 3px solid #000080;
    padding: 20px;
    text-align: center;
    box-shadow: 4px 4px 8px #CCCCCC;
    width: 25%;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #8B0000;
    display: block;
    text-shadow: 2px 2px 4px #CCCCCC;
    font-family: 'Arial Black', Arial, sans-serif;
}

.stat-label {
    color: #000080;
    font-weight: bold;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Investment Box */
.investment-box {
    background: linear-gradient(to bottom, #FFE4E1, #FFF0F5);
    border: 4px solid #8B0000;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 6px 6px 12px #CCCCCC;
}

.investment-amount {
    font-size: 3.5rem;
    color: #8B0000;
    font-weight: bold;
    text-shadow: 3px 3px 6px #CCCCCC;
    font-family: 'Arial Black', Arial, sans-serif;
}

/* Lists */
.y2k-list {
    background: #F8F8FF;
    border: 2px solid #000080;
    padding: 15px;
    margin: 15px 0;
}

.y2k-list li {
    padding: 8px 0;
    border-bottom: 1px dotted #000080;
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.y2k-list li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: #FF6600;
    font-weight: bold;
}

/* Timeline */
.timeline-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 3px solid #000080;
}

.timeline-table th {
    background: linear-gradient(to bottom, #8B0000, #CD5C5C);
    color: white;
    padding: 15px;
    border: 2px solid #8B0000;
    text-align: center;
    font-weight: bold;
}

.timeline-table td {
    padding: 15px;
    border: 2px solid #000080;
    background: white;
    vertical-align: top;
}

.timeline-table tr:nth-child(even) td {
    background: #F0F8FF;
}

/* Team Grid */
.team-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 3px solid #000080;
}

.team-cell {
    width: 50%;
    padding: 20px;
    border: 2px solid #000080;
    text-align: center;
    background: linear-gradient(to bottom, #F0F8FF, #E0E0FF);
    vertical-align: top;
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(to bottom, #000080, #0066CC);
    border: 3px solid #000080;
    border-radius: 0;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 4px 4px 8px #CCCCCC;
}

/* Buttons */
.y2k-button {
    background: linear-gradient(to bottom, #0099FF, #0066CC);
    border: 3px outset #0099FF;
    color: white;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
    text-shadow: 1px 1px 2px #000080;
    box-shadow: 4px 4px 8px #CCCCCC;
}

.y2k-button:hover {
    background: linear-gradient(to bottom, #00CCFF, #0099FF);
    border: 3px inset #0099FF;
    transform: scale(0.98);
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, #000080, #0066CC);
    color: white;
    text-align: center;
    padding: 20px;
    border: 3px solid #000080;
    margin: 20px 0;
    box-shadow: 4px 4px 8px #CCCCCC;
}

.footer a {
    color: #FFFF99;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title { font-size: 2rem; }
    .stats-container { display: block; }
    .stat-box { display: block; width: 100%; margin-bottom: 10px; }
    .team-table { display: block; }
    .team-cell { display: block; width: 100%; }
    .prev-next { flex-direction: column; gap: 10px; margin: 0; }
    .page-numbers { margin: 10px 0; }
}

/* Marquee-style scrolling text */
.marquee {
    background: linear-gradient(to right, #FF0000, #FF6600, #FF0000);
    color: white;
    padding: 10px;
    border: 2px solid #8B0000;
    margin: 10px 0;
    white-space: nowrap;
    overflow: hidden;
}

.marquee-text {
    display: inline-block;
    animation: marquee 15s linear infinite;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000000;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.decoration {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><rect width="100" height="20" fill="%23E0E0FF"/><circle cx="10" cy="10" r="5" fill="%23000080"/><circle cx="30" cy="10" r="5" fill="%23FF6600"/><circle cx="50" cy="10" r="5" fill="%23000080"/><circle cx="70" cy="10" r="5" fill="%23FF6600"/><circle cx="90" cy="10" r="5" fill="%23000080"/></svg>') repeat-x;
    height: 20px;
    margin: 10px 0;
}