body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}



.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 50px;
    flex: 1;
    pointer-events: none;
}

.flip-card {
    background-color: transparent;
    width: 280px;
    height: 200px;
    perspective: 1000px;
    pointer-events: auto;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background-color: #ffffff;
    color: #333;
    font-weight: bold;
    font-size: 1.2em;
}

.flip-card-back {
    background-color: #2196F3;
    color: white;
    transform: rotateY(180deg);
    font-size: 0.95em;
    line-height: 1.4;
}

footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    background: #f2f4f7;
    color: #666;
    margin-top: auto;
    pointer-events: auto;
}

header {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

body.dark-mode {
    background-color: #1a1a2e;
    color: #e6e6e6;
}



.dark-mode .flip-card-front {
    background-color: #252545;
    color: #e6e6e6;
}

.dark-mode footer {
    background: #131326;
    color: #999;
}