
:root {
    --primary-color: #a872cc; 
    --link-color: #6da2ed;    

    --glass-bg: rgba(18, 18, 24, 0.85); 
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
}

html, body {
    overflow: hidden; 
    height: 100%;
    margin: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-image: url('taust.png'); 
    background-size: 100% 104%; 
    background-repeat: no-repeat; 
    background-position: center center; 
    background-attachment: fixed;
    background-color: #050505; 
    font-family: 'Open Sans', sans-serif;
    color: #ffffff; 
}


h1, h2, h3, h4, h5, h6, .title, .subtitle, p, li, td {
    text-shadow: 0 2px 4px rgba(0,0,0,0.95); 
}

h1, h2, .title {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
}


.slide-content { 
    max-width: 1200px; 
    width: 90%; 
    margin: 0 auto; 
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    

    background: var(--glass-bg);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease;
}


.presentation-slide {
    height: 100vh;
    width: 100%;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;

    transform: scale(1.1) translateY(20px); 
    transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.presentation-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 10;
}


.profile-card {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}
.profile-card:hover {
    transform: translateY(-10px);
}

.profile-img {
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    margin-bottom: 25px !important; 
    width: 140px;
    height: 140px;
    margin-left: auto;
    margin-right: auto;
}

.profile-img.purple-ring { border-color: var(--primary-color); }
.profile-img.blue-ring { border-color: var(--link-color); }


.presenter-name {
    margin-bottom: 10px !important; /* Kindel vahe nime all */
    font-weight: 800;
}
.presenter-role {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: #ddd !important;
    opacity: 0.9;
}


.gradient-text {
    background: linear-gradient(135deg, #fff 30%, #a872cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    filter: drop-shadow(0 2px 2px rgba(255, 255, 255, 0.8)); 
}

.glow-box {
    box-shadow: 0 0 15px rgba(168, 114, 204, 0.2);
    border: 1px solid rgba(168, 114, 204, 0.3);
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}


.end-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: transparent;
    border: 4px solid var(--primary-color);
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--primary-color), inset 0 0 20px var(--primary-color);
    animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 30px var(--primary-color), inset 0 0 20px var(--primary-color); }
    50% { box-shadow: 0 0 60px var(--primary-color), inset 0 0 40px var(--primary-color); }
    100% { box-shadow: 0 0 30px var(--primary-color), inset 0 0 20px var(--primary-color); }
}

.thank-you-text {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #a872cc, #6da2ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.8));
}

.social-links {
    margin-top: 3rem;
}
.social-icon {
    font-size: 2rem;
    margin: 0 15px;
    color: #fff;
    transition: color 0.3s, transform 0.3s;
}
.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}


.slide-number {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem; /* Veel suurem */
    color: rgba(255, 255, 255, 0.2);
    z-index: 100;
}

.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--link-color));
    width: 0%;
    transition: width 0.3s ease;
    z-index: 200;
    box-shadow: 0 -2px 10px var(--primary-color);
}


#presentation-container:after,
#presentation-container:before {
    content: '';
    position: absolute;
    top: 0; height: 100%; width: 10%; z-index: 50; background: transparent;
}
#presentation-container:after { right: 0; cursor: pointer; }
#presentation-container:before { left: 0; cursor: pointer; }


.end-circle:active {
    transform: scale(0.9);
}


.particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none; 
    z-index: 9999;
    animation: pop-particle 1s ease-out forwards;
}


@keyframes pop-particle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {

        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
    }
}

.success-glow {
    color: #48c774 !important; 
    filter: drop-shadow(0 0 20px #48c774);
    transition: all 0.3s;

}
