/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9B59B6;
    --primary-dark: #7D3C98;
    --primary-light: #BB8FCE;
    --secondary-color: #6C3483;
    --accent-color: #AF7AC5;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --bg-dark: #0A0A0F;
    --bg-darker: #050508;
    --bg-card: #151520;
    --gradient-1: linear-gradient(135deg, #9B59B6 0%, #6C3483 100%);
    --gradient-2: linear-gradient(135deg, #AF7AC5 0%, #9B59B6 100%);
    --shadow-glow: 0 0 30px rgba(155, 89, 182, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(155, 89, 182, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-glow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero * {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(2px);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-profile {
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-glow);
    transition: transform 0.3s ease;
    display: block;
}

.profile-img:hover {
    transform: scale(1.05);
}

.hero-title {
    margin-bottom: 1.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-subtitle {
    margin-bottom: 2rem;
    max-width: 500px;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-socials {
    margin: 2rem 0;
    max-width: 350px;
    width: 100%;
}

.socials-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.3s ease;
    display: block;
}

.socials-img:hover {
    transform: scale(1.02);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn {
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(155, 89, 182, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    background: var(--gradient-1);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 100px;
    right: 0;
    animation-delay: 2s;
}

.card-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-darker);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.portfolio-item:hover .portfolio-icon {
    transform: scale(0.8) rotate(-5deg);
    opacity: 0.3;
}

.portfolio-image {
    aspect-ratio: 16/9;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image-roblox {
    background: transparent;
}

.portfolio-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.portfolio-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-icon {
    transform: scale(1.1) rotate(5deg);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5));
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    z-index: 2;
    min-height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.9));
    min-height: 60%;
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.portfolio-overlay p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.portfolio-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.portfolio-tags span {
    padding: 4px 10px;
    background: rgba(155, 89, 182, 0.3);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(155, 89, 182, 0.3);
    white-space: nowrap;
}

.portfolio-tags span i {
    font-size: 0.8rem;
}

/* Shop Section */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.shop-item {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(155, 89, 182, 0.1);
}

.shop-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.shop-image {
    aspect-ratio: 1;
    background: var(--gradient-1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.shop-item:hover .shop-icon {
    transform: scale(1.1) rotate(5deg);
}

.shop-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    background: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.shop-content {
    padding: 1.5rem;
}

.shop-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-content h3 i {
    font-size: 1.1rem;
    color: var(--primary-light);
}

.shop-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.shop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: var(--bg-darker);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-intro {
    font-size: 1.5rem !important;
    color: var(--text-primary) !important;
    margin-bottom: 1rem !important;
}

.about-intro strong {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-skills,
.about-experience,
.about-company,
.about-achievements,
.about-expertise,
.about-availability {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid rgba(155, 89, 182, 0.1);
}

.about-skills h3,
.about-experience h3,
.about-company h3,
.about-achievements h3,
.about-expertise h3 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tech-tag {
    padding: 8px 16px;
    background: rgba(155, 89, 182, 0.2);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(155, 89, 182, 0.3);
    transform: translateY(-2px);
}

.tech-tag i {
    font-size: 1rem;
}

.experience-list,
.company-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.experience-list li,
.company-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(155, 89, 182, 0.1);
}

.experience-list li:last-child,
.company-features li:last-child {
    border-bottom: none;
}

.experience-list li i,
.company-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.about-availability {
    background: var(--gradient-1);
    border: none;
}

.about-availability p {
    color: var(--text-primary) !important;
    margin: 0 !important;
    font-size: 1.1rem !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-availability i {
    font-size: 1.2rem;
}

.skills {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 8px;
    background: rgba(155, 89, 182, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    transition: width 1s ease;
    animation: progress 1.5s ease;
}

@keyframes progress {
    from {
        width: 0;
    }
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-card);
    border: 2px solid rgba(155, 89, 182, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

.contact-item p {
    color: var(--text-secondary);
}

/* Notification Animation */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.coming-soon-btn {
    position: relative;
    overflow: hidden;
}

.coming-soon-btn::after {
    content: '🔔';
    position: absolute;
    right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coming-soon-btn:hover::after {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(155, 89, 182, 0.3);
    border: 1px solid var(--primary-color);
    animation: slideUp 0.3s ease;
    position: relative;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(155, 89, 182, 0.2);
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(155, 89, 182, 0.05));
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-light);
    font-size: 1.5rem;
}

.modal-close {
    color: var(--text-secondary);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(155, 89, 182, 0.1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation; /* Prevent double-tap zoom */
    user-select: none;
}

.modal-close:hover,
.modal-close:active {
    color: var(--primary-light);
    background: rgba(155, 89, 182, 0.2);
    transform: rotate(90deg);
}

.modal-close i {
    font-size: 1.2rem;
    pointer-events: none; /* Prevent icon from blocking clicks */
}

.modal-body {
    padding: 2rem;
}

.modal-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.modal-description strong {
    color: var(--primary-light);
}

.modal-status {
    text-align: center;
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-block;
    background: linear-gradient(135deg, #9B59B6 0%, #6C3483 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group label i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.form-group .required {
    color: #e74c3c;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-darker);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px; /* Prevent zoom on iOS */
    transition: all 0.3s ease;
    box-sizing: border-box;
    -webkit-appearance: none; /* Remove iOS styling */
    appearance: none;
    touch-action: manipulation;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.1);
}

/* Prevent zoom on input focus for mobile */
@media screen and (max-width: 768px) {
    .form-group input {
        font-size: 16px !important; /* Critical: prevents iOS zoom */
    }
}

.form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
    min-height: 48px; /* Touch-friendly button size */
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 2rem 0;
    border-top: 1px solid rgba(155, 89, 182, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(155, 89, 182, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }
    
    /* Modal mobile optimizations */
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 95%;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-close {
        width: 44px; /* Minimum touch target size */
        height: 44px;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input {
        padding: 1rem;
        font-size: 16px !important; /* Critical: prevents iOS zoom */
    }
    
    .btn-block {
        min-height: 48px;
        padding: 1rem;
        font-size: 1rem;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .hero-visual {
        height: auto;
        order: -1;
        margin-bottom: 1rem;
    }

    .hero-socials {
        max-width: 100%;
        margin: 1rem 0;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
    }

    .hero-buttons .btn {
        flex: 1;
        min-width: 140px;
        text-align: center;
    }

    .hero-banner {
        opacity: 0.05;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 15px 40px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .portfolio-grid,
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-skills,
    .about-experience,
    .about-company,
    .about-achievements,
    .about-expertise,
    .about-availability {
        padding: 1rem;
        margin: 1.5rem 0;
    }
}

