/* Early 2000s Website with Banner Ads - Windows 95/98 Style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background: #FFFFFF;
}

body {
    margin: 0;
    padding: 0;
}

/* Logo */
.logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 3px;
}

/* Banner Ads */
.banner-ad {
    display: block;
    max-width: 100%;
    height: auto;
}

.bottom-ad {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 5px auto;
}

/* Sidebar - Wider for ads */
.sidebar {
    padding: 8px 3px;
}

.side-ad-container {
    margin-top: 10px;
}

.side-ad {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Visitor Counter Box */
.visitor-box {
    background: #FFFFFF;
    border: 2px solid #000000;
    margin: 8px 5px 15px 5px;
    padding: 10px 6px;
    text-align: center;
}

.visitor-label {
    font-size: 9px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.visitor-number {
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 18px;
    font-weight: bold;
    color: #FF0000;
    background: #000000;
    padding: 6px 4px;
    border: 2px ridge #666666;
    letter-spacing: 3px;
}

/* Header Styles */
.subtitle {
    font-size: 12px;
    color: #000000;
    margin: 3px 0 2px 0;
    font-weight: bold;
}

.event-info {
    font-size: 10px;
    color: #666666;
    margin: 0;
}

/* Welcome Text */
.welcome-text {
    font-size: 12px;
    color: #000000;
    margin: 8px 0 12px 0;
    line-height: 1.5;
}

/* Windows 95/98 Style Buttons - Enhanced 3D */
.btn-link {
    text-decoration: none;
    display: block;
}

.mega-btn {
    width: 480px;
    padding: 22px 20px;
    text-align: center;
    background: #C0C0C0;
    border-width: 3px;
    border-style: solid;
    border-color: #FFFFFF #404040 #404040 #FFFFFF;
    cursor: pointer;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    transition: all 0.05s;
    box-shadow: 2px 2px 0px #000000;
    position: relative;
}

.mega-btn::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid #DFDFDF;
    pointer-events: none;
}

.mega-btn:hover {
    background: #D0D0D0;
}

.mega-btn:active {
    border-color: #404040 #FFFFFF #FFFFFF #404040;
    box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.3);
    padding: 23px 19px 21px 21px;
}

.btn-1 {
    background: #C0C0C0;
}

.btn-2 {
    background: #C0C0C0;
}

.btn-3 {
    background: #C0C0C0;
}

.btn-number {
    font-size: 13px;
    font-weight: bold;
    color: #000080;
    margin-bottom: 6px;
}

.btn-title {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.1;
}

.btn-desc {
    font-size: 11px;
    color: #000000;
    font-weight: normal;
}

/* Footer */
.footer-text {
    color: #FFFFFF;
    font-size: 10px;
    font-weight: normal;
}

/* Remove default link styling */
a {
    color: inherit;
    text-decoration: none;
}

/* Ensure table fills viewport */
table {
    border-collapse: collapse;
}

/* Browser Popup Window Styles */
.browser-popup {
    display: none;
    position: fixed;
    width: 400px;
    height: 340px;
    background: #C0C0C0;
    border: 3px solid;
    border-color: #FFFFFF #000000 #000000 #FFFFFF;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    transition: opacity 0.2s, transform 0.2s;
}

.browser-titlebar {
    background: linear-gradient(to right, #000080, #1084D0);
    padding: 3px 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 22px;
}

.browser-icon {
    width: 16px;
    height: 16px;
}

.browser-title {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    flex-grow: 1;
}

.browser-buttons {
    display: flex;
    gap: 3px;
}

.browser-btn {
    width: 18px;
    height: 16px;
    background: #C0C0C0;
    border: 2px solid;
    border-color: #FFFFFF #000000 #000000 #FFFFFF;
    font-size: 10px;
    line-height: 12px;
    cursor: pointer;
    padding: 0;
    font-weight: bold;
}

.browser-btn:active {
    border-color: #000000 #FFFFFF #FFFFFF #000000;
}

.browser-toolbar {
    background: #C0C0C0;
    padding: 4px 6px;
    border-bottom: 2px solid #808080;
    font-size: 11px;
}

.browser-url {
    background: #FFFFFF;
    border: 2px inset #808080;
    padding: 3px 5px;
    display: inline-block;
    width: 100%;
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.browser-content {
    background: #FFFFFF;
    height: calc(100% - 52px);
    overflow: hidden;
}

.browser-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}
