* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:root {
    --bg-gradient-start: #1a1a2e;
    --bg-gradient-middle: #16213e;
    --bg-gradient-end: #0f3460;
    --bg-gradient-alt-1: #1c2a4a;
    --bg-gradient-alt-2: #1e3a5f;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.4);
}

body.light-theme {
    --bg-gradient-start: #f0f4f8;
    --bg-gradient-middle: #e2e8f0;
    --bg-gradient-end: #cbd5e0;
    --bg-gradient-alt-1: #e8eff5;
    --bg-gradient-alt-2: #d5dfe9;
    --text-primary: #1a202c;
    --text-secondary: #2d3748;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Rubik', sans-serif;
    background: linear-gradient(135deg,
                                var(--bg-gradient-start) 0%,
                                var(--bg-gradient-alt-1) 25%,
                                var(--bg-gradient-middle) 50%,
                                var(--bg-gradient-alt-2) 75%,
                                var(--bg-gradient-end) 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    transition: background 0.3s ease;
}

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

.container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.logo {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: box-shadow 0.3s ease;
}

.title {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 4px;
    transition: color 0.3s ease;
}

.spacer {
    height: 4px;
}

.socials-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.social-button {
    width: 100%;
    max-width: 400px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px var(--shadow-color);
    cursor: pointer;
}

.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.social-button:active {
    transform: translateY(0);
}

.social-button i {
    font-size: 20px;
    color: white;
}

.social-button span {
    color: white;
    font-weight: 400;
    font-size: 16px;
}

/* Theme Switch */
.theme-switch-wrapper {
    position: absolute;
    top: 20px;
    right: calc((100% - 400px) / 2);
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4a5568;
    transition: 0.3s;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    z-index: 2;
}

.theme-icon-dark,
.theme-icon-light {
    font-size: 12px;
    transition: 0.3s;
    z-index: 1;
}

.theme-icon-dark {
    color: #ffd700;
    opacity: 1;
}

.theme-icon-light {
    color: #fff;
    opacity: 1;
}

input:checked + .slider {
    background-color: #4a5568;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

input:checked + .slider .theme-icon-dark {
    opacity: 1;
}

input:checked + .slider .theme-icon-light {
    opacity: 0.3;
}

body.light-theme .slider {
    background-color: #90cdf4;
}

body.light-theme .slider:before {
    background-color: white;
}

body.light-theme .theme-icon-light {
    color: #fbbf24;
}

/* Responsive design */
@media (min-width: 768px) {
    .social-button {
        width: 60%;
        max-width: 500px;
    }

    .theme-switch-wrapper {
        right: calc((100% - 60%) / 2);
    }
}

@media (max-width: 480px) {
    .logo {
        width: 120px;
        height: 120px;
    }

    .title {
        font-size: 24px;
    }

    .social-button {
        width: 90%;
    }

    .theme-switch-wrapper {
        right: calc((100% - 90%) / 2);
    }
}
