* {
    box-sizing: border-box; 
}

html, body {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Helvetica", "Arial", sans-serif;
    background: linear-gradient(
        to bottom right,
        rgba(177, 61, 20, 1),
        rgba(1, 142, 253, 1)
    );
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
    min-height: 100vh;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
	line-height: 1.5;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.content, #home-view {
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    min-width: 0;
}

.profile-card {
    background: rgba(52, 7, 1, 0.90);
    backdrop-filter: blur(8px);
    padding: 2.5rem;
    border-radius: 25px;
    width: 90%;
    max-width: 550px; 
    margin: 3rem 0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    margin: 1.5rem 0;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 600;
    text-align: center;
    line-height: 1.15;
    width: 100%;
}

h1 .subtitle {
    font-size: 0.55em;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 6px;
	color: rgba(255, 255, 255, 0.80);
}

h1 .subtitle2 {
    font-size: 0.45em;
    font-weight: 400;
    font-style: italic;
    opacity: 0.95;
    display: block;
    margin-top: 4px;
	color: rgba(255, 255, 255, 0.65);
}

.scroll-banner {
    width: 100%;
    max-width: 100%;
    height: 160px;
    overflow: hidden; 
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    white-space: nowrap;
    user-select: none;
    background: rgba(0,0,0,0.1);
    position: relative;
}

.scroll-track {
    display: inline-block;
    height: 160px;
    animation: scrollBanner 105s linear infinite;
}

.scroll-banner img {
    height: 160px;
    width: auto;
    display: inline-block;
    margin-right: 12px;
    border-radius: 12px;
    object-fit: cover;
    vertical-align: middle;
	background-color: rgba(0, 0, 0, 0.4);
	color: transparent;
}

@keyframes scrollBanner {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.link-container {
    background: rgba(33, 104, 108, 1.0);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 1rem;
    width: 100%; 
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.link-button {
    width: 100%;
    padding: 16px;
    background: rgba(255,109,109,0.75);
    border-radius: 12px;
    color: #f1f5f9;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.15rem;
	letter-spacing: 0.5px;
}

.link-button:hover {
    transform: translateY(-2px);
    background: rgba(0,0,0,0.9);
}

.icon {
    height: 26px;
    width: 26px;
    object-fit: contain;
}

@media (max-width: 600px) {
    
    .home-wrapper {
        width: 100%;
        max-width: 100vw;
        padding: 0;
        margin: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .profile-card, .teal-card-form, .teal-card-center {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 2rem 1.5rem;
        border-radius: 0;
        border: none;
        min-height: 100vh;
        justify-content: center;
    }

    .profile-card:not(.teal-card) {
        background: rgba(52, 7, 1, 0.4);
    }

    h1 {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    h1 .subtitle {
        font-size: 0.6em;
        white-space: normal;
        line-height: 1.4;
    }

    .scroll-banner {
        height: 120px;
        border-radius: 12px;
    }

    .scroll-track, .scroll-banner img {
        height: 120px;
    }

    .link-container {
        padding: 1.5rem 1rem;
        border-radius: 15px;
		background: rgba(33, 104, 108, 1.0);
    }

    .link-button {
        padding: 14px;
        font-size: 1.05rem;
    }
}

.profile-card.teal-card {
    background: rgba(33, 104, 108, 1.0);
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.9);
}

.teal-card-center {
    margin-top: 60px;
    text-align: center;
}

.teal-card-form {
    margin-top: 40px;
    width: 95%;
    max-width: 600px;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.form-input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.3);
    color: white;
    box-sizing: border-box;
    font-size: 1rem;
    outline: none;
}

.form-select {
    background: rgba(0,0,0,0.6);
    appearance: auto;
}

.form-textarea {
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1.05rem;
    font-weight: bold;
}

.gate-input {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.3);
    color: white;
    box-sizing: border-box;
    font-size: 1.05rem;
    text-align: center;
    outline: none;
}

.gate-error {
    color: #ff6b6b;
    margin-top: 20px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.success-title {
    color: #4ade80;
    margin-bottom: 15px;
    font-size: 2.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.success-msg {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.9);
}

.success-timer-text {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.success-btn {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
}

.home-wrapper {
    background: rgba(176,61,20,0.85);
    padding: 21px;
    border-radius: 35px;
    margin: 3rem 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.85);
    width: 95%;
    max-width: 580px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.home-profile-card {
    margin: 0;
    width: 100%;
    border: none;
}

.socials-title {
    margin: 0;
    font-size: 1.45rem;
    letter-spacing: 1px;
    opacity: 1.0;
}

.socials-divider {
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin: 8px auto;
    width: 85%;
}