/* Custom styles for CS2 CFG BOX */
body {
    background-color: #f8f9fa;
    font-family: 'Roboto', sans-serif;
}

/* App Bar Improvements */
.mdui-appbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Hero Section Improvements */
.hero-section {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-title {
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-subtitle {
    opacity: 0.9;
    font-weight: 300;
}

/* Search Card Improvements */
.search-card {
    max-width: 600px;
    margin: -80px auto 40px; /* Pull up into hero section */
    padding: 30px;
    border-radius: 12px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
    background: white;
    position: relative;
    z-index: 10;
}

.search-btn {
    height: 48px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 4px;
}

/* Feature Cards */
.feature-item {
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    border: 1px solid #eee;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: transparent;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #1a237e, #e91e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Announcements Bar */
.announcement-bar {
    background: #fff3e0;
    color: #e65100;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid #ffe0b2;
    display: none; /* JS will toggle */
    animation: slideDown 0.5s ease;
}

.announcement-item {
    display: inline-block;
    margin-right: 20px;
}

.announcement-tag {
    background: #ff9800;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: #757575;
    background: #fff;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

/* Share Cards (for other pages) */
.share-card {
    margin-bottom: 20px;
    transition: transform 0.2s;
    border-radius: 8px !important;
}

.share-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.code-display {
    font-family: 'Courier New', monospace;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 2px;
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 4px;
    color: #333;
}
