/* Reset and base styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#callBox {
    display: none;
    padding: 20px;
    border: 2px solid #000;
    background-color: #fff;
    text-align: center;
    animation: fadeIn 1s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background-color: #0d0d0d;
    background-image: url('../assets/background2.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

#callButton {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    font-size: 1.2rem;
    border: 1px solid #ffffffcf;
    border-radius: 25px;
    background: #0d0d0d;
    color: #ffffffcd;
    cursor: pointer;

    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
}
#callButton:hover {
    
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
#callBox {
    padding: 30px;
    border-radius: 15px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    font-size: 1.1rem;
    min-width: 280px;
}
@media (max-width: 480px) {
    #callButton {
        font-size: 1rem;
        padding: 12px 24px;
    }
    #callBox {
        padding: 20px;
        font-size: 1rem;
        min-width: 250px;
    }
}
/* Ring box container */
#ringBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #151515 0%, #16181b 100%);
    display: none;
    z-index: 9999;
}

/* Content wrapper for centering */
.ring-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Timer styling */
.timer {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 20px 0;
    display: none;
}

/* Call status */
.call-status {
    font-size: 1.5rem;
    color: white;
    margin: 20px 0;
    font-size: 16px;
    white-space: pre-line;
    text-align: center;
}

/* End call button */
#endCallBtn {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10000;
    pointer-events: auto;
    display: none;
    margin: 20px auto;
}

#endCallBtn:hover {
    background: #ff2222;
    transform: translateY(-2px);
}

/* Wave animations */
.wave {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.ringing {
    animation: pulse 1s infinite;
}

/* Stars Animation */
.stars {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    box-shadow: 0 0 3px white;
    border-radius: 50%;
    animation: starAnim 1.5s infinite;
}

@keyframes starAnim {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Waves Animation */
.wave {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: waveAnim 2s infinite;
}

@keyframes waveAnim {
    0% {
        width: 0px;
        height: 0px;
        opacity: 0.8;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}


.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 20px;
    border-radius: 5px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 5px;
    animation: slideIn 0.5s ease-out;
}

.notification.success {
    background: #4CAF50;
    color: white;
}

.notification.error {
    background: #f44336;
    color: white;
}

.footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    text-align: center;
    color: #555;
    width: 100%;
    padding: 10px;
    background-color: transparent;
}

.footer a {
    text-decoration: none;
    color: #ffffff;
    font-weight: normal;
}

.footer a:hover {
    text-decoration: underline;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* ZMENA: Pridané štýly pre input field - ladí s existujúcim dizajnom */
.context-input-container {
    margin: 15px 0;
    width: 100%;
    max-width: 400px;
}

#contextInput {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    background: rgba(255,255,255,0.9);
    color: #333;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#contextInput::placeholder {
    color: #666;
    opacity: 0.8;
}

#contextInput:focus {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

/* Responzívne pre mobily */
@media (max-width: 480px) {
    .context-input-container {
        max-width: 300px;
        margin: 10px 0;
    }
    
    #contextInput {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}
/* KONIEC ZMENY */


/* Minimalistický pulzujúci orb */
.center-orb {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(100,150,255,0.8), rgba(50,100,255,1));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(100,150,255,0.6), inset 0 0 20px rgba(255,255,255,0.3);
    animation: orbPulse 2s ease-in-out infinite;
    margin: 20px 0;
}

@keyframes orbPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 30px rgba(100,150,255,0.6), inset 0 0 20px rgba(255,255,255,0.3);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 0 0 50px rgba(100,150,255,0.8), inset 0 0 30px rgba(255,255,255,0.4);
    }
}
