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

body {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.hero {
    background: radial-gradient(circle at center, #1f2937 0%, #0d1117 100%);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #30363d;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, #58a6ff, #bd56fe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #8b949e;
}

/* Ad Placeholders (Hidden for now until Monetization) */
.ad-container {
    display: none;
    /* Changed from flex to none */
    justify-content: center;
    margin: 20px 0;
}

.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161b22;
    border: 1px dashed #484f58;
    color: #8b949e;
    font-size: 14px;
    border-radius: 8px;
}

.top-ad .ad-placeholder {
    width: 728px;
    height: 90px;
    max-width: 100%;
}

.square-ad {
    width: 100%;
    height: 100%;
    min-height: 250px;
}

/* Gallery Section */
.gallery-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.gallery-container h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
    border-bottom: 2px solid #30363d;
    padding-bottom: 10px;
    display: inline-block;
}

.experiment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Cards */
.exp-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.exp-card:hover {
    transform: translateY(-5px);
    border-color: #58a6ff;
    box-shadow: 0 8px 24px rgba(88, 166, 255, 0.15);
}

.exp-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.exp-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.exp-info h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
}

.exp-info p {
    font-size: 0.95rem;
    color: #8b949e;
    flex-grow: 1;
    margin-bottom: 20px;
}

.launch-btn {
    display: inline-block;
    padding: 10px 16px;
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: background 0.2s;
}

.exp-card:hover .launch-btn {
    background: rgba(88, 166, 255, 0.2);
}

.ad-card {
    display: none;
    /* Hidden for now */
    background: transparent;
    border: none;
    padding: 0;
}

.ad-card:hover {
    transform: none;
    box-shadow: none;
    border: none;
}

footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #30363d;
    color: #8b949e;
    font-size: 0.9rem;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}