@font-face {
    font-family: "JetBrains Sans";
    src: url("fonts/JetBrainsSans-Regular.woff2");
}

@font-face {
    font-family: "JetBrains Mono";
    src: url("fonts/JetBrainsMono-Regular.woff2");
}

:root {
    font-family: "JetBrains Sans", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.87);
    background-color: #0a0a0a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

/* Header */
.header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem;
    font-weight: 400;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Main Content */
#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Media Sections */
.media-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.media-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.media-section h2 {
    font-size: 1.8rem;
    margin: 0 0 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

/* Embed Container */
.embed-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.embed-container iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: none;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-item {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Video Player */
.video-player {
    display: block;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 1rem;
    border-radius: 8px;
    background: #000;
}

/* Info Text */
.info-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin: 0;
}

.info-text code {
    font-family: "JetBrains Mono", monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #667eea;
}

/* Counter Section */
.counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.counter-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.counter-text {
    font-size: 1.2rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.counter-value {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    color: #667eea;
    font-family: "JetBrains Mono", monospace;
    min-width: 100px;
}

.counter-interaction {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.counter-interaction button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 500;
    min-width: 60px;
}

.counter-interaction button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.counter-interaction button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

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

    .media-section {
        padding: 1.5rem;
    }

    .embed-container iframe {
        height: 240px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

