/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Holy OS Container */
.holy-os {
    position: relative;
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
        url('bookofpardonbg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Divine Background */
.divine-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 165, 0, 0.15) 0%, transparent 50%);
    animation: divineGlow 8s ease-in-out infinite;
}

@keyframes divineGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Main OS Container */
.os-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.holy-header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.os-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.time-display {
    color: #ffd700;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* Main Content */
.holy-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 30px;
    overflow-y: auto;
    overflow-x: hidden;
}

.holy-main::-webkit-scrollbar {
    width: 8px;
}

.holy-main::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.holy-main::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 4px;
}

.holy-main::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* Central Shrine */
.central-shrine {
    text-align: center;
    position: relative;
    overflow: visible;
}

.holy-emblem {
    position: relative;
    width: 350px;
    max-width: 90vw;
    height: 500px;
    margin: 0 auto 20px;
    padding-top: 380px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
}

.emblem-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.main-icon {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    z-index: 1;
}

.divine-title {
    font-size: 48px;
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.divine-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 25px 0;
    flex-wrap: wrap;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50px;
    text-decoration: none;
    color: #ffd700;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.social-button:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.social-label {
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Specific button colors */
.telegram-button:hover {
    background: rgba(0, 136, 204, 0.3);
    border-color: rgba(0, 136, 204, 0.8);
}

.twitter-button:hover {
    background: rgba(29, 161, 242, 0.3);
    border-color: rgba(29, 161, 242, 0.8);
}

.chart-button:hover {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.8);
}

/* Holy Quote */
.holy-quote {
    margin-top: 25px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid #ffd700;
    border-radius: 8px;
    max-width: 600px;
}

.holy-quote p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 10px;
}

.quote-author {
    color: #ffd700 !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 600;
    text-align: right;
    margin-bottom: 0 !important;
}

/* Sacred Mission */
.sacred-mission {
    width: 100%;
    max-width: 700px;
    margin: 20px 0;
}

.mission-card {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.book-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    animation: bookFloat 3s ease-in-out infinite;
}

@keyframes bookFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.mission-title {
    font-size: 24px;
    color: #ffd700;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.mission-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-style: italic;
}

/* Holy Actions */
.holy-actions {
    width: 100%;
    max-width: 600px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.holy-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.holy-button:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.button-icon {
    font-size: 36px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.button-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Footer */
.holy-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    color: #00ff00;
    font-size: 12px;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.status-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.version {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

/* Divine Particles */
.divine-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: float 10s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Notification Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .divine-title {
        font-size: 32px;
    }

    .divine-subtitle {
        font-size: 14px;
    }

    .holy-emblem {
        width: 240px;
        height: 320px;
        padding-top: 15px;
    }

    .social-links {
        flex-direction: column;
        gap: 12px;
    }

    .social-button {
        padding: 12px 25px;
        font-size: 14px;
    }

    .holy-quote {
        padding: 15px 20px;
    }

    .holy-quote p {
        font-size: 14px;
    }

    .mission-card {
        padding: 20px;
    }

    .book-icon {
        width: 60px;
        height: 60px;
    }

    .mission-title {
        font-size: 20px;
    }

    .mission-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .holy-emblem {
        width: 200px;
        height: 280px;
        padding-top: 10px;
    }

    .divine-title {
        font-size: 24px;
    }

    .social-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

