@font-face {
    font-family: 'Evolventa';
    src: url('fonts/Evolventa-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Evolventa';
    src: url('fonts/Evolventa-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Background image is handled by WebGL now, but keeping it as fallback/reference */
    background-image: url('User_image/_34.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* opacity: 0; Hide initially - DISABLED PERMANENTLY TO PREVENT LOADING ISSUES */
    /* transition: opacity 1.5s ease-in-out; */
}

body.loaded {
    opacity: 1;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute; /* Ensure canvas is positioned correctly */
    top: 0;
    left: 0;
    z-index: 1; /* Smoke behind logo */
}

.content-wrapper {
    position: relative;
    z-index: 9999; /* Ensure it's absolutely on top */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Allow clicks to pass through to smoke in empty areas */
}

.logo-container {
    width: 50%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Reduced vertical spacing */
    pointer-events: auto; /* Logo might have interaction later, or keep none if strictly visual */
}

.action-buttons {
    display: flex;
    gap: 30px;
    margin-bottom: 30px; /* Reduced vertical spacing */
    pointer-events: auto; /* Enable clicks */
}

.btn {
    text-decoration: none;
    color: #fff; /* White text */
    background: rgba(255, 255, 255, 0.05); /* Very subtle fill for glass depth */
    border: 1px solid rgba(229, 179, 70, 0.5); /* Semi-transparent gold border base */
    padding: 10px 20px; /* Reduced padding from 12px 30px */
    border-radius: 50px; /* Fully rounded corners */
    font-family: 'Evolventa'; /* Removed sans-serif fallback */
    font-size: 18px; /* Increased from 14px */
    font-weight: normal; /* Regular font weight */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(2px); /* Slight blur for glass effect */
    display: inline-flex; /* Ensure flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-width: 140px; /* Reduced minimum width from 160px */
    /* Liquid/Glass Effect Layering */
    box-shadow: 
        0 0 10px rgba(229, 179, 70, 0.1), /* Outer glow */
        inset 0 0 10px rgba(229, 179, 70, 0.2), /* Inner gold glow */
        inset 0 1px 0 rgba(255, 255, 255, 0.4), /* Top inner highlight */
        inset 0 -1px 0 rgba(255, 255, 255, 0.1); /* Bottom inner shadow */
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1); /* Slightly brighter on hover */
    color: #fff; /* Keep white text */
    box-shadow: 
        0 0 20px rgba(229, 179, 70, 0.4), /* Stronger outer glow */
        inset 0 0 15px rgba(229, 179, 70, 0.4), /* Stronger inner glow */
        inset 0 1px 0 rgba(255, 255, 255, 0.6), /* Brighter top highlight */
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: #E5B346; /* Solid gold border on hover */
}

.social-icons {
    display: flex;
    gap: 50px;
    pointer-events: auto;
}

.social-link {
    color: #fff; /* White color */
    font-size: 30px; /* Increased from 24px */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.8; /* Slight transparency for default state */
}

.social-link:hover {
    color: #E5B346;
    opacity: 1; /* Full opacity on hover */
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px rgba(229, 179, 70, 0.4));
}

.footer-info {
    position: absolute;
    bottom: 30px; /* Distance from bottom */
    width: 100%;
    text-align: center;
    color: #E5B346;
    font-family: 'Evolventa'; /* Removed sans-serif fallback */
    pointer-events: auto; /* Allow selection */
}

.footer-line.main {
    font-size: 14px; /* Significantly reduced from 24px */
    margin-bottom: 5px; /* Reduced margin */
    font-weight: normal; 
}

.footer-line.sub {
    font-size: 10px; /* Significantly reduced from 16px */
    margin-bottom: 3px;
    font-weight: normal;
    opacity: 0.9;
}

.footer-link {
    color: inherit; /* Inherit gold color from parent */
    text-decoration: none; /* Remove default underline */
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7; /* Slight fade on hover */
    text-decoration: underline; /* Add underline on hover for clarity */
}

/* Base styles for logo interaction */
.logo {
    width: 100%;
    height: auto;
    display: block;
}

.logo-letter-group {
    cursor: default; /* Or pointer */
}

.logo-letter-path {
    transition: fill 0.3s ease;
}

/* When hovering over the group (which includes the invisible rect), color the path */
.logo-letter-group:hover .logo-letter-path {
    fill: #E5B346;
}

/* Ensure nested paths (like in 'A') also change color */
.logo-letter-group:hover g .logo-letter-path {
    fill: #E5B346;
}

/* Responsive adjustments for mobile and narrow screens */
@media screen and (max-width: 768px) {
    .logo-container {
        width: 80%; /* Wider logo on small screens */
        max-width: 400px;
        margin-bottom: 20px;
    }

    .action-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 80%;
        max-width: 300px;
        margin-bottom: 30px;
    }

    .btn {
        width: 100%; /* Full width buttons */
        min-width: unset; /* Allow flexibility */
        padding: 12px 0; /* Consistent vertical padding */
        font-size: 16px; /* Slightly smaller font */
    }

    .social-icons {
        gap: 30px; /* Reduced gap between icons */
    }

    .social-link {
        font-size: 24px; /* Slightly smaller icons */
    }

    .footer-info {
        bottom: 20px;
        width: 90%; /* Prevent text touching edges */
    }

    .footer-line.main {
        font-size: 12px; /* Smaller main footer text */
    }
    
    .footer-line.sub {
        font-size: 9px; /* Smaller sub footer text */
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .logo-container {
        width: 90%;
    }
    
    .btn {
        font-size: 14px;
    }
    
    .footer-line.main {
        font-size: 10px;
    }
    
    .footer-line.sub {
        font-size: 8px;
    }
}