/* Moderne Unterwasser-Styles für Subnautica 2 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.ocean-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="30" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="70" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>') repeat;
    animation: wave 10s ease-in-out infinite;
    z-index: -1;
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

header {
    background: rgba(0, 20, 40, 0.8);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

header h1 {
    margin: 0;
    font-size: 3rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
    to { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8); }
}

header p {
    margin: 0.5rem 0 0;
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.intro {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00ffff;
}

.intro p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: rgba(0, 50, 100, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(odd) {
    animation-delay: 0s;
}

.feature-card:nth-child(even) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-card:hover {
    transform: scale(1.05) translateY(-15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 255, 255, 0.4);
}

.feature-card h3 {
    margin: 0 0 1rem;
    font-size: 1.8rem;
    color: #ffffff;
}

.feature-card p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.gallery {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00ffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: rgba(0, 50, 100, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease;
    animation: fadeIn 2s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.gallery-item p {
    margin: 0;
    text-align: center;
}

.gallery-item:hover {
    transform: scale(1.05);
}

footer {
    background: rgba(0, 20, 40, 0.8);
    color: white;
    text-align: center;
    padding: 1.5rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(15px);
    border-top: 2px solid rgba(0, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 { font-size: 2rem; }
    .intro h2 { font-size: 2rem; }
    .feature-card, .gallery-item { padding: 1.5rem; }
}