@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap");

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

body {
	min-height: 100vh;
	display: grid;
	place-items: center;
	font-family: 'Poppins', sans-serif;

	--bkg: #5eb3fd;
	--white: #e7e6e6;

	background-color: var(--white);
	background-image: url("https://www.transparenttextures.com/patterns/concrete-wall.png");
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

/* ============================================
   CONTAINER SECTION
   ============================================ */
.container {
	width: 100%;
	height: 100vh;
	height: 100dvh; /* Dynamic viewport height for mobile browsers */
	display: grid;
	place-items: center;
	overflow: hidden;
	position: relative;
}

/* ============================================
   GHOST ANIMATION SECTION
   ============================================ */
.ghost {
	width: 8vmin;
	height: 12vmin;
	background-color: var(--white);
	background-image: url("https://www.transparenttextures.com/patterns/concrete-wall.png");
	background-image: radial-gradient(ellipse at 35% 40%, #000 8%, transparent 0%),
		radial-gradient(ellipse at 65% 40%, #000 8%, transparent 0%),
		radial-gradient(ellipse at 50% 60%, #000 8%, transparent 0%);
	border-radius: 100% / 70% 70% 0% 0%;
	position: absolute;
	opacity: 0.9;
	mix-blend-mode: exclusion;
	animation: ghostMove 8s ease-out infinite;
	z-index: 20;
	top: 25%;
	left: 0;
	transform: translateY(-50%);
	pointer-events: none;
}

@keyframes ghostMove {
	0% {
		transform: translateX(-10vw) translateY(-50%);
	}
	100% {
		transform: translateX(110vw) translateY(-50%);
	}
}

/* Ghost position adjustments for responsive */
@media (max-width: 768px) {
	.ghost {
		top: 22%;
	}
}

@media (max-width: 600px) {
	.ghost {
		top: 20%;
	}
}

@media (max-width: 480px) {
	.ghost {
		top: 18%;
	}
}

@media (max-width: 360px) {
	.ghost {
		top: 16%;
	}
}

@media (max-height: 600px) and (orientation: landscape) {
	.ghost {
		top: 20%;
	}
}

.ghost div {
	position: absolute;
	width: 20%;
	background-color: var(--white);
	background-image: url("https://www.transparenttextures.com/patterns/concrete-wall.png");
}

.ghost div:nth-of-type(1) {
	height: 7vmin;
	left: 0;
	bottom: -6vmin;
	border-radius: 100% / 0% 0% 50% 50%;
}

.ghost div:nth-of-type(2),
.ghost div:nth-of-type(4) {
	height: 4vmin;
	left: 20%;
	bottom: -3vmin;
	border-radius: 100% / 50% 50% 0% 0%;
	background-color: transparent;
}

.ghost div:nth-of-type(3) {
	height: 4vmin;
	left: 40%;
	bottom: -3.95vmin;
	border-radius: 100% / 0% 0% 60% 60%;
	background-color: var(--white);
}

.ghost div:nth-of-type(4) {
	left: 60%;
}

.ghost div:nth-of-type(5) {
	height: 3vmin;
	left: 80%;
	bottom: -2.9vmin;
	border-radius: 100% / 0% 0% 70% 70%;
	background-color: var(--white);
}

/* ============================================
   TITLE SECTION
   ============================================ */
.title {
	position: absolute;
	top: 25%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	animation: fadeInUp 1s ease-out;
	width: 100%;
	text-align: center;
}

.title h1 {
	font-size: clamp(8rem, 18vw, 20vmin);
	font-weight: 900;
	font-family: "Montserrat", sans-serif;
	color: black;
	text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
	letter-spacing: 2px;
	white-space: nowrap;
	line-height: 1.1;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translate(-50%, -40%);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

/* ============================================
   CONTENT WRAPPER SECTION
   ============================================ */
.content-wrapper {
	position: absolute;
	bottom: 8%;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	max-width: 600px;
	width: 90%;
	z-index: 10;
	animation: fadeIn 1.5s ease-out;
	padding: 0 2rem;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.subtitle {
	font-size: clamp(1.2rem, 3vw, 1.8rem);
	font-weight: 600;
	color: rgba(0, 0, 0, 0.8);
	margin-bottom: 1.2rem;
	margin-top: 0;
	letter-spacing: 1px;
}

.divider {
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.5), transparent);
	margin: 1.2rem auto;
}

.description {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: rgba(0, 0, 0, 0.7);
	line-height: 1.8;
	margin-bottom: 1.5rem;
	margin-top: 0;
	font-weight: 400;
}

/* ============================================
   CTA (CALL TO ACTION) SECTION
   ============================================ */
.cta-section {
	margin-bottom: 2rem;
	margin-top: 1.5rem;
}

.cta-text {
	font-size: clamp(1rem, 2.2vw, 1.3rem);
	color: rgba(0, 0, 0, 0.8);
	line-height: 1.8;
	margin-bottom: 1.5rem;
	font-weight: 500;
	font-family: 'Poppins', sans-serif;
}

.cta-text strong {
	color: rgba(0, 0, 0, 1);
	font-weight: 700;
}

.cta-button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	background: rgba(0, 0, 0, 0.15);
	border: 2px solid rgba(0, 0, 0, 0.3);
	border-radius: 50px;
	padding: 1.1rem 2.5rem;
	color: rgba(0, 0, 0, 0.9);
	text-decoration: none;
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	font-weight: 700;
	font-family: 'Poppins', sans-serif;
	transition: all 0.3s ease;
	backdrop-filter: blur(5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.cta-button i {
	font-size: 1.1rem;
	transition: transform 0.3s ease;
}

.cta-button:hover {
	background: rgba(0, 0, 0, 0.25);
	border-color: rgba(0, 0, 0, 0.5);
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
	color: rgba(0, 0, 0, 1);
}

.cta-button:hover i {
	transform: translateX(3px);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
	margin-bottom: 1.5rem;
	margin-top: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	width: 100%;
}

.portfolio-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	background: rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(0, 0, 0, 0.2);
	border-radius: 50px;
	padding: 1rem 2rem;
	color: rgba(0, 0, 0, 0.8);
	text-decoration: none;
	font-size: clamp(0.95rem, 2vw, 1.1rem);
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
	transition: all 0.3s ease;
	backdrop-filter: blur(5px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	width: 100%;
	max-width: 400px;
	justify-content: center;
}

.portfolio-link i:first-child {
	font-size: 1.2rem;
}

.portfolio-link i:last-child {
	font-size: 0.9rem;
	opacity: 0.7;
}

.portfolio-link:hover {
	background: rgba(0, 0, 0, 0.15);
	border-color: rgba(0, 0, 0, 0.4);
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	color: rgba(0, 0, 0, 1);
}

.portfolio-link:hover i:last-child {
	opacity: 1;
	transform: translateX(3px);
}

/* Portfolio Side by Side on Larger Screens */
@media (min-width: 768px) {
	.portfolio-section {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem;
	}
	
	.portfolio-link {
		max-width: calc(50% - 0.5rem);
		min-width: 250px;
		flex: 1 1 auto;
	}
}

@media (min-width: 1024px) {
	.portfolio-link {
		min-width: 280px;
	}
}

/* ============================================
   SOCIAL LINKS SECTION
   ============================================ */
.social-links {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.social-link {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(0, 0, 0, 0.8);
	font-size: 1.2rem;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	backdrop-filter: blur(5px);
}

.social-link:hover {
	background: rgba(0, 0, 0, 0.2);
	transform: translateY(-5px) scale(1.1);
	border-color: rgba(0, 0, 0, 0.4);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   NOTIFICATION BUTTON SECTION
   ============================================ */
.notification-section {
	margin-top: 1rem;
}

.notify-btn {
	background: rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(0, 0, 0, 0.3);
	color: rgba(0, 0, 0, 0.8);
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: 'Poppins', sans-serif;
	backdrop-filter: blur(5px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.notify-btn:hover {
	background: rgba(0, 0, 0, 0.2);
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	border-color: rgba(0, 0, 0, 0.5);
}

.notify-btn:active {
	transform: translateY(-1px);
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.footer {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	color: rgba(0, 0, 0, 0.6);
	font-size: 0.85rem;
	font-weight: 300;
	z-index: 10;
	width: 100%;
	padding: 0 1rem;
}

/* ============================================
   MODAL SECTION
   ============================================ */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
	animation: fadeIn 0.3s ease;
}

.modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content {
	background: var(--white);
	background-image: url("https://www.transparenttextures.com/patterns/concrete-wall.png");
	border: 3px solid rgba(0, 0, 0, 0.3);
	border-radius: 20px;
	padding: 3rem;
	max-width: 500px;
	width: 90%;
	text-align: center;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.3s ease;
}

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

.close-modal {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	font-size: 2rem;
	color: rgba(0, 0, 0, 0.7);
	cursor: pointer;
	transition: all 0.3s ease;
	line-height: 1;
	font-weight: bold;
}

.close-modal:hover {
	color: rgba(0, 0, 0, 1);
	transform: rotate(90deg);
}

.modal-icon {
	font-size: 3rem;
	color: rgba(0, 0, 0, 0.8);
	margin-bottom: 1rem;
}

.modal-content h2 {
	color: rgba(0, 0, 0, 0.9);
	font-size: 2rem;
	margin-bottom: 1rem;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
}

.modal-content p {
	color: rgba(0, 0, 0, 0.7);
	margin-bottom: 2rem;
	font-size: 1.1rem;
}

.modal-content form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.modal-content input {
	padding: 1rem;
	border: 2px solid rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.8);
	color: rgba(0, 0, 0, 0.9);
	font-size: 1rem;
	font-family: 'Poppins', sans-serif;
	transition: all 0.3s ease;
}

.modal-content input::placeholder {
	color: rgba(0, 0, 0, 0.5);
}

.modal-content input:focus {
	outline: none;
	border-color: rgba(0, 0, 0, 0.5);
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.modal-content button {
	padding: 1rem;
	background: rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	color: rgba(0, 0, 0, 0.9);
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Poppins', sans-serif;
}

.modal-content button:hover {
	background: rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Ultra Wide Screens (2560px+) */
@media (min-width: 2560px) {
	.content-wrapper {
		max-width: 800px;
	}
	
	.title h1 {
		font-size: clamp(10rem, 20vw, 24vmin);
	}
	
	.ghost {
		width: 9vmin;
		height: 13.5vmin;
	}
}

/* 4K and Large Displays (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
	.content-wrapper {
		max-width: 700px;
	}
	
	.title h1 {
		font-size: clamp(9rem, 18vw, 22vmin);
	}
	
	.ghost {
		width: 8vmin;
		height: 12vmin;
	}
}

/* Large Desktops (1440px - 1919px) */
@media (max-width: 1919px) and (min-width: 1440px) {
	.title h1 {
		font-size: clamp(8rem, 18vw, 20vmin);
	}
	
	.content-wrapper {
		max-width: 650px;
	}
	
	.ghost {
		width: 7.5vmin;
		height: 11.25vmin;
	}
}

/* Medium Desktops and Large Tablets (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
	.title h1 {
		font-size: clamp(7.5rem, 17vw, 19vmin);
	}
	
	.content-wrapper {
		max-width: 600px;
	}
}

/* Standard Laptops (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
	.title h1 {
		font-size: clamp(7rem, 16vw, 18vmin);
	}
	
	.content-wrapper {
		max-width: 580px;
		bottom: 9%;
	}
	
	.ghost {
		width: 7vmin;
		height: 10.5vmin;
	}
}

/* iPad Pro and Large Tablets (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
	.title {
		top: 26%;
	}
	
	.title h1 {
		font-size: clamp(6rem, 15vw, 17vmin);
		white-space: normal;
		letter-spacing: 1px;
	}
	
	.content-wrapper {
		bottom: 9%;
		padding: 0 2rem;
		max-width: 550px;
	}
	
	.subtitle {
		font-size: clamp(1.1rem, 2.6vw, 1.3rem);
		margin-bottom: 1.1rem;
	}
	
	.divider {
		margin: 1.1rem auto;
	}
	
	.cta-section {
		margin-bottom: 1.4rem;
		margin-top: 1rem;
	}
	
	.cta-text {
		font-size: clamp(1rem, 2.2vw, 1.25rem);
		line-height: 1.7;
	}
	
	.portfolio-section {
		margin-bottom: 1.4rem;
		gap: 0.9rem;
	}
	
	.portfolio-link {
		padding: 1rem 2rem;
		font-size: clamp(0.95rem, 2.1vw, 1.1rem);
	}
	
	.social-links {
		gap: 1.2rem;
	}
	
	.social-link {
		width: 48px;
		height: 48px;
		font-size: 1.1rem;
	}
	
	.ghost {
		width: 6.5vmin;
		height: 9.75vmin;
		top: 26%;
	}
}

/* Standard Tablets and iPad (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
	.title {
		top: 25%;
	}
	
	.content-wrapper {
		bottom: 10%;
	}
	
	.ghost {
		top: 25%;
	}
}

/* Tablets */
@media (max-width: 768px) {
	.title {
		top: 24%;
	}
	
	.title h1 {
		font-size: clamp(5rem, 14vw, 16vmin);
		white-space: normal;
		letter-spacing: 1px;
	}

	.content-wrapper {
		bottom: 10%;
		padding: 0 1.5rem;
		max-width: 550px;
	}
	
	.subtitle {
		font-size: clamp(1rem, 2.5vw, 1.2rem);
		margin-bottom: 1rem;
		margin-top: 0;
	}
	
	.divider {
		margin: 1rem auto;
	}
	
	.cta-section {
		margin-bottom: 1.3rem;
		margin-top: 0.9rem;
	}
	
	.cta-text {
		font-size: clamp(0.95rem, 2.1vw, 1.2rem);
		margin-bottom: 0;
		line-height: 1.7;
	}
	
	.portfolio-section {
		margin-bottom: 1.3rem;
		margin-top: 0;
		gap: 0.9rem;
	}
	
	.portfolio-link {
		padding: 0.9rem 1.8rem;
		font-size: clamp(0.9rem, 2vw, 1.05rem);
		gap: 0.6rem;
	}
	
	.portfolio-link i:first-child {
		font-size: 1.1rem;
	}
	
	.social-links {
		gap: 1rem;
		margin-bottom: 0;
	}
	
	.social-link {
		width: 45px;
		height: 45px;
		font-size: 1rem;
	}
	
	.modal-content {
		padding: 2rem;
	}
	
	.footer {
		font-size: clamp(0.7rem, 1.8vw, 0.85rem);
		bottom: 0.75rem;
	}
	
	.ghost {
		width: 6vmin;
		height: 9vmin;
		top: 24%;
	}
}

/* iPad Mini and Small Tablets (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) {
	.title {
		top: 23%;
	}
	
	.title h1 {
		font-size: clamp(4.5rem, 13vw, 15vmin);
		letter-spacing: 0.8px;
	}
	
	.content-wrapper {
		bottom: 10%;
		padding: 0 1.5rem;
		max-width: 100%;
	}
	
	.subtitle {
		font-size: clamp(1.05rem, 2.4vw, 1.2rem);
		margin-bottom: 0.95rem;
	}
	
	.divider {
		margin: 0.95rem auto;
	}
	
	.cta-section {
		margin-bottom: 1.25rem;
		margin-top: 0.85rem;
	}
	
	.cta-text {
		font-size: clamp(0.95rem, 2.05vw, 1.15rem);
		line-height: 1.65;
	}
	
	.portfolio-section {
		margin-bottom: 1.15rem;
		gap: 0.85rem;
	}
	
	.portfolio-link {
		padding: 0.9rem 1.7rem;
		font-size: clamp(0.9rem, 1.98vw, 1.08rem);
	}
	
	.social-links {
		gap: 0.9rem;
	}
	
	.ghost {
		width: 6vmin;
		height: 9vmin;
		top: 23%;
	}
}

/* Small Tablets and Large Phones */
@media (max-width: 600px) {
	.title {
		top: 22%;
	}
	
	.title h1 {
		font-size: clamp(4rem, 12vw, 14vmin);
		letter-spacing: 0.5px;
	}
	
	.content-wrapper {
		bottom: 10%;
		padding: 0 1.2rem;
		max-width: 100%;
	}
	
	.subtitle {
		font-size: clamp(1rem, 2.3vw, 1.15rem);
		margin-bottom: 0.9rem;
		margin-top: 0;
	}
	
	.divider {
		margin: 0.9rem auto;
	}
	
	.cta-section {
		margin-bottom: 1.2rem;
		margin-top: 0.8rem;
	}
	
	.cta-text {
		font-size: clamp(0.9rem, 2vw, 1.1rem);
		line-height: 1.6;
		margin-bottom: 0;
	}
	
	.portfolio-section {
		margin-bottom: 1.1rem;
		margin-top: 0;
		gap: 0.8rem;
	}
	
	.portfolio-link {
		padding: 0.85rem 1.6rem;
		font-size: clamp(0.88rem, 1.95vw, 1.03rem);
	}
	
	.social-links {
		margin-bottom: 0;
	}
	
	.ghost {
		width: 5.5vmin;
		height: 8.25vmin;
		top: 22%;
	}
}

/* iPhone 14 Pro Max, 13 Pro Max, Samsung Galaxy S21 Ultra (428px) */
@media (max-width: 428px) and (min-width: 390px) {
	.title {
		top: 21%;
	}
	
	.title h1 {
		font-size: clamp(3.8rem, 10.5vw, 12.5vmin);
	}
	
	.content-wrapper {
		bottom: 11%;
	}
	
	.ghost {
		top: 21%;
		width: 5.2vmin;
		height: 7.8vmin;
	}
}

/* iPhone 14, 13, 12 Pro (390px - 427px) */
@media (max-width: 427px) and (min-width: 390px) {
	.title {
		top: 20.5%;
	}
	
	.title h1 {
		font-size: clamp(3.6rem, 10.2vw, 12.2vmin);
	}
	
	.content-wrapper {
		bottom: 11.5%;
	}
	
	.ghost {
		top: 20.5%;
		width: 5.1vmin;
		height: 7.65vmin;
	}
}

/* iPhone 12, 11, XR, Samsung Galaxy S21 (375px - 389px) */
@media (max-width: 389px) and (min-width: 375px) {
	.title {
		top: 20%;
	}
	
	.title h1 {
		font-size: clamp(3.5rem, 10vw, 12vmin);
	}
	
	.content-wrapper {
		bottom: 12%;
	}
	
	.ghost {
		top: 20%;
		width: 5vmin;
		height: 7.5vmin;
	}
}

/* Mobile Phones */
@media (max-width: 480px) {
	.title {
		top: 20%;
	}
	
	.title h1 {
		font-size: clamp(3.5rem, 10vw, 12vmin);
		line-height: 1.1;
		letter-spacing: 0.5px;
	}

	.content-wrapper {
		bottom: 12%;
		padding: 0 1rem;
		max-width: 100%;
	}
	
	.subtitle {
		font-size: clamp(0.95rem, 2.2vw, 1.1rem);
		margin-bottom: 0.8rem;
		margin-top: 0;
	}
	
	.divider {
		margin: 0.8rem auto;
		width: 70px;
	}
	
	.cta-section {
		margin-bottom: 1rem;
		margin-top: 0.6rem;
	}
	
	.cta-text {
		font-size: clamp(0.9rem, 2vw, 1.1rem);
		margin-bottom: 0;
		line-height: 1.5;
	}
	
	.portfolio-section {
		margin-bottom: 1rem;
		margin-top: 0;
		gap: 0.8rem;
	}
	
	.portfolio-link {
		padding: 0.8rem 1.5rem;
		font-size: clamp(0.85rem, 1.9vw, 1rem);
		gap: 0.5rem;
	}
	
	.portfolio-link i:first-child {
		font-size: 1rem;
	}
	
	.portfolio-link i:last-child {
		font-size: 0.8rem;
	}
	
	.social-links {
		gap: 0.8rem;
		margin-bottom: 0;
		margin-top: 0;
	}
	
	.social-link {
		width: 42px;
		height: 42px;
		font-size: 0.95rem;
	}
	
	.modal-content {
		padding: 1.5rem;
	}
	
	.modal-content h2 {
		font-size: clamp(1.3rem, 4vw, 1.5rem);
	}
	
	.modal-content p {
		font-size: clamp(0.95rem, 2.2vw, 1.05rem);
	}
	
	.footer {
		font-size: clamp(0.65rem, 1.6vw, 0.75rem);
		bottom: 0.5rem;
		padding: 0 0.5rem;
	}
	
	.ghost {
		width: 5vmin;
		height: 7.5vmin;
		top: 20%;
	}
}

/* Very Small Phones */
@media (max-width: 360px) {
	.title {
		top: 18%;
	}
	
	.title h1 {
		font-size: clamp(3rem, 9vw, 10vmin);
		letter-spacing: 0.3px;
	}
	
	.content-wrapper {
		bottom: 10%;
		padding: 0 0.8rem;
	}
	
	.subtitle {
		font-size: clamp(0.9rem, 2.1vw, 1.05rem);
		margin-bottom: 0.7rem;
		margin-top: 0;
	}
	
	.divider {
		margin: 0.7rem auto;
		width: 70px;
	}
	
	.cta-section {
		margin-bottom: 0.9rem;
		margin-top: 0.5rem;
	}
	
	.cta-text {
		font-size: clamp(0.8rem, 1.7vw, 0.95rem);
		line-height: 1.4;
		margin-bottom: 0;
	}
	
	.portfolio-section {
		margin-bottom: 0.9rem;
		margin-top: 0;
		gap: 0.7rem;
	}
	
	.portfolio-link {
		padding: 0.7rem 1.3rem;
		font-size: clamp(0.8rem, 1.8vw, 0.95rem);
		gap: 0.4rem;
	}
	
	.portfolio-link i:first-child {
		font-size: 0.95rem;
	}
	
	.portfolio-link i:last-child {
		font-size: 0.75rem;
	}
	
	.social-links {
		margin-bottom: 0;
		gap: 0.7rem;
	}
	
	.social-link {
		width: 38px;
		height: 38px;
		font-size: 0.85rem;
	}
	
	.footer {
		font-size: clamp(0.6rem, 1.5vw, 0.7rem);
		bottom: 0.3rem;
	}
	
	.ghost {
		width: 4.5vmin;
		height: 6.75vmin;
		top: 18%;
	}
}

/* iPad Landscape (1024px - 1366px landscape) */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
	.title {
		top: 22%;
	}
	
	.title h1 {
		font-size: clamp(6.5rem, 14vh, 16vmin);
	}
	
	.content-wrapper {
		bottom: 8%;
		max-width: 700px;
	}
	
	.ghost {
		top: 22%;
		width: 7vmin;
		height: 10.5vmin;
	}
}

/* Tablet Landscape (768px - 1023px landscape) */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
	.title {
		top: 18%;
	}
	
	.title h1 {
		font-size: clamp(5.5rem, 12vh, 14vmin);
	}
	
	.content-wrapper {
		bottom: 5%;
		max-width: 650px;
	}
	
	.subtitle {
		margin-bottom: 0.7rem;
	}
	
	.divider {
		margin: 0.7rem auto;
	}
	
	.cta-section {
		margin-bottom: 0.8rem;
		margin-top: 0.5rem;
	}
	
	.portfolio-section {
		margin-bottom: 0.8rem;
		gap: 0.7rem;
	}
	
	.ghost {
		top: 18%;
		width: 6vmin;
		height: 9vmin;
	}
}

/* Mobile Landscape (480px - 767px landscape) */
@media (min-width: 480px) and (max-width: 767px) and (orientation: landscape) {
	.title {
		top: 15%;
	}
	
	.title h1 {
		font-size: clamp(4rem, 10vh, 12vmin);
	}
	
	.content-wrapper {
		bottom: 4%;
		padding: 0 1.5rem;
	}
	
	.subtitle {
		margin-bottom: 0.6rem;
		font-size: clamp(0.95rem, 2.1vw, 1.1rem);
	}
	
	.divider {
		margin: 0.6rem auto;
	}
	
	.cta-section {
		margin-bottom: 0.7rem;
		margin-top: 0.4rem;
	}
	
	.cta-text {
		font-size: clamp(0.85rem, 1.9vw, 1rem);
		line-height: 1.4;
	}
	
	.portfolio-section {
		margin-bottom: 0.7rem;
		gap: 0.6rem;
	}
	
	.portfolio-link {
		padding: 0.75rem 1.4rem;
		font-size: clamp(0.8rem, 1.8vw, 0.95rem);
	}
	
	.social-links {
		margin-bottom: 0;
		gap: 0.7rem;
	}
	
	.ghost {
		top: 15%;
		width: 5vmin;
		height: 7.5vmin;
	}
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
	.title {
		top: 20%;
	}
	
	.title h1 {
		font-size: clamp(4rem, 10vh, 12vmin);
	}
	
	.content-wrapper {
		bottom: 3%;
	}
	
	.subtitle {
		margin-bottom: 0.8rem;
		font-size: clamp(0.9rem, 2.2vw, 1.1rem);
	}
	
	.description {
		margin-bottom: 0.8rem;
		font-size: clamp(0.85rem, 1.8vw, 1rem);
	}
	
	.cta-section {
		margin-bottom: 0.7rem;
		margin-top: 0.5rem;
	}
	
	.cta-text {
		font-size: clamp(0.75rem, 1.5vw, 0.85rem);
		margin-bottom: 0;
		line-height: 1.4;
	}
	
	.portfolio-section {
		margin-bottom: 0.7rem;
		gap: 0.6rem;
	}
	
	.portfolio-link {
		padding: 0.65rem 1.2rem;
		font-size: clamp(0.75rem, 1.5vw, 0.85rem);
	}
	
	.social-links {
		margin-bottom: 0.7rem;
	}
	
	.footer {
		bottom: 0.25rem;
		font-size: clamp(0.6rem, 1.4vw, 0.7rem);
	}
	
	.ghost {
		width: 5vmin;
		height: 7.5vmin;
	}
}

/* iPhone SE, Small Android Phones (320px - 374px) */
@media (max-width: 374px) and (min-width: 320px) {
	.title {
		top: 17%;
	}
	
	.title h1 {
		font-size: clamp(3rem, 9vw, 10.5vmin);
		letter-spacing: 0.2px;
	}
	
	.content-wrapper {
		bottom: 9%;
		padding: 0 0.7rem;
	}
	
	.subtitle {
		font-size: clamp(0.88rem, 2vw, 1.03rem);
		margin-bottom: 0.65rem;
	}
	
	.divider {
		margin: 0.65rem auto;
		width: 65px;
	}
	
	.cta-section {
		margin-bottom: 0.85rem;
		margin-top: 0.45rem;
	}
	
	.cta-text {
		font-size: clamp(0.78rem, 1.75vw, 0.93rem);
		line-height: 1.35;
	}
	
	.portfolio-section {
		margin-bottom: 0.85rem;
		gap: 0.65rem;
	}
	
	.portfolio-link {
		padding: 0.65rem 1.15rem;
		font-size: clamp(0.75rem, 1.7vw, 0.9rem);
	}
	
	.social-links {
		gap: 0.65rem;
	}
	
	.social-link {
		width: 37px;
		height: 37px;
		font-size: 0.82rem;
	}
	
	.ghost {
		top: 17%;
		width: 4.2vmin;
		height: 6.3vmin;
	}
}

/* Extra Small Phones */
@media (max-width: 320px) {
	.title {
		top: 16%;
	}
	
	.title h1 {
		font-size: clamp(2.5rem, 8vw, 9vmin);
		letter-spacing: 0;
	}
	
	.content-wrapper {
		bottom: 8%;
		padding: 0 0.6rem;
	}
	
	.subtitle {
		font-size: clamp(0.85rem, 2vw, 1rem);
		margin-bottom: 0.6rem;
		margin-top: 0;
	}
	
	.divider {
		margin: 0.6rem auto;
		width: 60px;
	}
	
	.cta-section {
		margin-bottom: 0.8rem;
		margin-top: 0.4rem;
	}
	
	.cta-text {
		font-size: clamp(0.7rem, 1.4vw, 0.8rem);
		line-height: 1.3;
		margin-bottom: 0;
	}
	
	.portfolio-section {
		margin-bottom: 0.8rem;
		margin-top: 0;
		gap: 0.6rem;
	}
	
	.portfolio-link {
		padding: 0.6rem 1rem;
		font-size: clamp(0.7rem, 1.4vw, 0.8rem);
	}
	
	.social-links {
		margin-bottom: 0;
	}
	
	.social-link {
		width: 36px;
		height: 36px;
		font-size: 0.8rem;
	}
	
	.footer {
		font-size: clamp(0.55rem, 1.2vw, 0.65rem);
		bottom: 0.2rem;
	}
	
	.ghost {
		width: 4vmin;
		height: 6vmin;
		top: 16%;
	}
}
