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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0f0f1e;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

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

/* Buttons */
button, .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #e0e0e0;
    color: #555;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

/* News ticker */
.news-ticker {
    background: #000;
    border: 2px solid #222;
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    height: 56px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ticker-row {
    position: relative;
    height: 18px;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 40px;
    position: absolute;
    white-space: nowrap;
    will-change: transform;
}

.ticker-content.ticker-row-1 {
    animation: scroll 30s linear infinite;
}

.ticker-content.ticker-row-2 {
    animation: scroll 45s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    white-space: nowrap;
    color: #0f0;
    font-size: 11px;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ticker-item:hover {
    text-decoration: underline;
}

.ticker-item:nth-child(odd)::before {
    content: "•";
    margin-right: 8px;
    color: #0f0;
    font-weight: bold;
}

.ticker-item:nth-child(even)::before {
    content: "•";
    margin-right: 8px;
    color: #ff0;
    font-weight: bold;
}

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

/* Form controls */
select, input[type="radio"] {
    cursor: pointer;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-option:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.radio-option input[type="radio"] {
    margin-right: 12px;
}

.radio-option input[type="radio"]:checked + label {
    color: #667eea;
    font-weight: 600;
}

/* Progress indicator */
.progress {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-bar {
    height: 100%;
    background: #667eea;
    transition: width 0.3s;
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 15px;
    }

    .card {
        padding: 25px;
    }
}
