/* HEADER & FOOTER */
header {
    display: flex;
    align-items: center;
    padding: 5px 5px;
    background: rgba(0,0,0,0.3);
}
header .logo img {
    width: 50px;
    margin-right: 10px;
}
footer {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
    padding: 10px 0;
    background: rgba(0,0,0,0.2);
}

/* BODY & MAIN LAYOUT */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top, #1a2a3b, #0f2027);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

/* START SCREEN */
.start-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* SEZAMEK */
.sezamek-wrapper {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    perspective: 1000px;
}
.sezamek-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: url('/static/img/sezamek.png') no-repeat center/cover;
    border: 5px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6), inset 0 0 20px rgba(255,255,255,0.2);
    animation: pulse 4s infinite, floaty 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* TEKST */
.headline {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}
.description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2rem auto;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: .3s;
}

/* BUTTON */
.start-btn {
    padding: 14px 40px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}
.start-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(0, 114, 255, 0.6);
}

/* ANIMACJE */
@keyframes pulse {
    0% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.9); }
    100% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }
}
@keyframes floaty {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateY(8deg); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}





.learning-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 600px;  
    margin: 0 auto;
    text-align: center;
    padding: 20px;

}

.product-card.single {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;  
}
.product-card.single:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
}

.product-card.single .image-box {
    width: 300px !important;
    height: 300px !important;
    display: flex !important;
    align-items: center !important;   
    justify-content: center !important; 
    overflow: hidden !important;
    border-radius: 12px !important;
    margin: 0 auto 15px auto !important;
    padding: 5px !important;
}

.product-card.single .image-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 12px;
}

.product-card.single h3 {
    font-size: 1.4rem;
    margin: 10px 0;
}
.product-card.single p {
    font-size: 1rem;
    opacity: 0.9;
}
.product-card.single p:nth-of-type(2) {
    font-weight: bold;
    font-size: 1.1rem;
    color: #00c6ff;
}

.question-box {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 20px;
    width: 100%;    
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
    transition: box-shadow 0.3s ease;
}
.question-box:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.35);
}

@media (max-width: 768px) {

    .learning-container{
        padding: 15px;
    }

}




.features-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    text-align: left;
}
.features-list li {
    font-size: 0.95rem;
    margin: 3px 0;
}
.features-list li strong {
    color: #00c6ff;
}









.answer-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    max-width: 400px;
}

.option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(0,255,255,0.5);
    background: rgba(255,255,255,0.05);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.option:hover {
    background: rgba(0,255,255,0.2);
    transform: translateY(-2px);
}

/* Ukrywamy input */
.option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* CAŁY przycisk zmienia się przy zaznaczeniu */
.option:has(input:checked) {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: #fff;
    border: none;
    box-shadow: 0 0 8px rgba(0,114,255,0.5);
}


/* TAK/NIE */
.yesno-btns {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 10px;
}
.yes-btn, .no-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.yes-btn { background: #00c853; color: #fff; }
.no-btn { background: #d50000; color: #fff; }
.yes-btn:hover, .no-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* ZAPISZ */
.submit-btn {
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    background: linear-gradient(45deg,#00c6ff,#0072ff);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0,114,255,0.4);
}

/* Pytanie */
.confirm-text {
    margin-bottom: 15px;
    font-size: 1.2rem;
}