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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #333;
}

.container {
    width: 100%;
    max-width: 500px;
}

/* Profile Section */
.profile {
    text-align: center;
    margin-bottom: 40px;
    animation: slideDown 0.6s ease;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

.profile h1 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.bio {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
}

/* Stats Widget */
.stats-widget {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    animation: slideUp 0.6s ease 0.3s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.stat-item i {
    font-size: 2em;
    color: rgba(255, 255, 255, 0.8);
}

.stat-label {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-value {
    font-size: 1.8em;
    font-weight: 700;
    color: #f093fb;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Links Section */
.links {
    animation: slideUp 0.6s ease;
}

.projects {
    margin-top: 10px;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    color: white;
    backdrop-filter: blur(6px);
}

.projects h2 {
    font-size: 1.6em;
    margin-bottom: 6px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.projects-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.slides {
    position: relative;
}

.slide {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 18px;
}

.slide.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.slide img {
    width: 55%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.caption h3 {
    margin-bottom: 6px;
}

.caption p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.55);
    transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 4px;
}

.dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dots button.active {
    background: white;
    transform: scale(1.1);
}

.ads-section {
    margin: 20px 0 30px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.ads-section h2 {
    color: #fff;
    font-size: 1.15em;
    margin-bottom: 10px;
}

.ads-wrap {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-height: 96px;
    padding: 8px;
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
    grid-auto-rows: auto;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.95em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.tiktok {
    background: linear-gradient(135deg, #000000 0%, #25f4ee 100%);
}

.discord {
    background: linear-gradient(135deg, #5865F2 0%, #7289da 100%);
}

.youtube {
    background: linear-gradient(135deg, #FF0000 0%, #FFff00 100%);
}

.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
}

.fiverr {
    background: linear-gradient(135deg, #1DBF73 0%, #129E57 100%);
}

.portfolio {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-full {
    grid-column: 1 / -1;
}
/* Games Section */
.games-section {
    margin: 30px 0;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    animation: slideUp 0.6s ease 0.15s both;
}
.games-section h2 {
    color: white;
    font-size: 1.4em;
    margin-bottom: 18px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
.games-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.game-full {
    grid-column: 1 / -1;
}
.game-site {
    background: linear-gradient(135deg, #ff8a00 0%, #ff4d4d 100%);
}
.game-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
}
.game-bot {
    background: linear-gradient(135deg, #20c997 0%, #0ca678 100%);
}
/* Contacts Section */
.contacts-section {
    margin: 30px 0;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    animation: slideUp 0.6s ease 0.2s both;
}

.contacts-section h2 {
    color: white;
    font-size: 1.4em;
    margin-bottom: 18px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.9em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
}

.contact-btn.email {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

/* Contact Form Section */
.contact-form-section {
    margin: 30px 0;
    padding: 25px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    animation: slideUp 0.6s ease 0.4s both;
}

.contact-form-section h2 {
    color: white;
    font-size: 1.4em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 0.95em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.contact-form select {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form select option {
    background: #2c3e50;
    color: white;
}

.submit-btn {
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.3);
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9em;
    min-height: 20px;
    transition: all 0.3s ease;
}

.form-message.success {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.form-message.error {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Cards Section */
.cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid transparent;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card[data-color="blue"] {
    border-left-color: #3498db;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
}

.card[data-color="purple"] {
    border-left-color: #9b59b6;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, rgba(155, 89, 182, 0.05) 100%);
}

.card[data-color="cyan"] {
    border-left-color: #1abc9c;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.1) 0%, rgba(26, 188, 156, 0.05) 100%);
}

.card[data-color="orange"] {
    border-left-color: #e67e22;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1) 0%, rgba(230, 126, 34, 0.05) 100%);
}

.card[data-color="pink"] {
    border-left-color: #e91e63;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(233, 30, 99, 0.05) 100%);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 1.3em;
    margin-bottom: 8px;
    color: #2c3e50;
}

.card p {
    color: #7f8c8d;
    font-size: 0.95em;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .profile h1 {
        font-size: 2em;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }

    .stats-widget {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .games-links {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }

    .card-icon {
        font-size: 2.5em;
    }

    .card h3 {
        font-size: 1.1em;
    }

    .slide {
        flex-direction: column;
        text-align: center;
    }

    .slide img {
        width: 100%;
        max-width: none;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
    }
}
