@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&family=Cinzel:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #d4af37;
    --accent-color: #ff6b35;
    --dark-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --card-bg: #151515;
    --text-color: #e0e0e0;
    --text-muted: #999;
    --border-color: #2a2a2a;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.5);
    --glow: 0 0 20px rgba(212, 175, 55, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Roboto', 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--dark-bg);
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    transition: var(--transition);
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
}

.logo img:hover {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    box-shadow: var(--glow);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem;
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 15px;
    text-decoration: none;
    color: var(--dark-bg);
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid var(--white);
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.nav-phone .phone-text {
    display: none;
}

.nav-phone i {
    font-size: 1.3rem;
    color: var(--primary-color);
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

.nav-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.nav-phone:hover i {
    color: var(--dark-bg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(10,10,10,0.5)), url('images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(2px);
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
    max-width: 1000px;
    padding: 2rem;
}

.hero-title {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.8),
        0 0 40px rgba(212, 175, 55, 0.5),
        2px 2px 10px rgba(0,0,0,0.8);
    letter-spacing: 4px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 2rem 1rem;
    background: rgba(21, 21, 21, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    aspect-ratio: 1;
    min-height: 150px;
}

.social-icon {
    font-size: 2.5rem;
    transition: var(--transition);
    text-align: center;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-8px);
    box-shadow: 
        0 15px 35px rgba(212, 175, 55, 0.4),
        0 0 30px rgba(212, 175, 55, 0.3);
}

.social-link:hover .social-icon {
    transform: scale(1.2) rotate(10deg);
}

.social-link.telegram:hover {
    background: linear-gradient(135deg, #0088cc, #00a0e9);
    border-color: #0088cc;
    color: var(--white);
    box-shadow: 
        0 15px 35px rgba(0, 136, 204, 0.4),
        0 0 30px rgba(0, 136, 204, 0.3);
}

.social-link.vk:hover {
    background: linear-gradient(135deg, #0077ff, #0099ff);
    border-color: #0077ff;
    color: var(--white);
    box-shadow: 
        0 15px 35px rgba(0, 119, 255, 0.4),
        0 0 30px rgba(0, 119, 255, 0.3);
}

.social-link.whatsapp:hover {
    background: linear-gradient(135deg, #25D366, #2ecc71);
    border-color: #25D366;
    color: var(--white);
    box-shadow: 
        0 15px 35px rgba(37, 211, 102, 0.4),
        0 0 30px rgba(37, 211, 102, 0.3);
}

/* Tattoo Types Section */
.tattoo-types {
    padding: 6rem 0;
    background: var(--secondary-bg);
    position: relative;
}

.tattoo-types::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.tattoo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.tattoo-card {
    position: relative;
    height: 650px;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.tattoo-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    z-index: 0;
}

.tattoo-card:hover {
    transform: translateY(-15px);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.5),
        0 0 40px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
}

.tattoo-card:hover .tattoo-bg-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.tattoo-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(10,10,10,0.95));
    z-index: 1;
}

.tattoo-card-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
}

.tattoo-card-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.tattoo-card-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.05rem;
}

/* Portfolio Section */
.portfolio-preview {
    padding: 6rem 0;
    background: var(--dark-bg);
    overflow: hidden;
}

/* Master Profile Section */
.master-profile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 1rem 1.5rem;
    background: rgba(21, 21, 21, 0.5);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.master-profile:hover {
    border-color: var(--primary-color);
    background: rgba(21, 21, 21, 0.8);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.15);
}

.master-photo {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.4),
        0 0 15px rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
    transition: var(--transition);
}

.master-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    z-index: 1;
    transition: var(--transition);
}

.master-profile:hover .master-photo {
    transform: scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.5),
        0 0 20px rgba(212, 175, 55, 0.4);
}

.master-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.master-profile:hover .master-photo img {
    transform: scale(1.05);
}

.master-info {
    flex: 1;
    text-align: left;
}

.master-info .section-title {
    text-align: left;
    margin-bottom: 0.2rem;
    font-size: 1.8rem;
    line-height: 1.2;
}

.master-info .section-subtitle {
    text-align: left;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    letter-spacing: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Carousel Wrapper */
.portfolio-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto 3rem;
}

/* Carousel Container */
.portfolio-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--secondary-bg);
    padding: 2rem 0;
    margin: 0 80px;
}

/* Custom Scrollbar for Webkit (Chrome, Safari, Edge) */
.portfolio-carousel::-webkit-scrollbar {
    height: 8px;
}

.portfolio-carousel::-webkit-scrollbar-track {
    background: var(--secondary-bg);
    border-radius: 10px;
    margin: 0 20px;
}

.portfolio-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: var(--transition);
}

.portfolio-carousel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

/* Carousel Track */
.portfolio-carousel-track {
    display: flex;
    gap: 2rem;
    padding: 0 20px;
    width: max-content;
}

/* Portfolio Items in Carousel */
.portfolio-carousel .portfolio-item {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    background: var(--card-bg);
}

.portfolio-carousel .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    user-select: none;
    -webkit-user-drag: none;
}

.portfolio-carousel .portfolio-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.6),
        0 0 40px rgba(212, 175, 55, 0.4);
}

