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

body {
    background: linear-gradient(135deg, #2b002b 0%, #4a004a 100%);
    color: azure;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

p {
    color: lightpink;
    font-size: 1.1rem;
    opacity: 0.9;
}

.emoji-link a {
    text-decoration: none;
    font-size: 2rem;
    display: inline-block;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.emoji-link a:hover {
    transform: scale(1.2);
}

/* Grid for cards */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    /* height: 350px; */
}

.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    line-height: 0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Video styling */
.video-section {
    margin-top: 20px;
}

video {
    width: 100%;
    max-width: 270px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 2px solid rgba(240, 255, 255, 0.1);
}

/* Styling pre textový obsah */
.content-text {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: left;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.subtitle {
    font-style: italic;
    margin-top: 10px;
}

.feature {
    margin-top: 20px;
}

.feature h3 {
    color: lightpink;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature p {
    color: azure;
    opacity: 0.8;
    font-size: 1rem;
}

.back-link {
    color: lightpink;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.back-link:hover {
    color: azure;
}

.intro {
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

/* Стилизация ссылок внутри текста */
.content-text a {
    color: lightpink;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 182, 193, 0.5);
    transition: all 0.3s ease;
}

.content-text a:hover {
    color: azure;
    border-bottom-color: azure;
    background: rgba(255, 255, 255, 0.1);
}

/* Настройка сетки для двух изображений */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.grid-container .card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}
