:root {
    --bg-color: #000000;
    --text-color: #00ff41;
    --font-ui: 'Jaro', sans-serif;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-color);
    font-family: var(--font-ui);
    transition: background-color 0.5s ease;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.clip-text {
    font-family: var(--font-ui);
    font-size: clamp(4rem, 15vw, 12rem);
    /* Increased size for mobile visibility */
    letter-spacing: -0.02em;
    /* Condense letter spacing */
}

.outline-text {
    fill: none;
    stroke: var(--text-color);
    stroke-width: 1px;
}

.glass-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.01);
    /* Nearly perfectly transparent */
    clip-path: url(#text-clip);
    -webkit-clip-path: url(#text-clip);
    pointer-events: none;
    /* Adding subtle drop shadow for depth */
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.8));
    -webkit-filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.8));
}

.action-buttons-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
}

.action-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

#toggleSocialBtn {
    display: none;
}

.social-icons {
    position: absolute;
    bottom: 60px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.glass-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.01);
    /* Matches center text glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--text-color);
    /* Green border default */
    border-radius: 4px;
    color: var(--text-color);
    /* Green icon default */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Brand Colors */
.github-btn {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.01);
}

.facebook-btn {
    border-color: #1877F2;
    color: #1877F2;
    background: rgba(24, 119, 242, 0.01);
}

.twitter-btn {
    border-color: #1DA1F2;
    color: #1DA1F2;
    background: rgba(29, 161, 242, 0.01);
}

.toggle-active {
    border-color: #ff3333 !important;
    color: #ff3333 !important;
}

/* Contact Form */
.contact-form-container {
    position: absolute;
    bottom: 60px;
    /* Above the button */
    right: 0;
    /* Aligned vertically with button */
    width: 350px;
    max-width: calc(100vw - 40px);
    /* Keep it within screen bounds on mobile minus margins */
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--text-color);
    /* Explicitly 1px */
    border-radius: 4px;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    /* Animate upwards like social icons */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-form-container.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cf-turnstile {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* On very small mobile screens (< 360px), scale down the Turnstile widget */
@media screen and (max-width: 360px) {
    .cf-turnstile {
        transform: scale(0.9);
        transform-origin: center center;
    }
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 255, 65, 0.3);
    background: transparent;
    border-radius: 2px;
    padding: 8px 12px;
}

.input-group.align-top {
    align-items: flex-start;
}

.input-icon {
    color: #888;
    margin-right: 10px;
    flex-shrink: 0;
}

.input-group input,
.input-group textarea {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-color);
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 14px;
    width: 100%;
}

.input-group input::-webkit-input-placeholder,
.input-group textarea::-webkit-input-placeholder {
    color: #888;
    opacity: 1;
}

.input-group input::-moz-placeholder,
.input-group textarea::-moz-placeholder {
    color: #888;
    opacity: 1;
}

.input-group input:-ms-input-placeholder,
.input-group textarea:-ms-input-placeholder {
    color: #888;
    opacity: 1;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #888;
    opacity: 1;
}

.input-group textarea {
    resize: none;
    height: 80px;
}

.form-submit-btn {
    background: #4CAF50;
    /* Green from the reference */
    color: white;
    border: none;
    padding: 12px;
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.form-submit-btn:hover {
    background: #45a049;
}