/* ============================
   PROFIT Gym - Modern Vibrant Design
   Inspired by Contemporary UI Trends
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800;900&display=swap');

:root {
    --color-black: #1a1a1a;
    --color-white: #FFFFFF;
    --color-red: #DC143C;
    --color-red-dark: #B01030;
    --font-main: 'Inter', 'Heebo', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #B0B0B0 0%, #A8A8A8 50%, #B0B0B0 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--color-white);
    direction: rtl;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Dynamic gradient shapes */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(135deg, #A0A0A0 0%, #B8B8B8 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.5;
    animation: morphShape1 15s ease-in-out infinite;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 180%;
    background: linear-gradient(135deg, #909090 0%, #A0A0A0 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.4;
    animation: morphShape2 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes morphShape1 {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translate(-50%, -50%) rotate(-15deg) scale(1);
    }

    50% {
        border-radius: 60% 40% 50% 50% / 30% 60% 40% 70%;
        transform: translate(-50%, -50%) rotate(-10deg) scale(1.05);
    }
}

@keyframes morphShape2 {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(-50%, -50%) rotate(15deg) scale(1);
    }

    50% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translate(-50%, -50%) rotate(20deg) scale(1.05);
    }
}

/* Container */
.container {
    max-width: 420px;
    width: 100%;
    animation: fadeIn 0.8s ease;
    position: relative;
    z-index: 10;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative Dumbbell - Creative Background Usage */
.dumbbell-decoration {
    position: fixed;
    width: 250px;
    height: auto;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.dumbbell-left {
    top: 15%;
    left: -60px;
    transform: rotate(-25deg);
    animation: floatSlow 10s ease-in-out infinite;
}

.dumbbell-right {
    bottom: 20%;
    right: -60px;
    transform: rotate(25deg);
    animation: floatSlow 12s ease-in-out infinite reverse;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0px) rotate(-25deg);
    }

    50% {
        transform: translateY(-20px) rotate(-20deg);
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-container {
    margin-bottom: 24px;
    animation: slideDown 0.6s ease 0.2s backwards;
}

.main-logo {
    max-width: 100px;
    width: 100%;
    height: auto;
    /* filter removed for cleaner look */
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.branch-info {
    animation: slideDown 0.6s ease 0.3s backwards;
}

.branch-name {
    font-size: 26px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.branch-address {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-white);
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.branch-address:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.location-icon {
    width: 12px;
    height: 12px;
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

/* Modern Link Buttons */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-black);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.5s ease backwards;
}

.link-button:nth-of-type(1) {
    animation-delay: 0.4s;
}

.link-button:nth-of-type(2) {
    animation-delay: 0.5s;
}

.link-button:nth-of-type(3) {
    animation-delay: 0.6s;
}

.link-button:nth-of-type(4) {
    animation-delay: 0.7s;
}

.link-button:nth-of-type(5) {
    animation-delay: 0.8s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #DC143C 0%, #FF1744 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.link-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(220, 20, 60, 0.3);
}

.link-button:hover::before {
    opacity: 1;
}

.link-button:hover span,
.link-button:hover .icon {
    color: var(--color-white);
}

.link-button:active {
    transform: translateY(-2px);
}

.link-button span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    flex: 1;
    text-align: center;
}

.link-button .icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: absolute;
    right: 24px;
    z-index: 1;
}

.link-button:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

/* Featured button (Instagram) - brutalist emphasis: hard shadow, thick border */
.link-button-featured {
    border: 3px solid var(--color-black);
    box-shadow: 5px 5px 0 var(--color-red);
}

.link-button-featured:hover {
    box-shadow: 7px 7px 0 var(--color-red);
    transform: translateY(-4px);
}

/* Divider between link groups */
.links-divider {
    height: 1px;
    margin: 4px 12px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-white);
    opacity: 0.8;
    animation: fadeIn 0.6s ease 0.8s backwards;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Tablet & Desktop */
@media (min-width: 768px) {
    body {
        padding: 40px;
    }

    .container {
        max-width: 460px;
    }

    .dumbbell-decoration {
        width: 300px;
    }

    .dumbbell-left {
        left: -80px;
    }

    .dumbbell-right {
        right: -80px;
    }

    .main-logo {
        max-width: 120px;
    }

    .branch-name {
        font-size: 28px;
    }

    .link-button {
        font-size: 17px;
        padding: 20px 28px;
    }

    .link-button .icon {
        width: 24px;
        height: 24px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 500px;
    }

    .main-logo {
        max-width: 130px;
    }

    .branch-name {
        font-size: 30px;
    }

    .dumbbell-decoration {
        width: 340px;
    }
}