:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --link-bg: #f8f9fa;
    --link-hover: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-start: #0099ff;  /* Deep elegant blue */
    --gradient-end: #1a92ce;    /* Sophisticated slate */
    --accent-color: #d4af37;    /* Gold accent */
    --overlay-color: rgba(22, 34, 42, 0.4); /* Elegant overlay */
    --pattern-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --link-bg: #2d2d2d;
    --link-hover: #3d3d3d;
    --shadow-color: rgba(255, 255, 255, 0.1);
    --gradient-start: #500007;  /* Darker elegant */
    --gradient-end: #500007;    /* Deep sophisticated */
    --accent-color: #ebb912;
    --overlay-color: rgba(15, 32, 39, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: url('./Images/Background.png') center center/cover no-repeat fixed;
    min-height: 100vh;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    position: relative;
    overflow-x: hidden;
    background-image: opacity: 50%;
}


/* Couture pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, var(--pattern-color) 49%, var(--pattern-color) 51%, transparent 52%) 0 0 / 50px 50px,
        linear-gradient(-45deg, transparent 48%, var(--pattern-color) 49%, var(--pattern-color) 51%, transparent 52%) 0 0 / 50px 50px;
    z-index: -1;
    opacity: 0.6;
}

/* Remove fabric flow effect entirely */
body::after {
    display: none;
}

.theme-switch {
    display: none;
}

.container {
    max-width: min(600px, 90%);
    width: 100%;
    padding: 40px 20px;
    margin: 60px auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.profile {
    text-align: center;
    margin: 20px 0 40px 0;
    width: 100%;
}

.profile-img-container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    animation: float 6s ease-in-out infinite;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.profile-img::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b649, #ff6b6b);
    background-size: 200% auto;
    animation: shine 3s linear infinite;
    z-index: -1;
    opacity: 0.7;
}

.profile-img:hover {
    transform: scale(1.05);
}

.status-dot {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    animation: pulse 2s infinite;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    animation: ripple 1.5s linear infinite;
}

.tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.tag {
    background: var(--link-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    background: var(--link-hover);
}

.profile h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.bio {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 16px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.links-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.links-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.link-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, 
        #635c5c 20%,
        #110f0f 80%
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;

    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    position: relative;
    overflow: hidden;
    height: 120px;
}

.link-item.wide {
    grid-column: span 2;
    height: 140px;
}

.link-item:hover {
    background: linear-gradient(135deg, 
        #910b16 0%,
        #5f2725 100%
    );
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.link-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.link-content span {
    font-size: 18px;
    font-weight: 600;
}

.link-description {
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.link-item:hover::before {
    opacity: 1;
}

.link-content i {
    font-size: 28px;
    margin-bottom: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.link-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s ease;
}

.link-item:hover .link-arrow {
    opacity: 1;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    .container {
        padding: 20px 15px;
        margin: 40px auto;
    }
    
    .profile {
        margin: 10px 0 30px 0;
    }

    .links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }
    
    .link-item.wide {
        grid-column: span 1;
        height: auto;
        min-height: 100px;
        width: 100%;
    }
    
    .link-item {
        height: auto;
        min-height: 90px;
        padding: 15px;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }

    .link-content i {
        font-size: 24px;
    }

    .link-content span {
        font-size: 16px;
    }

    .link-description {
        font-size: 13px;
        line-height: 1.4;
    }

    .bio {
        font-size: 14px;
        padding: 0 15px;
    }

    .tags {
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .tag {
        font-size: 12px;
        padding: 4px 12px;
    }

    .theme-switch {
        top: 15px;
        right: 15px;
        padding: 8px;
        font-size: 14px;
    }

    .links-container {
        width: 100%;
    }
    
    .link-item {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px 10px;
    }

    .container {
        padding: 15px 10px;
        margin: 30px auto;
        width: 95%;
    }
    
    .profile {
        margin: 5px 0 20px 0;
    }

    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    .profile h1 {
        font-size: 18px;
    }
    
    .bio {
        font-size: 13px;
        padding: 0 10px;
    }
    
    .link-item {
        padding: 12px;
        min-height: 80px;
        width: 100%;
    }

    .link-content i {
        font-size: 20px;
    }

    .link-content span {
        font-size: 14px;
    }

    .link-description {
        font-size: 12px;
    }

    .link-arrow {
        font-size: 18px;
        right: 15px;
    }

    .status-dot {
        width: 15px;
        height: 15px;
        bottom: 5px;
        right: 5px;
    }

    .links-container {
        padding: 0 5px;
    }
}

@media (hover: none) {
    .link-item:hover {
        transform: none;
    }

    .link-item:active {
        transform: scale(0.98);
    }

    .profile-img:hover {
        transform: none;
    }

    .tag:hover {
        transform: none;
    }

    .profile-img-container {
        animation: none;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.link-item:hover i {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes gradientBG {
    0%, 100% {
        background-position: center center;
    }
}

/* Add these new styles for touch effects */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    pointer-events: none;
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
} 

/* Remove particle animation */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

/* Remove unused animation keyframes */
@keyframes patternMove {
    0%, 100% {
        background-position: 0 0, 0 0;
    }
}

@keyframes fabricFlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

@keyframes particleFlow {
    0%, 100% {
        filter: blur(1px) brightness(1);
    }
}