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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px;
}

.header {
    text-align: center;
    margin-bottom: 60px;
}

.title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.theme-card {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.theme-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(139, 92, 246, 0.15);
}

.card-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(20, 20, 30, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-icon svg {
    width: 28px;
    height: 28px;
}

.aurora-icon {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(239, 68, 68, 0.2) 100%);
    color: #fb923c;
}

.cloud-icon {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: #60a5fa;
}

.glass-icon {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(34, 211, 238, 0.2) 100%);
    color: #38bdf8;
}

.theme-info {
    flex: 1;
}

.theme-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.theme-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000000;
    overflow: hidden;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    overflow: hidden;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.view-btn:hover svg {
    transform: translateX(4px);
}

.footer {
    text-align: center;
    padding: 40px 0 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .iframe-wrapper {
        height: 500px;
    }
    
    .container {
        padding: 40px 16px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .iframe-wrapper {
        height: 450px;
    }
    
    .card-header {
        padding: 20px;
    }
    
    .theme-icon {
        width: 48px;
        height: 48px;
    }
    
    .theme-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .theme-name {
        font-size: 1.3rem;
    }
}
