:root {
    --text-color: #333;
    --bg-overlay: rgba(255, 255, 255, 0.5);
    --blur-amount: 5px;
    --transition-speed: 0.3s;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    overflow: hidden; /* Prevent scrolling for one-pager */
}

.background-image {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    animation: slowPan 30s ease-in-out infinite alternate;
}

@keyframes slowPan {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.05) translate(-1%, -1%); }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.content-box {
    background: var(--bg-overlay);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-radius: 20px;
    padding: 3rem 4rem;
    
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    
    /* Animation */
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-box h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    color: #111;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.content-box p {
    font-size: 1.2rem;
    margin: 0 0 30px 0;
    color: #333;
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.social-links a img {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-speed) ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.social-links a:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.3));
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.7);
    color: #111;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 1rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-sizing: border-box;
}

.btn-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
    .content-box {
        padding: 2rem;
        width: 100%;
        max-width: 400px;
    }
    
    .content-box h1 {
        font-size: 2rem;
    }
}

/* Glitch Effect */
.glitch-overlay {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: hard-light;
}

.glitch-overlay.active {
    animation: glitch-anim 0.2s step-end both;
}

@keyframes glitch-anim {
    0% { opacity: 0.9; transform: translate(-30px, 15px) skew(15deg) scale(1.05); filter: hue-rotate(90deg) contrast(300%) invert(10%); }
    20% { opacity: 0.9; transform: translate(25px, -20px) skew(-15deg) scale(1.05); filter: hue-rotate(-90deg) contrast(300%) sepia(30%); }
    40% { opacity: 0.9; transform: translate(-20px, 25px) skew(10deg) scale(1.05); filter: hue-rotate(180deg) invert(30%) contrast(300%); }
    60% { opacity: 0.9; transform: translate(30px, -10px) skew(-10deg) scale(1.05); filter: hue-rotate(-180deg) contrast(300%); }
    80% { opacity: 0.9; transform: translate(-15px, 20px) skew(5deg) scale(1.05); filter: hue-rotate(45deg) contrast(250%); }
    100% { opacity: 0; transform: translate(0) skew(0deg) scale(1); filter: hue-rotate(0deg); }
}
