:root {
    --primary-color: #2C1B47;  /* Dark Purple */
    --secondary-color: #1B2B47; /* Dark Blue */
    --accent-color: #8A7B9F;
    --website-color: #6A5B8F;
    --text-color: #FFFFFF;
    --background-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --wine-color: #6C2D4D;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--background-gradient);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
}

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

.profile {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 300;
    margin-bottom: 2rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.link-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.link-card::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--wine-color);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    filter: url('#liquid');
    -webkit-filter: url('#liquid');
}

.link-card:hover::before {
    opacity: 0.8;
    transform: translateY(0);
}

.link-card i, 
.link-card span {
    position: relative;
    z-index: 1;
}

.link-card.website {
    background: var(--website-color);
    font-weight: 600;
}

.link-card.website::before {
    background: linear-gradient(135deg, var(--primary-color), var(--website-color));
}

.link-card.shop {
    background: var(--accent-color);
    font-weight: 600;
}

.link-card.shop::before {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.link-card.combined {
    background: linear-gradient(135deg, var(--primary-color), var(--wine-color));
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.2rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.link-card.combined::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: rotate(30deg);
    transition: transform 0.7s ease-in-out;
}

.link-card.combined:hover::after {
    transform: rotate(30deg) translate(30%, 30%);
}

.link-card.combined::before {
    background: linear-gradient(135deg, var(--wine-color), var(--primary-color));
}

.link-card.combined:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.social-section {
    margin-top: 1rem;
}

.social-section h2 {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

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

.social-link {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--wine-color);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    filter: url('#liquid');
    -webkit-filter: url('#liquid');
}

.social-link:hover::before {
    opacity: 0.5;
    transform: translateY(0);
}

.social-link i,
.social-link span {
    position: relative;
    z-index: 1;
}

.social-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-container {
        width: 100px;
        height: 100px;
    }

    .link-card.combined {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }

    .wine-animation {
        transform: scale(0.7);
        margin: 1rem auto;
    }
}

/* Wine Animation */
.wine-animation {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 3rem auto;
    opacity: 0.9;
    pointer-events: none;
    transform: scale(0.9);
}

#plate {
    position: relative;
    margin: 0 auto;
    height: 250px;
    width: 250px;
    border-bottom: solid 5px rgba(180, 180, 180, 0.3);
    border-radius: 0 0 10px 10px / 5px;
}

#plate:after {
    position: absolute;
    bottom: -10px;
    content: " ";
    margin: 0 25px;
    width: 200px;
    height: 5px;
    background-color: rgba(221, 221, 221, 0.3);
    border-radius: 0 0 5px 5px;
}

#bottle {
    position: absolute;
    width: 50px;
    bottom: 0;
    left: 100px;
    z-index: 10;
}

#bottle .cork {
    position: relative;
    margin: 0 auto;
    background-color: #8E1B1C;
    width: 20px;
    height: 40px;
    border-radius: 2px 2px 0 0;
    border-bottom: solid 3px #FBC85F;
}

#bottle .cork:before {
    position: absolute;
    top: 5px;
    left: -2px;
    display: block;
    content: " ";
    background-color: #8E1B10;
    border-top: solid 1px #9A2A1F;
    border-bottom: solid 1px #9A2A1F;
    width: 24px;
    height: 10px;
    border-radius: 2px;
}

#bottle .neck {
    margin: 0 auto;
    background-color: rgba(41, 105, 70, 0.9);
    width: 20px;
    height: 10px;
}

#bottle .body {
    position: relative;
    margin: 0 auto;
    padding-top: 30px;
    background-color: rgba(41, 105, 70, 0.9);
    width: 50px;
    height: 110px;
    border-radius: 20px 20px 5px 5px;  
}

#bottle .label {
    position: relative;
    background-color: #F2EAB9;
    height: 30px;
    border: solid 2px #CFC89B;
    z-index: 25;
    animation: spinning-label 3s linear infinite;
}

#bottle .label-shadow {
    position: absolute;
    height: 34px;
    background-color: rgba(0, 0, 0, 0.3);
    top: 30px;
    z-index: 20;
    animation: spinning-shadow 3s linear infinite;
}

#glass {
    position: absolute;
    width: 40px;
    bottom: 0;
    left: 100px;
    animation: spinning-glass 3s ease-in-out infinite;
}

#glass .bowl {
    background-color: rgba(190, 190, 190, 0.5);
    padding-top: 10px;
    width: 40px;
    height: 30px;
    border-radius: 5px 5px 20px 20px / 20px;
}  

#glass .bowl .wine {
    background-color: var(--wine-color, #8E1B1C);
    margin: 0 auto;
    width: 30px;
    height: 25px;
    border-radius: 4px 4px 20px 20px / 20px;
}  

#glass .stem {
    margin: 0 auto;
    background-color: rgba(190, 190, 190, 0.5);
    width: 5px;
    height: 30px;        
}

#glass .foot {
    background-color: rgba(190, 190, 190, 0.5);
    width: 40px;
    height: 5px;
    border-radius: 20px 20px 0 0 / 5px;
}

#cork {
    position: absolute;
    height: 25px;
    width: 15px;
    bottom: 0;
    background-color: #F2EAB9;
    border-top: solid 2px #8E1B1C;
    animation: spinning-cork 3s ease-in-out infinite;
}

@keyframes spinning-label {
    0% {
        margin-left: 0%;
        border-left-width: 0px;
        margin-right: 100%;
        border-right-width: 2px;
    }
    49% {
        border-left-width: 0px;
        border-right-width: 2px;
    }
    50% {            
        margin-left: 0%;
        border-left-width: 2px;
        margin-right: 0%;
        border-right-width: 0px;
    }
    98% {
        border-left-width: 2px;            
    }
    99% { 
        margin-left: 100%;
        border-left-width: 0px;
        margin-right: 0%;
        border-right-width: 0px;
    }
    100% {
        margin-left: 0%;
        border-left-width: 0px;
        margin-right: 100%;
        border-right-width: 0px;
    }
}

@keyframes spinning-shadow {
    0% {
        left: 0;
        width: 50px;
        margin-left: 0px;
    }
    50% {     
        left: 0;     
        width: 0px;
        margin-left: 0px;
    }
    51% {
        margin-left: 50px;
    }
    100% {
        width: 50px;
        margin-left: 0;
    }
}

@keyframes spinning-glass {
    0% { 
        left: 25px;
        z-index: 20;
    }
    50% {
        left: 185px;
        z-index: 20;
    } 
    51% {
        z-index: 0;                
    }
    100% {            
        left: 25px;
        z-index: 0;
    }
}

@keyframes spinning-cork {
    0% { 
        left: 150px;
        z-index: 0;
    }
    50% {
        left: 85px;
        z-index: 0;
    } 
    51% {
        z-index: 20;                
    }
    100% {            
        left: 150px;
        z-index: 20;
    }
}

.wine-color {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--wine-color), rgba(144, 58, 102, 0.8));
}

.wine-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.1) 1px, transparent 1px);
    animation: particles-float 4s linear infinite;
}

.shine {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(-45deg);
    animation: shine-effect 4s linear infinite;
}

@keyframes particles-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

@keyframes shine-effect {
    0% { transform: rotate(-45deg) translateX(-100%); }
    50% { transform: rotate(-45deg) translateX(100%); }
    100% { transform: rotate(-45deg) translateX(100%); }
}

/* Remove any @supports rules related to the filter */
body::before,
body::after {
    display: none;
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.03) 2px, transparent 2px),
        radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px, 15px 15px;
    background-position: 0 0, 15px 15px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
} 