* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    text-align: center;
}

header {
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.personal-message {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
}

.message-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    font-family: inherit;
    margin: 0 auto;
}

.message-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.message-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.message-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 40px 35px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 25px auto 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    animation: messageSlideDown 0.4s ease-out;
}

.message-box.hidden {
    display: none;
}

.close-message-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.close-message-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: rotate(90deg);
}

@keyframes messageSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-text {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    margin: 0;
    font-weight: 400;
}

.message-greeting {
    font-size: 1.4rem;
    font-weight: 700;
    color: #667eea;
    display: block;
    margin-bottom: 8px;
}

.message-signature {
    display: block;
    text-align: right;
    margin-top: 15px;
    font-style: italic;
    color: #666;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .message-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
    
    .message-box {
        padding: 35px 25px 30px;
        margin: 20px 15px 0;
    }
    
    .close-message-btn {
        top: 10px;
        right: 15px;
        font-size: 1.8rem;
        width: 30px;
        height: 30px;
    }
    
    .message-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .message-greeting {
        font-size: 1.2rem;
    }
    
    .message-signature {
        font-size: 0.9rem;
    }
    
    .personal-message {
        margin-bottom: 40px;
    }
}

.title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .title {
        font-size: 1.8rem;
    }
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.quote-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.quote-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.quote-text {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .quote-text {
        font-size: 1.2rem;
    }
    
    .quote-box {
        padding: 30px 25px;
        min-height: 150px;
    }
}

.motivation-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    font-family: inherit;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.motivation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.motivation-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.motivation-btn svg {
    animation: bounce 2s infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

.password-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease-out;
}

.password-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: scaleIn 0.5s ease-out;
}

.password-title {
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .password-title {
        font-size: 1.5rem;
    }
}

.password-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.password-input {
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.password-input:focus {
    border-color: #667eea;
}

.password-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.password-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.password-btn:active {
    transform: translateY(0);
}

.password-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 10px;
    min-height: 20px;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: fadeIn 0.5s ease-out;
}

.loading-screen.hidden {
    display: none;
}

.loading-container {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

.loading-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .loading-text {
        font-size: 1.2rem;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hidden {
    display: none !important;
}

.developer-info {
    margin-top: 80px;
    padding: 0 20px 30px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin-bottom: 20px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.developer-name {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .developer-info {
        margin-top: 50px;
        padding: 0 15px 25px;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
}
