/* Stilet e përgjithshme */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.header {
    margin-bottom: 2rem;
    position: relative;
    padding: 1rem 0;
}

.header h1 {
    font-size: 2.5rem;
    color: #27ae60;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.header .lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(39, 174, 96, 0.1) 0%,
        rgba(39, 174, 96, 0.2) 50%,
        rgba(39, 174, 96, 0.1) 100%
    );
    animation: gradientMove 10s linear infinite;
    border-radius: 15px !important;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(255,255,255,0.3) 25%, transparent 35%),
        linear-gradient(-45deg, rgba(255,255,255,0.3) 25%, transparent 35%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.3) 85%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.3) 85%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.1;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-link {
    display: inline-block;
}

/* Remove moving animations */
.albanian-pattern-top,
.albanian-pattern-bottom,
.albanian-shield {
    display: none;
}

/* Karta */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(39, 174, 96, 0.2);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1);
    border-radius: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.2);
}

.card-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-body {
    padding: 30px;
}

/* Butonat */
.btn {
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn:disabled {
    background: #27ae60;
    opacity: 0.6;
    cursor: not-allowed;
    color: white;
    box-shadow: none;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: #27ae60;
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.btn-primary:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.btn-outline-primary {
    color: #27ae60;
    border: 2px solid #27ae60;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #27ae60;
    border-color: #27ae60;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.btn-outline-primary.selected {
    background: #27ae60;
    border-color: #27ae60;
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

/* Timer */
.timer {
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.timer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(39, 174, 96, 0.2) 50%,
        transparent 100%
    );
    animation: timerPulse 2s linear infinite;
}

.timer i {
    font-size: 1.2rem;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.feature-item {
    text-align: center;
    padding: 15px;
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(39, 174, 96, 0.1) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item:hover::before {
    transform: translateX(100%);
}

.feature-icon {
    font-size: 2rem;
    color: #27ae60;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.05);
}

.feature-item p {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

/* Result Screen */
.result-circle {
    width: 150px;
    height: 150px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.2);
}

.result-circle h1 {
    font-size: 3.5rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.result-circle p {
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-stat {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.result-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.result-stat i {
    font-size: 2.5rem;
    color: #27ae60;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.result-stat:hover i {
    transform: scale(1.1);
}

.result-stat h3 {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #333;
    font-weight: 600;
}

.result-stat p {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3436;
    margin: 0;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.share-buttons .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
    min-width: 150px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Question Type Badge */
.badge {
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    background: #27ae60;
    box-shadow: 0 2px 5px rgba(39, 174, 96, 0.2);
}

/* Question Text */
#question-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.4;
    text-align: center;
}

/* Options Container */
#options-container {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.option-btn {
    text-align: left;
    padding: 15px 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #27ae60;
    background: transparent;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.option-btn:not(:disabled)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(33, 154, 82, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-btn:not(:disabled):hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1);
}

.option-btn:not(:disabled):hover::before {
    opacity: 1;
}

.option-btn.correct-answer {
    background-color: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.option-btn.correct-answer::before {
    display: none !important;
}

.option-btn.wrong-answer {
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.option-btn.wrong-answer::before {
    display: none !important;
}

.option-btn:disabled:not(.correct-answer):not(.wrong-answer) {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-color: #27ae60 !important;
    color: #27ae60 !important;
}

.option-btn:disabled:not(.correct-answer):not(.wrong-answer)::before {
    display: none !important;
}

/* Result Message */
#result-message {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 25px 0;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

/* Lead Text */
.lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .header {
        padding: 20px 0;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        margin: 0 0 30px 0;
    }
    
    .feature-item {
        width: 100%;
        min-width: 0;
    }
    
    .feature-item:nth-child(3) {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .share-buttons .btn {
        flex: 1 1 calc(50% - 10px);
        min-width: auto;
    }

    #question-text {
        font-size: 1.2rem;
    }

    .result-circle {
        width: 120px;
        height: 120px;
    }

    .result-circle h1 {
        font-size: 2.8rem;
    }

    .result-stat p {
        font-size: 1.8rem;
    }
}

.plogo {
    display: block;
    margin: auto;
    text-align: center;
}
.plogo .logo {
    max-width: 160px;
    height: auto;
    margin: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    background: #ffffff;
    padding: 12px 16px 12px 16px;
    text-align: center;
    border-radius: 0 0 15px 15px;
    margin: 0 auto 20px auto;
    box-shadow: 0 2px 11px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.plogo .logo:hover {
    transform: scale(1.05);
}
.plogo .logo:hover {
    transform: translateY(2px);
}
.plogo .logo-link {
    display: inline-block;
}

/* Geographic Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(39, 174, 96, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(39, 174, 96, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(39, 174, 96, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(39, 174, 96, 0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    z-index: -1;
    opacity: 0.3;
}

/* Globe Animation */
.globe-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    z-index: -1;
    opacity: 0.08;
    animation: globeRotate 40s linear infinite;
}

.globe {
    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="45" fill="none" stroke="%2327ae60" stroke-width="1.5"/><path d="M50 5 A45 45 0 0 1 50 95 A45 45 0 0 1 50 5" fill="none" stroke="%2327ae60" stroke-width="1.5"/><path d="M5 50 A45 45 0 0 1 95 50" fill="none" stroke="%2327ae60" stroke-width="1.5"/><path d="M50 5 L50 95" fill="none" stroke="%2327ae60" stroke-width="1.5"/><path d="M5 50 L95 50" fill="none" stroke="%2327ae60" stroke-width="1.5"/><circle cx="50" cy="50" r="2" fill="%2327ae60"/></svg>') center/contain no-repeat;
}

/* Compass Animation */
.compass {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: -1;
    opacity: 0.15;
    animation: compassRotate 15s linear infinite;
}

.compass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #27ae60;
    border-radius: 50%;
    transform: rotate(45deg);
}

.compass::after {
    content: 'N';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: #27ae60;
    font-weight: bold;
    font-size: 14px;
}

/* Animations */
@keyframes globeRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes compassRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes timerPulse {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Enhanced Feature Items */
.feature-item {
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(39, 174, 96, 0.1) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-item:hover::before {
    transform: translateX(100%);
}

/* Enhanced Timer */
.timer {
    position: relative;
    overflow: hidden;
}

.timer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(39, 174, 96, 0.2) 50%,
        transparent 100%
    );
    animation: timerPulse 2s linear infinite;
}

/* Enhanced Feature Items with Geographic Icons */
.feature-icon {
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    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="45" fill="none" stroke="%2327ae60" stroke-width="1" stroke-dasharray="4,4"/></svg>') center/contain no-repeat;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.2;
    animation: iconRotate 10s linear infinite;
}

@keyframes iconRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

#next-btn {
    margin-top: 1rem;
    padding: 12px 30px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
    border: none;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
} 