.portfolio-carousel .portfolio-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(255, 107, 53, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-carousel .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: var(--dark-bg);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(21, 21, 21, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.carousel-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 10px 30px rgba(212, 175, 55, 0.5),
        0 0 30px rgba(212, 175, 55, 0.4);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav-prev {
    left: 10px;
}

.carousel-nav-next {
    right: 10px;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Buttons */
.btn {
    padding: 1.2rem 3rem;
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #f4d03f);
    color: var(--dark-bg);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(212, 175, 55, 0.5),
        0 0 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(212, 175, 55, 0.4),
        0 0 30px rgba(212, 175, 55, 0.3);
}

.text-center {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-color);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.footer-section p {
    color: var(--text-muted);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary-color);
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-section a:hover::before {
    opacity: 1;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
    border: 2px solid var(--border-color);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.8),
        0 0 40px rgba(212, 175, 55, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
    background: rgba(212, 175, 55, 0.1);
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.modal-content > p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.contact-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Roboto', 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--secondary-bg);
    color: var(--text-color);
}

.form-group input[type="tel"] {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    background: var(--dark-bg);
}

.form-group input[type="tel"]:focus {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

.modal-divider {
    text-align: center;
    margin: 2rem 0;
    color: var(--text-muted);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.modal-divider::before {
    left: 0;
}

.modal-divider::after {
    right: 0;
}

.modal-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.modal-social-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    font-size: 0.85rem;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-social-link i {
    font-size: 1.2rem;
    min-width: 20px;
    text-align: center;
}

.modal-social-link:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.modal-social-link.telegram:hover {
    background: linear-gradient(135deg, #0088cc, #00a0e9);
    border-color: #0088cc;
    color: var(--white);
}

.modal-social-link.vk:hover {
    background: linear-gradient(135deg, #0077ff, #0099ff);
    border-color: #0077ff;
    color: var(--white);
}

.modal-social-link.whatsapp:hover {
    background: linear-gradient(135deg, #25D366, #2ecc71);
    border-color: #25D366;
    color: var(--white);
}

.modal-social-link.max:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    padding: 1.2rem 1.5rem;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateX(120%);
    transition: transform 0.3s ease-out;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-message {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification-success {
    border-color: #25D366;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(46, 204, 113, 0.1));
}

.notification-error {
    border-color: #ff4444;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.1), rgba(255, 100, 100, 0.1));
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

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

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

/* Responsive */
/* Tablet styles */
@media (max-width: 1024px) {
    .master-profile {
        max-width: 450px;
        gap: 1.2rem;
        padding: 0.9rem 1.3rem;
    }
    
    .master-photo {
        width: 75px;
        height: 75px;
    }
    
    .master-info .section-title {
        font-size: 1.6rem;
    }
    
    .master-info .section-subtitle {
        font-size: 0.85rem;
    }
}

/* Portfolio Modal Mobile Optimization */
#portfolioModal .modal-content {
    max-width: 95vw !important;
    max-height: 95vh !important;
}

#portfolioModal img {
    max-height: 85vh !important;
    width: 100% !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-phone {
        order: -1;
        margin-right: auto;
    }
    
    /* Social Links Mobile - Grid 2x2 */
    .hero .social-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .hero .social-link {
        min-height: 100px;
        padding: 1rem 0.5rem;
        font-size: 0.7rem;
        gap: 0.5rem;
    }
    
    .hero .social-icon {
        font-size: 1.8rem;
    }
    
    /* Portfolio Modal Mobile */
    #portfolioModal .modal-close {
        width: 50px !important;
        height: 50px !important;
        font-size: 2.5rem !important;
        background: rgba(21, 21, 21, 0.9) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid var(--primary-color) !important;
    }
    
    #portfolioModal .modal-content > div {
        border-radius: 15px !important;
    }
    
    #portfolioModal img {
        max-height: 80vh !important;
        border-radius: 15px !important;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        text-align: center;
        align-items: center;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        text-align: center;
    }

    .nav-container {
        padding: 0 5px;
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .navbar .container {
        padding: 0 10px;
    }
    
    .nav-phone {
        width: 40px;
        height: 40px;
        padding: 0.6rem;
    }
    
    .nav-phone i {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-wrap: balance;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.4;
    }
    
    .hero-content {
        padding: 1rem 0.5rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .tattoo-grid {
        grid-template-columns: 1fr;
    }
    
    .tattoo-card {
        height: auto;
        min-height: 500px;
    }
    
    .tattoo-card-content {
        padding: 2rem 1.5rem;
    }
    
    .tattoo-card-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .tattoo-card-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
    
    /* Master Profile Mobile */
    .master-profile {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
        padding: 1.2rem;
        max-width: 100%;
    }
    
    .master-photo {
        width: 100px;
        height: 100px;
        border-width: 2px;
        margin: 0 auto;
    }
    
    .master-info {
        text-align: center;
    }
    
    .master-info .section-title {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .master-info .section-subtitle {
        text-align: center;
        font-size: 0.95rem;
    }
    
    /* Mobile Carousel Styles */
    .portfolio-carousel {
        margin: 0;
        padding: 1.5rem 0 1.5rem 20px;
    }
    
    .portfolio-carousel-track {
        gap: 1.5rem;
        padding: 0;
    }
    
    .portfolio-carousel .portfolio-item {
        width: calc(100vw - 100px);
        max-width: 340px;
        height: 450px;
        border-radius: 15px;
    }
    
    /* Hide navigation arrows on mobile */
    .carousel-nav {
        display: none;
    }
    
    .portfolio-carousel::-webkit-scrollbar {
        height: 4px;
    }
    
    .portfolio-carousel::-webkit-scrollbar-track {
        margin: 0 20px;
    }
    
    .portfolio-overlay span {
        font-size: 1.2rem;
    }
}
