/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Background Animation */
body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #1a1a2e 0%, #16213e 100%);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* Matrix Effect */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Content Box */
.container {
    position: relative;
    text-align: center;
    padding: 30px;
    width: 60%;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
    z-index: 2;
}

.container h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(to right, #00ff99, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 15px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 22px;
    color: white;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}

.btn-ai {
    background: linear-gradient(to right, #00ff99, #00ccff);
    font-size: 28px;
    font-weight: bold;
    display: block;
    width: fit-content;
    margin: 20px auto;
}

.btn-ai:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 153, 0.6);
}

.btn-about {
    background: linear-gradient(to right, #666, #444);
    display: block;
    width: fit-content;
    margin: 20px auto;
}

.btn-about:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Feedback Section */
.feedback-section {
    width: 60%;
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
    z-index: 2;
    color: white;
}

.feedback-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.feedback-section textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    margin-bottom: 15px;
    resize: vertical;
}

.feedback-section button {
    padding: 10px 25px;
    font-size: 18px;
    color: white;
    background: linear-gradient(to right, #00ff99, #00ccff);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-section button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 153, 0.6);
}

#feedback-message {
    margin-top: 10px;
}

.hidden {
    display: none;
}

/* Footer Box */
.footer-container {
    position: absolute;
    bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-box:hover {
    transform: scale(1.1);
}

.bio {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.footer-box:hover .bio {
    opacity: 1;
}

/* Responsive for iPhone */
@media only screen and (max-width: 768px) {
    .container {
        width: 90%;
        padding: 20px;
    }
    .container h1 {
        font-size: 28px;
    }
    .container p {
        font-size: 16px;
    }
    .btn {
        font-size: 18px;
        padding: 10px 20px;
    }
    .btn-ai {
        font-size: 24px;
    }
    .feedback-section {
        width: 90%;
    }
}
